FKIE_CVE-2026-99717

Vulnerability from fkie_nvd - Published: 2026-11-20 06:18 - Updated: 2026-11-23 08:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/q54sj108a2) Add missing NULL pointer check When CONFIG_DEBUG_FS is enabled and per-client PMBus debugfs directory creation fails during pmbus_do_probe(), q54sj108a2_probe() passes the NULL pointer returned by pmbus_get_debugfs_dir() to debugfs_create_dir() without validation, creating its debugfs directory at the debugfs root instead of under the client directory. If pmbus_init_debugfs() fails to create the client directory, data->debugfs is left as NULL or an ERR_PTR, which pmbus_get_debugfs_dir() converts to NULL. Passing a NULL parent to debugfs_create_dir() places q54sj108a2_dir in the root of the debugfs filesystem and populates it with attribute files whose private data pointers reference psu->debugfs_entries. Because this root-level directory is outside the client debugfs hierarchy, PMBus core cleanup does not remove it on device unbind, leaking the debugfs entries and causing a use-after-free of the devm-allocated struct q54sj108a2_data if the orphaned files are accessed via q54sj108a2_debugfs_read() or q54sj108a2_debugfs_write() after device removal. Fix the problem by adding the missing NULL pointer check.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/hwmon/pmbus/q54sj108a2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "267006b770dc1ff8fb72eb1eec1c8181b14e62c1",
              "status": "affected",
              "version": "d014538aa38561cd24c5eb228223585f26c5ec71",
              "versionType": "git"
            },
            {
              "lessThan": "b85efc7a47f07cae2437b2b40b52a693d3224079",
              "status": "affected",
              "version": "d014538aa38561cd24c5eb228223585f26c5ec71",
              "versionType": "git"
            },
            {
              "lessThan": "d61429651e0c498cb7bb6b4d8e7e8f188a2ac19b",
              "status": "affected",
              "version": "d014538aa38561cd24c5eb228223585f26c5ec71",
              "versionType": "git"
            },
            {
              "lessThan": "d221b9a6e2328f52c8a3136276efbb1df9272650",
              "status": "affected",
              "version": "d014538aa38561cd24c5eb228223585f26c5ec71",
              "versionType": "git"
            },
            {
              "lessThan": "e051c87d9333b10a93fb50d6a46ab63ec64e4c98",
              "status": "affected",
              "version": "d014538aa38561cd24c5eb228223585f26c5ec71",
              "versionType": "git"
            },
            {
              "lessThan": "73b425e6df23db056873eecce70c3f06db06ca16",
              "status": "affected",
              "version": "d014538aa38561cd24c5eb228223585f26c5ec71",
              "versionType": "git"
            },
            {
              "lessThan": "a5802c587da97a4ff85c04aad6043fa26640fc9b",
              "status": "affected",
              "version": "d014538aa38561cd24c5eb228223585f26c5ec71",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hwmon/pmbus/q54sj108a2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.11"
            },
            {
              "lessThan": "5.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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-\u003edebugfs\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-\u003edebugfs_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."
    }
  ],
  "id": "CVE-2026-99717",
  "lastModified": "2026-11-23T08:18:12.340",
  "metrics": {},
  "published": "2026-11-20T06:18:08.180",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/267006b770dc1ff8fb72eb1eec1c8181b14e62c1"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/73b425e6df23db056873eecce70c3f06db06ca16"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/a5802c587da97a4ff85c04aad6043fa26640fc9b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/b85efc7a47f07cae2437b2b40b52a693d3224079"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/d221b9a6e2328f52c8a3136276efbb1df9272650"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/d61429651e0c498cb7bb6b4d8e7e8f188a2ac19b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/e051c87d9333b10a93fb50d6a46ab63ec64e4c98"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…