{"id":"CVE-2026-97967","summary":"hwmon: (corsair-cpro) Remove debugfs entries when probe fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (corsair-cpro) Remove debugfs entries when probe fails\n\nccp_debugfs_init() registers debugfs files whose private data is the devm\nallocated ccp.  If hwmon_device_register_with_info() fails right after it,\nccp_probe() returns without removing them: the HID core then frees ccp,\nand ccp_remove() is not called for a failed probe, so the files stay\nbehind.  Reading one of them dereferences the freed pointer.\n\nRemove the debugfs entries on that error path.  debugfs_remove_recursive()\nwaits for readers already inside the show callbacks, so ccp is no longer\nreachable through debugfs by the time probe returns.","modified":"2026-09-26T03:48:42.470692615Z","published":"2026-09-25T10:23:09.140Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97967.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4ee875c423c66c45d7ef7bbff403cd0e3971e0a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a5de53b08cc319dadce6fb68d33749ea37962952"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae01aafd8214e48cb7eff11e92dfbf3778d52d9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fdc1bc23ff59ee308042342cefcb918d6efba409"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97967.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97967"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5997eb60f896830126bc1783465b678b110e2fdd"},{"fixed":"ae01aafd8214e48cb7eff11e92dfbf3778d52d9d"},{"fixed":"a5de53b08cc319dadce6fb68d33749ea37962952"},{"fixed":"fdc1bc23ff59ee308042342cefcb918d6efba409"},{"fixed":"4ee875c423c66c45d7ef7bbff403cd0e3971e0a2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97967.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97967.json"}}],"schema_version":"1.9.0"}