usb: dwc3: core: Prevent USB core invalid event buffer address access
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 111277b881def3153335acfe0d1f43e6cd83ac93, Kernel 14e497183df28c006603cc67fd3797a537eef7b9, Kernel 2189fd13c577d7881f94affc09c950a795064c4b and 5 more.
In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: core: Prevent USB core invalid event buffer address access This commit addresses an issue where the USB core could access an invalid event buffer address during runtime suspend, potentially causing SMMU faults and other memory issues in Exynos platforms. The problem arises from the following sequence. 1. In dwc3_gadget_suspend, there is a chance of a timeout when moving the USB core to the halt state after clearing the run/stop bit by software. 2. In dwc3_core_exit, the event buffer is cleared regardless of the USB core's status, which may lead to an SMMU faults and other memory issues. if the USB core tries to access the event buffer address. To prevent this hardware quirk on Exynos platforms, this commit ensures that the event buffer address is not cleared by software when the USB core is active during runtime suspend by checking its status before clearing the buffer address.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.8, >=9f8a67b65a49d0e35c6ca782136c84541d948a64 <111277b881def3153335acfe0d1f43e6cd83ac93, >=9f8a67b65a49d0e35c6ca782136c84541d948a64 <14e497183df28c006603cc67fd3797a537eef7b9, >=9f8a67b65a49d0e35c6ca782136c84541d948a64 <2189fd13c577d7881f94affc09c950a795064c4b, >=9f8a67b65a49d0e35c6ca782136c84541d948a64 <7bb11a75dd4d3612378b90e2a4aa49bdccea28ab, >=9f8a67b65a49d0e35c6ca782136c84541d948a64 <b72da4d89b97da71e056cc4d1429b2bc426a9c2f, >=9f8a67b65a49d0e35c6ca782136c84541d948a64 <d2afc2bffec77316b90d530b07695e3f534df914, >=9f8a67b65a49d0e35c6ca782136c84541d948a64 <e23f6ad8d110bf632f7471482e10b43dc174fb72, >=9f8a67b65a49d0e35c6ca782136c84541d948a64 <eca3f543f817da87c00d1a5697b473efb548204f | 111277b881def3153335acfe0d1f43e6cd83ac93, 14e497183df28c006603cc67fd3797a537eef7b9, 2189fd13c577d7881f94affc09c950a795064c4b, 7bb11a75dd4d3612378b90e2a4aa49bdccea28ab, b72da4d89b97da71e056cc4d1429b2bc426a9c2f, d2afc2bffec77316b90d530b07695e3f534df914, e23f6ad8d110bf632f7471482e10b43dc174fb72, eca3f543f817da87c00d1a5697b473efb548204f |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket