PT-2026-64675 · Linux · Linux
CVE-2026-64454
·
Published
2026-07-25
·
Updated
2026-07-25
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: run gadget disconnect from sleepable suspend context
dwc3 gadget suspend() takes dwc->lock with IRQs disabled and then calls
dwc3 disconnect gadget(). For async callbacks that helper only uses
plain spin unlock()/spin lock(), so the gadget ->disconnect() callback
still runs with IRQs disabled and any sleepable callback trips Lockdep.
This issue was found by our static analysis tool and then manually
reviewed against the current tree.
The grounded PoC kept the dwc3 gadget suspend() ->
dwc3 disconnect gadget() -> gadget driver->disconnect() chain, and
Lockdep reported:
BUG: sleeping function called from invalid context
gadget disconnect+0x21/0x39 [vuln msv]
dwc3 gadget suspend.constprop.0+0x2b/0x42 [vuln msv]
Keep the disconnect callback selection in one common helper, but add a
sleepable suspend-side wrapper which snapshots the callback under
dwc->lock and then runs it after spin unlock irqrestore(). The regular
event path still uses the existing spin unlock()/spin lock() window.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux