{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99717","id":"CVE-2026-99717","title":"Linux kernel debugfs directory misplacement in q54sj108a2 probe","description":"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 d","descriptionLong":"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.","published":"2026-11-20T05:50:55.349Z","updated":"2026-11-20T05:50:55.349Z","reserved":"2026-09-25T10:25:14.430Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"d221b9a6e2328f52c8a3136276efbb1df9272650","status":"affected","versionType":"git"},{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"e051c87d9333b10a93fb50d6a46ab63ec64e4c98","status":"affected","versionType":"git"},{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"73b425e6df23db056873eecce70c3f06db06ca16","status":"affected","versionType":"git"},{"version":"d014538aa38561cd24c5eb228223585f26c5ec71","lessThan":"a5802c587da97a4ff85c04aad6043fa26640fc9b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","lessThan":"5.11","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d221b9a6e2328f52c8a3136276efbb1df9272650","tags":[]},{"url":"https://git.kernel.org/stable/c/e051c87d9333b10a93fb50d6a46ab63ec64e4c98","tags":[]},{"url":"https://git.kernel.org/stable/c/73b425e6df23db056873eecce70c3f06db06ca16","tags":[]},{"url":"https://git.kernel.org/stable/c/a5802c587da97a4ff85c04aad6043fa26640fc9b","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99717","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99717","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99717","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99717","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}