{"id":"CVE-2026-64329","aliases":["CVE-2026-64329"],"related":[],"kind":"vulnerability","state":"published","title":"usb: typec: ucsi: ccg: Fix use-after-free of ucsi on remove","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: ccg: Fix use-after-free of ucsi on remove\n\nThe threaded IRQ handler ccg_irq_handler() calls ucsi_notify_common(),\nwhich on a connector-change event calls ucsi_connector_change() and\nschedules connector work.  In ucsi_ccg_remove(), ucsi_destroy() frees\nuc->ucsi (kfree) before free_irq() is called, so a handler invocation\nalready in flight may access the freed object after ucsi_destroy().\n\n  CPU 0 (remove)            | CPU 1 (threaded IRQ)\n    ucsi_destroy(uc->ucsi)  |   ccg_irq_handler()\n      kfree(ucsi) // FREE   |     ucsi_notify_common(uc->ucsi) // USE\n\nMove free_irq() before ucsi_destroy() in the remove path.  It is kept\nafter ucsi_unregister(): ucsi_unregister() cancels connector work whose\nhandler issues GET_CONNECTOR_STATUS through ucsi_send_command_common(),\nwhich waits for a completion that is signalled from the IRQ handler, so\nthe IRQ must stay active until that work has been cancelled.\n\nThe probe error path already orders free_irq() before ucsi_destroy().\n\nThis bug was found by static analysis.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: ccg: Fix use-after-free of ucsi on remove\n\nThe threaded IRQ handler ccg_irq_handler() calls ucsi_notify_common(),\nwhich on a connector-change event calls ucsi_connector_change() and\nschedules connector work.  In ucsi_ccg_remove(), ucsi_destroy() frees\nuc->ucsi (kfree) before free_irq() is called, so a handler invocation\nalready in flight may access the freed object after ucsi_destroy().\n\n  CPU 0 (remove)            | CPU 1 (threaded IRQ)\n    ucsi_destroy(uc->ucsi)  |   ccg_irq_handler()\n      kfree(ucsi) // FREE   |     ucsi_notify_common(uc->ucsi) // USE\n\nMove free_irq() before ucsi_destroy() in the remove path.  It is kept\nafter ucsi_unregister(): ucsi_unregister() cancels connector work whose\nhandler issues GET_CONNECTOR_STATUS through ucsi_send_command_common(),\nwhich waits for a completion that is signalled from the IRQ handler, so\nthe IRQ must stay active until that work has been cancelled.\n\nThe probe error path already orders free_irq() before ucsi_destroy().\n\nThis bug was found by static analysis.","source":"cvelist"}],"published":"2026-07-25T08:49:57.098Z","modified":"2026-11-06T17:18:48.137Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2","fixed":"f1adeb1ff8bef1467d6961059810795d02bbad5d","status":"affected"},{"type":"git","introduced":"e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2","fixed":"99381e762273a2410a3f0216000be32b013c0ea9","status":"affected"},{"type":"git","introduced":"e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2","fixed":"1a160076d3d0dcd4a98a4599ad96eec0790b099b","status":"affected"},{"type":"git","introduced":"e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2","fixed":"c32df11147822d22facee8fa30c2e8971d12f426","status":"affected"},{"type":"git","introduced":"e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2","fixed":"86c9ee928c4a370e323e432aaf8dca79c4ba7c85","status":"affected"},{"type":"git","introduced":"e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2","fixed":"f5c772b76bbd95de8be51cf849c6098f6af6fcf9","status":"affected"},{"type":"git","introduced":"e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2","fixed":"dbb500bad02146b388041877574829016591ddc8","status":"affected"},{"type":"git","introduced":"e32fd989ac1c45f993fbe89ad0a89aa9ea6993d2","fixed":"1f0bdc2884b67de337215079bba166df0cdf4ac5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.5","fixed":"5.10.261"},{"status":"affected","introduced":"5.11","fixed":"5.15.212"},{"status":"affected","introduced":"5.16","fixed":"6.1.178"},{"status":"affected","introduced":"6.2","fixed":"6.6.145"},{"status":"affected","introduced":"6.7","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f1adeb1ff8bef1467d6961059810795d02bbad5d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99381e762273a2410a3f0216000be32b013c0ea9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a160076d3d0dcd4a98a4599ad96eec0790b099b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c32df11147822d22facee8fa30c2e8971d12f426","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86c9ee928c4a370e323e432aaf8dca79c4ba7c85","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f5c772b76bbd95de8be51cf849c6098f6af6fcf9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dbb500bad02146b388041877574829016591ddc8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f0bdc2884b67de337215079bba166df0cdf4ac5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:35:12.425Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64329","url":"https://www.cve.org/CVERecord?id=CVE-2026-64329","licence":"CVE Terms of Use","modified":"2026-11-06T16:44:45.598Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64329","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64329","licence":"Public domain","modified":"2026-11-06T17:18:48.137Z"}],"updatedAt":"2026-11-25T22:59:30.070Z","epss":{"score":0.00126,"percentile":0.02476,"date":"2026-12-01T12:00:22.000Z"}}