CVE-2026-97967

hwmon: (corsair-cpro) Remove debugfs entries when probe fails

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (corsair-cpro) Remove debugfs entries when probe fails

ccp_debugfs_init() registers debugfs files whose private data is the devm allocated ccp. If hwmon_device_register_with_info() fails right after it, ccp_probe() returns without removing them: the HID core then frees ccp, and ccp_remove() is not called for a failed probe, so the files stay behind. Reading one of them dereferences the freed pointer.

Remove the debugfs entries on that error path. debugfs_remove_recursive() waits for readers already inside the show callbacks, so ccp is no longer reachable through debugfs by the time probe returns.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5997eb60f896830126bc1783465b678b110e2fdd to before ae01aafd8214e48cb7eff11e92dfbf3778d52d9dAffected
  • 5997eb60f896830126bc1783465b678b110e2fdd to before a5de53b08cc319dadce6fb68d33749ea37962952Affected
  • 5997eb60f896830126bc1783465b678b110e2fdd to before fdc1bc23ff59ee308042342cefcb918d6efba409Affected
  • 5997eb60f896830126bc1783465b678b110e2fdd to before 4ee875c423c66c45d7ef7bbff403cd0e3971e0a2Affected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 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.