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.
Published: 2026-09-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Use‑after‑free leading to kernel memory corruption and possible code execution
Action: Immediate Patch
AI Analysis

Impact

The legacy Corsair CPro hardware monitor driver in the Linux kernel improperly registers debugfs files during probe. If the device registration fails, the driver fails to remove the debugfs entries, leaving dangling pointers that can be dereferenced when the file is read. This results in a use‑after‑free condition in kernel memory, which can cause a crash or provide an avenue for arbitrary kernel code execution.

Affected Systems

All Linux kernel installations that include the Corsair CPro hardware monitor driver are affected. The exact kernel version range is not specified, but any kernel built with the hwmon:corsair-cpro driver before the patch contains the flaw.

Risk and Exploitability

The bug introduces a high‑severity use‑after‑free vulnerability in the kernel, but the CVSS and EPSS metrics are not publicly available. It is listed as not in CISA KEV, indicating it may not have known exploits yet. However, exploitation would require local access with sufficient privileges to read the offending debugfs file (typically root). The failure to clean up debugfs entries allows a locally privileged attacker to trigger the dangling pointer, potentially leading to a kernel crash or execution of arbitrary code.

Generated by OpenCVE AI on September 25, 2026 at 14:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the fix for the Corsair CPro hwmon driver, which removes stale debugfs entries on probe failure.
  • If an update is not available, unload or prevent loading of the corsair_cpro module so that the insecure debugfs entries are never created.
  • Restrict or unmount /sys/kernel/debug if the kernel cannot be patched, limiting the ability to access the vulnerable debugfs files.

Generated by OpenCVE AI on September 25, 2026 at 14:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title hwmon: (corsair-cpro) Remove debugfs entries when probe fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T10:23:09.140Z

Reserved: 2026-09-25T10:18:58.206Z

Link: CVE-2026-97967

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:24.523

Modified: 2026-09-25T11:17:24.523

Link: CVE-2026-97967

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T14:45:18Z

Weaknesses