CVE
CVE-2026-64329
CNA 原文 · 原文(英文)
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.
受影响版本
- 7.2-rc2仅此版本
- 7.2-rc1仅此版本
- ≥ 6.19, < 7.1.4修复版本 7.1.4
- ≥ 6.13, < 6.18.39修复版本 6.18.39
- ≥ 6.7, < 6.12.96修复版本 6.12.96
- ≥ 6.2, < 6.6.145修复版本 6.6.145
- ≥ 5.16, < 6.1.178修复版本 6.1.178
- ≥ 5.11, < 5.15.212修复版本 5.15.212
- ≥ 5.5, < 5.10.261修复版本 5.10.261
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/1a160076d3d0dcd4a98a4599ad96eec0790b099b · Patch
- git.kernel.org/stable/c/1f0bdc2884b67de337215079bba166df0cdf4ac5 · Patch
- git.kernel.org/stable/c/86c9ee928c4a370e323e432aaf8dca79c4ba7c85 · Patch
- git.kernel.org/stable/c/99381e762273a2410a3f0216000be32b013c0ea9 · Patch
- git.kernel.org/stable/c/c32df11147822d22facee8fa30c2e8971d12f426 · Patch
- git.kernel.org/stable/c/dbb500bad02146b388041877574829016591ddc8 · Patch
- git.kernel.org/stable/c/f1adeb1ff8bef1467d6961059810795d02bbad5d · Patch
- git.kernel.org/stable/c/f5c772b76bbd95de8be51cf849c6098f6af6fcf9 · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。