usb: mtu3: unmap request DMA on queue failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f3c4026524d3660c73ef2838b99776d37631e039, Kernel 00c3fef4c2dc2c7cbd8281f8fda09d1913420f09, Kernel 0bddda5a11665c210339de76d27ebbd1a2e0b43c and 12 more.
In the Linux kernel, the following vulnerability has been resolved: usb: mtu3: unmap request DMA on queue failure mtu3_gadget_queue() maps the request before checking whether the QMU GPD ring can accept another transfer. the request is returned with -EAGAIN before it is linked on the endpoint request list if mtu3_prepare_transfer() fails. Normal completion and dequeue paths unmap requests from mtu3_req_complete(), but this error path never reaches that helper, so the DMA mapping is left active. Unmap the request before returning from the failed queue path.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=df2069acb00569a6299d6e11aa1865eeba463848 <f3c4026524d3660c73ef2838b99776d37631e039, >=df2069acb00569a6299d6e11aa1865eeba463848 <00c3fef4c2dc2c7cbd8281f8fda09d1913420f09, >=df2069acb00569a6299d6e11aa1865eeba463848 <0bddda5a11665c210339de76d27ebbd1a2e0b43c, >=df2069acb00569a6299d6e11aa1865eeba463848 <3cee30f1138281a1d247bb053a1ad4f7c5b04e98, >=df2069acb00569a6299d6e11aa1865eeba463848 <4183874b7925f4a98b400cf857bea26ee87da236, >=df2069acb00569a6299d6e11aa1865eeba463848 <835b0596d4c9bdef93f842d8f826978fb4956b74, >=df2069acb00569a6299d6e11aa1865eeba463848 <8c29d9cfab1c3cf0d0b7fcdf9255597be30aa3e1, >=df2069acb00569a6299d6e11aa1865eeba463848 <e8f739a3860d043dcc135371637e82f53132efe5, =4.10 | f3c4026524d3660c73ef2838b99776d37631e039, 00c3fef4c2dc2c7cbd8281f8fda09d1913420f09, 0bddda5a11665c210339de76d27ebbd1a2e0b43c, 3cee30f1138281a1d247bb053a1ad4f7c5b04e98, 4183874b7925f4a98b400cf857bea26ee87da236, 835b0596d4c9bdef93f842d8f826978fb4956b74, 8c29d9cfab1c3cf0d0b7fcdf9255597be30aa3e1, e8f739a3860d043dcc135371637e82f53132efe5 |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.39, >=6.19.0 <7.1.4, >=6.2.0 <6.6.145, >=6.7.0 <6.12.96, >=4.10.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.39, 7.1.4, 6.6.145, 6.12.96, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket