Missing NULL pointer check in Linux kernel PMBus q54sj108a2 driver
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel from 5.11 contains a missing NULL pointer check in the hwmon PMBus q54sj108a2 driver. When creating its debugfs directory fails, the driver passes a NULL parent to debugfs_create_dir(), which places its files at the debugfs root, outside the cleanup path on device unbind. The leftover entries can cause a use-after-free of the driver's data after device removal.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The Linux kernel fixes this in 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5 and 7.4-rc2.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-20 Threatist record created from CVE-2026-99717
- 2026-11-20 Alias added: GHSA-7gwc-v56p-6jcp
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-23 Fix available: Linux/Linux@267006b770dc1ff8fb72eb1eec1c8181b14e62c1, Linux/[email protected], Linux/[email protected] +3 · CNA
- 2026-11-23 3 new references · CNA
References
Other 7
- 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
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99717 · CVE Program
- CVE-2026-99717 · NVD
- FIRST EPSS
- GHSA-7gwc-v56p-6jcp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99717 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences