# CVE-2026-99717: hwmon: (pmbus/q54sj108a2) Add missing NULL pointer check

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-20T05:50:55.349Z
- Modified: 2026-11-23T08:18:12.340Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from d014538aa38561cd24c5eb228223585f26c5ec71 before 267006b770dc1ff8fb72eb1eec1c8181b14e62c1; from d014538aa38561cd24c5eb228223585f26c5ec71 before b85efc7a47f07cae2437b2b40b52a693d3224079; from d014538aa38561cd24c5eb228223585f26c5ec71 before d61429651e0c498cb7bb6b4d8e7e8f188a2ac19b; from d014538aa38561cd24c5eb228223585f26c5ec71 before d221b9a6e2328f52c8a3136276efbb1df9272650; from d014538aa38561cd24c5eb228223585f26c5ec71 before e051c87d9333b10a93fb50d6a46ab63ec64e4c98; from d014538aa38561cd24c5eb228223585f26c5ec71 before 73b425e6df23db056873eecce70c3f06db06ca16; from d014538aa38561cd24c5eb228223585f26c5ec71 before a5802c587da97a4ff85c04aad6043fa26640fc9b; 5.11 (not affected: before 5.11; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/267006b770dc1ff8fb72eb1eec1c8181b14e62c1>
- <https://git.kernel.org/stable/c/b85efc7a47f07cae2437b2b40b52a693d3224079>
- <https://git.kernel.org/stable/c/d61429651e0c498cb7bb6b4d8e7e8f188a2ac19b>
- <https://git.kernel.org/stable/c/d221b9a6e2328f52c8a3136276efbb1df9272650>
- <https://git.kernel.org/stable/c/e051c87d9333b10a93fb50d6a46ab63ec64e4c98>
- <https://git.kernel.org/stable/c/73b425e6df23db056873eecce70c3f06db06ca16>
- <https://git.kernel.org/stable/c/a5802c587da97a4ff85c04aad6043fa26640fc9b>

## Sources

- CVE List: [CVE-2026-99717](https://www.cve.org/CVERecord?id=CVE-2026-99717), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99717](https://nvd.nist.gov/vuln/detail/CVE-2026-99717), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99717 · Whole record: https://cve.day/CVE-2026-99717.json · Rebuilt by cve.day 2026-11-25T22:59:52.319Z
