CVE-2026-99717

hwmon: (pmbus/q54sj108a2) Add missing NULL pointer check

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d014538aa38561cd24c5eb228223585f26c5ec71 to before d221b9a6e2328f52c8a3136276efbb1df9272650Affected
  • d014538aa38561cd24c5eb228223585f26c5ec71 to before e051c87d9333b10a93fb50d6a46ab63ec64e4c98Affected
  • d014538aa38561cd24c5eb228223585f26c5ec71 to before 73b425e6df23db056873eecce70c3f06db06ca16Affected
  • d014538aa38561cd24c5eb228223585f26c5ec71 to before a5802c587da97a4ff85c04aad6043fa26640fc9bAffected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.