CVE-2024-26932: usb: typec: tcpm: fix double-free issue in tcpm_port_unregister_pd()

Published May 1, 2024
·
Updated

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

usb: typec: tcpm: fix double-free issue in tcpmportunregisterpd()

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 pdcapabilitiesrelease() and the second time is explicitly kfreed by tcpmportunregisterpd().

[ 3.988059] BUG: KASAN: double-free in tcpmportunregisterpd+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: eventsunbound deferredprobeworkfunc [ 4.023456] Call trace: [ 4.025920] dumpbacktrace+0x94/0xec [ 4.029629] showstack+0x18/0x24 [ 4.032974] dumpstacklvl+0x78/0x90 [ 4.036675] printreport+0xfc/0x5c0 [ 4.040289] kasanreportinvalidfree+0xa0/0xc0 [ 4.044937] kasanslabfree+0x124/0x154 [ 4.049072] kfree+0xb4/0x1e8 [ 4.052069] tcpmportunregisterpd+0x1a4/0x3dc [ 4.056725] tcpmregisterport+0x1dd0/0x2558 [ 4.061121] tcpciregisterport+0x420/0x71c [ 4.065430] tcpciprobe+0x118/0x2e0

To fix the issue, this will remove kree() from tcpmportunregisterpd().

Affected Software

3 affected componentsFixes available
Linux Linux kernel>6.8<6.8.3
Linux Linux kernel=6.9-rc1
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

May 1, 2024
CVE Published
via MITRE·05:17 AM
Data Sourced
via MITRE·05:17 AM
Description
Jun 8, 2024
Data Sourced
via Launchpad·01:10 AM
Description
Dec 5, 2024
Data Sourced
via Ubuntu·04:48 AM
RemedyDescriptionSeverityAffected Software
Apr 20, 2025
Data Sourced
via Debian·02:20 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26932?

The severity of CVE-2024-26932 has not been explicitly stated, but it involves a double-free vulnerability in the Linux kernel that could lead to potential exploitation.

2

How do I fix CVE-2024-26932?

To fix CVE-2024-26932, users should upgrade to a patched version of the Linux kernel, such as 6.8.3 or higher.

3

What versions of the Linux kernel are affected by CVE-2024-26932?

CVE-2024-26932 affects Linux kernel versions between 6.8 and 6.9-rc1.

4

Is CVE-2024-26932 a critical vulnerability?

CVE-2024-26932 may be considered critical due to the potential for double-free errors that can compromise system stability and security.

5

What systems are primarily at risk for CVE-2024-26932?

Systems running vulnerable versions of the Linux kernel, particularly Debian-based distributions, are primarily at risk for CVE-2024-26932.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203