{"id":"CVE-2026-99717","aliases":[],"title":"hwmon: (pmbus/q54sj108a2) Add missing NULL pointer check","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00173,"percentile":0.07028},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=5.11.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"vendor","name":"Linux","range":">=d014538aa38561cd24c5eb228223585f26c5ec71, <267006b770dc1ff8fb72eb1eec1c8181b14e62c1","fixed":"267006b770dc1ff8fb72eb1eec1c8181b14e62c1"},{"ecosystem":"vendor","name":"Linux","range":">=d014538aa38561cd24c5eb228223585f26c5ec71, <73b425e6df23db056873eecce70c3f06db06ca16","fixed":"73b425e6df23db056873eecce70c3f06db06ca16"},{"ecosystem":"vendor","name":"Linux","range":">=d014538aa38561cd24c5eb228223585f26c5ec71, <a5802c587da97a4ff85c04aad6043fa26640fc9b","fixed":"a5802c587da97a4ff85c04aad6043fa26640fc9b"},{"ecosystem":"vendor","name":"Linux","range":">=d014538aa38561cd24c5eb228223585f26c5ec71, <b85efc7a47f07cae2437b2b40b52a693d3224079","fixed":"b85efc7a47f07cae2437b2b40b52a693d3224079"},{"ecosystem":"vendor","name":"Linux","range":">=d014538aa38561cd24c5eb228223585f26c5ec71, <d221b9a6e2328f52c8a3136276efbb1df9272650","fixed":"d221b9a6e2328f52c8a3136276efbb1df9272650"},{"ecosystem":"vendor","name":"Linux","range":">=d014538aa38561cd24c5eb228223585f26c5ec71, <d61429651e0c498cb7bb6b4d8e7e8f188a2ac19b","fixed":"d61429651e0c498cb7bb6b4d8e7e8f188a2ac19b"},{"ecosystem":"vendor","name":"Linux","range":">=d014538aa38561cd24c5eb228223585f26c5ec71, <e051c87d9333b10a93fb50d6a46ab63ec64e4c98","fixed":"e051c87d9333b10a93fb50d6a46ab63ec64e4c98"}],"references":[{"url":"https://git.kernel.org/stable/c/d221b9a6e2328f52c8a3136276efbb1df9272650","type":"other"},{"url":"https://git.kernel.org/stable/c/e051c87d9333b10a93fb50d6a46ab63ec64e4c98","type":"other"},{"url":"https://git.kernel.org/stable/c/73b425e6df23db056873eecce70c3f06db06ca16","type":"other"},{"url":"https://git.kernel.org/stable/c/a5802c587da97a4ff85c04aad6043fa26640fc9b","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99717.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99717","type":"advisory"},{"url":"https://git.kernel.org/stable/c/267006b770dc1ff8fb72eb1eec1c8181b14e62c1","type":"other"},{"url":"https://git.kernel.org/stable/c/b85efc7a47f07cae2437b2b40b52a693d3224079","type":"other"},{"url":"https://git.kernel.org/stable/c/d61429651e0c498cb7bb6b4d8e7e8f188a2ac19b","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.573Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99717","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.241Z"},{"name":"osv","at":"2026-11-20T07:37:08.773Z","url":"https://osv.dev/vulnerability/CVE-2026-99717","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:05.126Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:58.933Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99717","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:15.665Z"}],"firstSeenAt":"2026-11-20T06:28:15.665Z","publishedAt":"2026-11-20T05:50:55.349Z","modifiedAt":"2026-11-23T08:18:12.340Z"}