CVE-2026-64329

usb: typec: ucsi: ccg: Fix use-after-free of ucsi on remove

HIGH
7.8
CVSS Score
Published: July 25, 2026 at 08:49 AM UTC
Updated: September 4, 2026 at 03:36 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: ccg: Fix use-after-free of ucsi on remove The threaded IRQ handler ccg_irq_handler() calls ucsi_notify_common(), which on a connector-change event calls ucsi_connector_change() and schedules connector work. In ucsi_ccg_remove(), ucsi_destroy() frees uc->ucsi (kfree) before free_irq() is called, so a handler invocation already in flight may access the freed object after ucsi_destroy(). CPU 0 (remove) | CPU 1 (threaded IRQ) ucsi_destroy(uc->ucsi) | ccg_irq_handler() kfree(ucsi) // FREE | ucsi_notify_common(uc->ucsi) // USE Move free_irq() before ucsi_destroy() in the remove path. It is kept after ucsi_unregister(): ucsi_unregister() cancels connector work whose handler issues GET_CONNECTOR_STATUS through ucsi_send_command_common(), which waits for a completion that is signalled from the IRQ handler, so the IRQ must stay active until that work has been cancelled. The probe error path already orders free_irq() before ucsi_destroy(). This bug was found by static analysis.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.2125.16 ≤ v < 6.1.1785.5 ≤ v < 5.10.2615.5 ≤ v < 5.15.2125.5 ≤ v < 6.1.1785.5 ≤ v < 6.12.965.5 ≤ v < 6.18.395.5 ≤ v < 6.6.1455.5 ≤ v < 7.1.45.5 ≤ v < 7.26.13 ≤ v < 6.18.396.19 ≤ v < 7.1.46.2 ≤ v < 6.6.1456.7 ≤ v < 6.12.967.2 rc17.2 rc2e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2
Vendor states this is fixed in 1a160076d3d0dcd4a98a4599ad96eec0790b099b (fixed)
Vendor states this is fixed in 1f0bdc2884b67de337215079bba166df0cdf4ac5 (fixed)
Vendor states this is fixed in 86c9ee928c4a370e323e432aaf8dca79c4ba7c85 (fixed)
Vendor states this is fixed in 99381e762273a2410a3f0216000be32b013c0ea9 (fixed)
Vendor states this is fixed in c32df11147822d22facee8fa30c2e8971d12f426 (fixed)
Vendor states this is fixed in dbb500bad02146b388041877574829016591ddc8 (fixed)
Vendor states this is fixed in f1adeb1ff8bef1467d6961059810795d02bbad5d (fixed)
Vendor states this is fixed in f5c772b76bbd95de8be51cf849c6098f6af6fcf9 (fixed)
Vendor states this is fixed in 5.10.261 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.96 (unaffected)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.4 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card