CVE-2026-142980: usb: dwc3: gadget: Track a timed out End Transfer
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: gadget: Track a timed out End Transfer
If an End Transfer command with CMDIOC times out, the driver clears the resource index but keeps DWC3EPTRANSFERSTARTED without setting DWC3EPENDTRANSFERPENDING. The command is still outstanding, but a later stop issues another End Transfer with resource index 0, and the next Start Transfer fails with "No Resource".
Mark the timed out End Transfer as pending so that no other command is issued to the endpoint until it completes. For any other failure, there is no outstanding command, so clear DWC3EPTRANSFERSTARTED.
Affected Software
Event History
Frequently Asked Questions
What sequence is required for the failure to occur?
An End Transfer command with CMDIOC must time out while a transfer is active. A later stop can then issue another End Transfer using resource index 0, after which the next Start Transfer can fail.
How can an affected system be recognized?
The described observable symptom is a subsequent Start Transfer failure reporting "No Resource" following a timed-out End Transfer command.
What does the resolved change do?
It marks a timed-out End Transfer as pending, preventing further commands from being issued to that endpoint until the outstanding command completes. For other End Transfer failures, it clears the transfer-started state because no command remains outstanding.