PT-2024-5403
CVE-2024-36977
·
Published
2024-05-10
·
Updated
2026-08-04
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.37
Description
The issue is related to a race condition in the
dwc3 stop active transfer() function, which can lead to SMMU faults. This occurs when an IN request is queued and soft disconnect is called, causing stop active transfer to be called with IOC cleared. As a result, send gadget ep cmd() skips waiting for CMDACT to be cleared during EndXfer, leading to potential faults. The vulnerability is associated with controller IP/revisions except DWC3 usb3 >= 310a, which supports the GUCTL2[14: Rst actbitlater] bit for polling CMDACT.Recommendations
To resolve the issue, update the Linux kernel to version 6.6.37 or later. As a temporary workaround, consider adding a 1ms delay in the
dwc3 stop active transfer() function to ensure ENDXFER completion. Found an issue in the description? Have something to add? Feel free to write us 👾