# CVE-2026-64329: usb: typec: ucsi: ccg: Fix use-after-free of ucsi on remove

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-25T08:49:57.098Z
- Modified: 2026-11-06T17:18:48.137Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2 before f1adeb1ff8bef1467d6961059810795d02bbad5d; from e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2 before 99381e762273a2410a3f0216000be32b013c0ea9; from e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2 before 1a160076d3d0dcd4a98a4599ad96eec0790b099b; from e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2 before c32df11147822d22facee8fa30c2e8971d12f426; from e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2 before 86c9ee928c4a370e323e432aaf8dca79c4ba7c85; from e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2 before f5c772b76bbd95de8be51cf849c6098f6af6fcf9; from e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2 before dbb500bad02146b388041877574829016591ddc8; from e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2 before 1f0bdc2884b67de337215079bba166df0cdf4ac5; 5.5 (not affected: before 5.5; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.5 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 7.2

## References

- <https://git.kernel.org/stable/c/f1adeb1ff8bef1467d6961059810795d02bbad5d> (patch)
- <https://git.kernel.org/stable/c/99381e762273a2410a3f0216000be32b013c0ea9> (patch)
- <https://git.kernel.org/stable/c/1a160076d3d0dcd4a98a4599ad96eec0790b099b> (patch)
- <https://git.kernel.org/stable/c/c32df11147822d22facee8fa30c2e8971d12f426> (patch)
- <https://git.kernel.org/stable/c/86c9ee928c4a370e323e432aaf8dca79c4ba7c85> (patch)
- <https://git.kernel.org/stable/c/f5c772b76bbd95de8be51cf849c6098f6af6fcf9> (patch)
- <https://git.kernel.org/stable/c/dbb500bad02146b388041877574829016591ddc8> (patch)
- <https://git.kernel.org/stable/c/1f0bdc2884b67de337215079bba166df0cdf4ac5> (patch)

## Sources

- CVE List: [CVE-2026-64329](https://www.cve.org/CVERecord?id=CVE-2026-64329), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-64329](https://nvd.nist.gov/vuln/detail/CVE-2026-64329), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-64329 · Whole record: https://cve.day/CVE-2026-64329.json · Rebuilt by cve.day 2026-11-25T22:59:30.070Z
