{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99717",
  "modified": "2026-11-24T05:30:02Z",
  "upstream": [
    "CVE-2026-99717"
  ],
  "published": "2026-11-20T05:52:17Z",
  "summary": "hwmon: (pmbus/q54sj108a2) Add missing NULL pointer check",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus/q54sj108a2) Add missing NULL pointer check\n\nWhen CONFIG_DEBUG_FS is enabled and per-client PMBus debugfs directory\ncreation fails during pmbus_do_probe(), q54sj108a2_probe() passes the NULL\npointer returned by pmbus_get_debugfs_dir() to debugfs_create_dir()\nwithout validation, creating its debugfs directory at the debugfs root\ninstead of under the client directory.\n\nIf pmbus_init_debugfs() fails to create the client directory, data->debugfs\nis left as NULL or an ERR_PTR, which pmbus_get_debugfs_dir() converts to\nNULL. Passing a NULL parent to debugfs_create_dir() places q54sj108a2_dir\nin the root of the debugfs filesystem and populates it with attribute files\nwhose private data pointers reference psu->debugfs_entries. Because this\nroot-level directory is outside the client debugfs hierarchy, PMBus core\ncleanup does not remove it on device unbind, leaking the debugfs entries\nand causing a use-after-free of the devm-allocated struct q54sj108a2_data\nif the orphaned files are accessed via q54sj108a2_debugfs_read() or\nq54sj108a2_debugfs_write() after device removal.\n\nFix the problem by adding the missing NULL pointer check.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.193",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-99717"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/267006b770dc1ff8fb72eb1eec1c8181b14e62c1"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b85efc7a47f07cae2437b2b40b52a693d3224079"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d61429651e0c498cb7bb6b4d8e7e8f188a2ac19b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d221b9a6e2328f52c8a3136276efbb1df9272650"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e051c87d9333b10a93fb50d6a46ab63ec64e4c98"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/73b425e6df23db056873eecce70c3f06db06ca16"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a5802c587da97a4ff85c04aad6043fa26640fc9b"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-23T08:12:11Z"
  }
}
