AZL-117866: CVE-2026-142982 affecting package kernel 6.6.161.1-1
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 Linux kernel DWC3 gadget driver, clear DWC3_EP_ENABLED before giving back requests and reject requests queued to a disabled endpoint.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems using the Linux kernel DWC3 USB gadget driver may be exposed when a function driver can queue requests to a USB endpoint while that endpoint is being disabled.
What does an attacker or triggering condition need to exploit the flaw?
The issue requires a request to be queued during the interval after the endpoint-disable path releases its lock to return existing requests but before the DWC3_EP_ENABLED state is cleared. This can cause a transfer to start on hardware that has already disabled the endpoint.
How can I determine whether the fix is present?
The corrected behavior clears DWC3_EP_ENABLED before returning outstanding requests and rejects requests queued to endpoints that are not enabled. Review the kernel source or vendor patch status for those changes in the DWC3 gadget driver.