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

Not scored Published Updated

A use-after-free vulnerability in the Linux kernel corsair-cpro driver allows local attackers to cause a system crash or potentially execute code via debugfs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-97967?

CVE-2026-97967 is an use after free vulnerability in Linux, published on 25 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-97967?

How do I fix CVE-2026-97967?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-97967 being exploited?

There is no known exploitation of CVE-2026-97967 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-97967, DEBIAN-CVE-2026-97967, GHSA-w2f2-2vf7-7q6m, UBUNTU-CVE-2026-97967.

Is CVE-2026-97967 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free