CVE-2026-142981: usb: dwc3: gadget: Reset endpoint flags on controller start
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: gadget: Reset endpoint flags on controller start
The flags of a disabled endpoint may be preserved while its End Transfer command is pending. If the command never completes, the stale flags persist across a soft disconnect or an error recovery, and the endpoint can't be used again.
Reset the flags of all non-control endpoints when starting the controller.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Reset the flags of all non-control endpoints when starting the DWC3 gadget controller.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems using the Linux kernel's DWC3 USB gadget driver are affected when a non-control endpoint is disabled while its End Transfer command is pending and that command does not complete.
What is the practical impact?
Stale endpoint flags can survive a soft disconnect or error recovery, leaving the affected non-control endpoint unusable after the controller restarts.
Is this issue limited to a particular recovery scenario?
The stale flags persist specifically across a soft disconnect or error recovery when the pending End Transfer command never completes. The fix resets flags for all non-control endpoints when the controller starts.