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… (CVE-2026-64329)
A use-after-free vulnerability in the Linux kernel's USB Type-C UCSI CCG driver was resolved by reordering resource cleanup calls during device removal. The issue involved the IRQ handler potentially accessing freed memory due to improper ordering of free_irq() and kfree() calls. This bug was identified through static analysis and fixed by moving free_irq() before the memory free operation in the remove path.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's usb: typec: ucsi: ccg driver arises because the threaded IRQ handler ccg_irq_handler() can invoke ucsi_notify_common(), which accesses uc->ucsi after it has been freed by ucsi_destroy() during device removal. Specifically, ucsi_destroy() calls kfree() on uc->ucsi before free_irq() is called, allowing a concurrent IRQ handler invocation to use freed memory, causing a use-after-free condition. The fix involves moving free_irq() to occur before ucsi_destroy() in the removal sequence, ensuring the IRQ handler cannot run after the memory is freed. The probe error path already had the correct ordering. This vulnerability was discovered by static analysis.
Potential Impact
The use-after-free condition could lead to kernel memory corruption or system instability if the IRQ handler accesses freed memory. While no known exploits are reported, such vulnerabilities can potentially be leveraged for privilege escalation or denial of service in the kernel context.
Mitigation Recommendations
A fix is available that reorders the free_irq() and kfree() calls in the device removal path of the Linux kernel usb: typec: ucsi: ccg driver. Users should apply the official Linux kernel updates that include this fix. Since this is a kernel-level issue, updating to a patched kernel version is the recommended remediation.
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… (CVE-2026-64329)
Description
A use-after-free vulnerability in the Linux kernel's USB Type-C UCSI CCG driver was resolved by reordering resource cleanup calls during device removal. The issue involved the IRQ handler potentially accessing freed memory due to improper ordering of free_irq() and kfree() calls. This bug was identified through static analysis and fixed by moving free_irq() before the memory free operation in the remove path.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's usb: typec: ucsi: ccg driver arises because the threaded IRQ handler ccg_irq_handler() can invoke ucsi_notify_common(), which accesses uc->ucsi after it has been freed by ucsi_destroy() during device removal. Specifically, ucsi_destroy() calls kfree() on uc->ucsi before free_irq() is called, allowing a concurrent IRQ handler invocation to use freed memory, causing a use-after-free condition. The fix involves moving free_irq() to occur before ucsi_destroy() in the removal sequence, ensuring the IRQ handler cannot run after the memory is freed. The probe error path already had the correct ordering. This vulnerability was discovered by static analysis.
Potential Impact
The use-after-free condition could lead to kernel memory corruption or system instability if the IRQ handler accesses freed memory. While no known exploits are reported, such vulnerabilities can potentially be leveraged for privilege escalation or denial of service in the kernel context.
Mitigation Recommendations
A fix is available that reorders the free_irq() and kfree() calls in the device removal path of the Linux kernel usb: typec: ucsi: ccg driver. Users should apply the official Linux kernel updates that include this fix. Since this is a kernel-level issue, updating to a patched kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-x9xh-344g-4qc3
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64329"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420c9c2644c7f8085676
Added to database: 07/25/2026, 23:09:00 UTC
Last enriched: 07/25/2026, 23:33:48 UTC
Last updated: 07/26/2026, 03:54:47 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.