CVE-2026-142982: usb: dwc3: gadget: Reject requests to a disabled endpoint
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: gadget: Reject requests to a disabled endpoint
dwc3gadgetepdisable() releases the lock while giving back requests, and DWC3EPENABLED is only cleared afterward. A function driver can queue a new request in this window, and the driver would start a transfer on an endpoint that is already disabled in hardware.
Clear DWC3EPENABLED before giving back the requests, and reject requests queued to an endpoint that is not enabled.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the DWC3 gadget driver, clear DWC3_EP_ENABLED before giving back requests, and reject requests queued to a disabled endpoint.
Event History
Frequently Asked Questions
How can I verify whether the fix is present in my kernel source?
Check whether your kernel includes one of the referenced stable commits: dbcecbb247d43bfcc9c3e1833879270a9145391c, 4841f7eecd4fd3cc3e2018932515bfecbc977c2b, or 538d83fcd3c1914c04b54b4c9e381d6b3c7a93c5.