In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: gadget: Reject requests to a disabled endpoint __dwc3_gadget_ep_disable() releases the lock while giving back requests, and DWC3_EP_ENABLED 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 DWC3_EP_ENABLED before giving back the requests, and reject requests queued to an endpoint that is not enabled.
https://git.kernel.org/stable/c/dbcecbb247d43bfcc9c3e1833879270a9145391c
https://git.kernel.org/stable/c/5eb11b1647b0534b3a61a21473d77ebf4ffbed7c
https://git.kernel.org/stable/c/538d83fcd3c1914c04b54b4c9e381d6b3c7a93c5
https://git.kernel.org/stable/c/4841f7eecd4fd3cc3e2018932515bfecbc977c2b