In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: run gadget disconnect from sleepable suspend context… (CVE-2026-64454)
A vulnerability in the Linux kernel's USB dwc3 driver was resolved involving improper context handling during gadget disconnect in suspend operations. The issue caused a sleeping function to be called from an invalid context, which could trigger kernel lock dependency (Lockdep) warnings. The fix involved restructuring the disconnect callback to run in a sleepable suspend context, preventing improper locking behavior.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's dwc3 USB driver arises from dwc3_gadget_suspend() taking a lock with IRQs disabled and then calling dwc3_disconnect_gadget(). The disconnect callback runs with IRQs disabled and uses spin_lock/unlock primitives that are not sleepable, causing Lockdep to report a sleeping function called from an invalid context. The fix introduced a sleepable suspend-side wrapper that snapshots the disconnect callback under lock and runs it after releasing the lock with IRQs restored, ensuring the callback executes in a proper context.
Potential Impact
This issue can cause kernel lock dependency violations and potentially lead to kernel instability or crashes due to improper locking and sleeping in invalid contexts during USB gadget suspend operations. There is no indication of direct exploitation or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been applied to the Linux kernel to address this issue by modifying the disconnect callback handling in the dwc3 USB driver. Users should update to the fixed kernel version once available. Patch status is not yet confirmed in the provided data; check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: run gadget disconnect from sleepable suspend context… (CVE-2026-64454)
Description
A vulnerability in the Linux kernel's USB dwc3 driver was resolved involving improper context handling during gadget disconnect in suspend operations. The issue caused a sleeping function to be called from an invalid context, which could trigger kernel lock dependency (Lockdep) warnings. The fix involved restructuring the disconnect callback to run in a sleepable suspend context, preventing improper locking behavior.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's dwc3 USB driver arises from dwc3_gadget_suspend() taking a lock with IRQs disabled and then calling dwc3_disconnect_gadget(). The disconnect callback runs with IRQs disabled and uses spin_lock/unlock primitives that are not sleepable, causing Lockdep to report a sleeping function called from an invalid context. The fix introduced a sleepable suspend-side wrapper that snapshots the disconnect callback under lock and runs it after releasing the lock with IRQs restored, ensuring the callback executes in a proper context.
Potential Impact
This issue can cause kernel lock dependency violations and potentially lead to kernel instability or crashes due to improper locking and sleeping in invalid contexts during USB gadget suspend operations. There is no indication of direct exploitation or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been applied to the Linux kernel to address this issue by modifying the disconnect callback handling in the dwc3 USB driver. Users should update to the fixed kernel version once available. Patch status is not yet confirmed in the provided data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-c564-jfpf-wjrh
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64454"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6542089c2644c7f8082fa8
Added to database: 07/25/2026, 23:08:56 UTC
Last enriched: 07/25/2026, 23:20:32 UTC
Last updated: 07/26/2026, 04:31:56 UTC
Views: 3
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.