CVE-2026-97968

hwmon: (corsair-cpro) Create debugfs entries after hwmon registration

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) Create debugfs entries after hwmon registration

ccp_debugfs_init() registers debugfs files whose private data is the devm allocated ccp. It runs before hwmon_device_register_with_info(), so when that registration fails, ccp_probe() returns with the files still in place. The HID core then frees ccp, and ccp_remove() is not called for a failed probe, so nothing removes them later either. Reading one of the files dereferences the freed pointer.

Create the debugfs entries only after the hwmon device has been registered, so no failing path can leave them behind.

The two version queries stay where they are. They send USB commands without holding ccp->mutex, which is only safe as long as nothing else can call send_usb_cmd(); once the hwmon device is registered its callbacks can do so concurrently. Only the debugfs creation moves, and it is told which queries succeeded.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5997eb60f896830126bc1783465b678b110e2fdd to before 6c5d333216a937044acd3336e9ec7e30ff2eaee4Affected
  • 5997eb60f896830126bc1783465b678b110e2fdd to before a58a966a440071bb877ef62535d1016952f83101Affected
  • 5997eb60f896830126bc1783465b678b110e2fdd to before fdfe17cb865715aad30328678344eb79889207abAffected
  • 5997eb60f896830126bc1783465b678b110e2fdd to before 508baf1713f32f287bfb4f85d759403ec8ba35a3Affected
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.