# CVE-2024-26932: usb: typec: tcpm: fix double-free issue in tcpm\_port\_unregister\_pd()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2024-05-01T05:17:19.129Z
- **Modified:** 2026-06-17T07:18:43.437Z

## Who should check

- Anyone running Linux \>= cd099cde4ed264403b434d8344994f97ac2a4349, \< 242e425ed580b2f4dbcb86c8fc03a410a4084a69; \>= cd099cde4ed264403b434d8344994f97ac2a4349, \< b63f90487bdf93a4223ce7853d14717e9d452856
- Anyone running Linux 6.8

## Description

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().

## Affected and fixed versions

- Linux: \>= cd099cde4ed264403b434d8344994f97ac2a4349, \< 242e425ed580b2f4dbcb86c8fc03a410a4084a69; \>= cd099cde4ed264403b434d8344994f97ac2a4349, \< b63f90487bdf93a4223ce7853d14717e9d452856 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26932. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26932.md
Affected: Linux >= cd099cde4ed264403b434d8344994f97ac2a4349, < 242e425ed580b2f4dbcb86c8fc03a410a4084a69; >= cd099cde4ed264403b434d8344994f97ac2a4349, < b63f90487bdf93a4223ce7853d14717e9d452856; Linux 6.8
Fixed in: Linux 242e425ed580b2f4dbcb86c8fc03a410a4084a69

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26932 being exploited?

There is no confirmed exploitation: CVE-2024-26932 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26932?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26932?

Linux \>= cd099cde4ed264403b434d8344994f97ac2a4349, \< 242e425ed580b2f4dbcb86c8fc03a410a4084a69; \>= cd099cde4ed264403b434d8344994f97ac2a4349, \< b63f90487bdf93a4223ce7853d14717e9d452856; Linux 6.8.

### Is there a fix for CVE-2024-26932?

Yes. Fixed in Linux 242e425ed580b2f4dbcb86c8fc03a410a4084a69. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26932?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/242e425ed580b2f4dbcb86c8fc03a410a4084a69>
- patch: <https://git.kernel.org/stable/c/b63f90487bdf93a4223ce7853d14717e9d452856>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26932>

HTML: <https://flawdb.com/CVE-2024-26932> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26932>
