CVE-2024-26932·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: fix double-free issue in tcpm_port_unregister_pd() When unregister pd capabilitie in tcpm, KASAN will capture below double -free issue. The root cause is the same capabilitiy will be kfreed twice, the first time is kfreed by pd_capabilities_release() and the second time is explicitly kfreed by tcpm_port_unregister_pd(). [ 3.988059] BUG: KASAN: double-free in tcpm_port_unregister_pd+0x1a4/0x3dc [ 3.995001] Free of addr ffff0008164d3000 by task kworker/u16:0/10 [ 4.001206] [ 4.002712] CPU: 2 PID: 10 Comm: kworker/u16:0 Not tainted 6.8.0-rc5-next-20240220-05616-g52728c567a55 #53 [ 4.012402] Hardware name: Freescale i.MX8QXP MEK (DT) [ 4.017569] Workqueue: events_unbound deferred_probe_work_func [ 4.023456] Call trace: [ 4.025920] dump_backtrace+0x94/0xec [ 4.029629] show_stack+0x18/0x24 [ 4.032974] dump_stack_lvl+0x78/0x90 [ 4.036675] print_report+0xfc/0x5c0 [ 4.040289] kasan_report_invalid_free+0xa0/0xc0 [ 4.044937] __kasan_slab_free+0x124/0x154 [ 4.049072] kfree+0xb4/0x1e8 [ 4.052069] tcpm_port_unregister_pd+0x1a4/0x3dc [ 4.056725] tcpm_register_port+0x1dd0/0x2558 [ 4.061121] tcpci_register_port+0x420/0x71c [ 4.065430] tcpci_probe+0x118/0x2e0 To fix the issue, this will remove kree() from tcpm_port_unregister_pd().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 4% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2024-26932 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.8
Until: 6.8.3
Fixed in: 6.8.3
How to fix this CVE
Update your Linux kernel to version 6.8.3 or later to resolve a critical double-free vulnerability in the USB Type-C Power Delivery capability management code. This flaw can cause kernel memory corruption when the Type-C port manager unregisters PD capabilities. Apply the patch immediately, especially on systems with USB Type-C controllers active.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (should be 6.8.3 or higher)
- Verify USB Type-C subsystem is active: lsmod | grep typec (presence indicates potential exposure)
- Search kernel logs for double-free errors: dmesg | grep -i 'double-free\|tcpm_port_unregister\|kasan'
- Confirm patch application: grep -i 'tcpm_port_unregister_pd' /boot/config-$(uname -r) and verify kfree calls were removed from the function
FAQ
What is CVE-2024-26932?
CVE-2024-26932 is a double-free memory corruption vulnerability in the Linux kernel's USB Type-C Power Delivery management subsystem. When PD capabilities are unregistered, the same memory block is freed twice—once by the release handler and again explicitly by the cleanup function—leading to kernel memory corruption and potential system instability.
Is CVE-2024-26932 being actively exploited?
No, CVE-2024-26932 is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, it remains a high-severity issue that should be patched promptly.
What versions of Kernel are affected by CVE-2024-26932?
Linux kernel versions 6.8 through 6.8.2 are affected. Version 6.8.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-26932?
Run 'uname -r' to get your kernel version. If it shows 6.8.x where x is less than 3, your system is vulnerable. Also check if USB Type-C support is enabled: 'grep CONFIG_TYPEC /boot/config-$(uname -r)'.
Does Defensia detect CVE-2024-26932?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-26932 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-26932. Free for 1 server.
Get started free