CVE-2024-36977 Details
Description
In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: Wait unconditionally after issuing EndXfer command Currently all controller IP/revisions except DWC3_usb3 >= 310a wait 1ms unconditionally for ENDXFER completion when IOC is not set. This is because DWC_usb3 controller revisions >= 3.10a supports GUCTL2[14: Rst_actbitlater] bit which allows polling CMDACT bit to know whether ENDXFER command is completed. Consider a case where an IN request was queued, and parallelly soft_disconnect was called (due to ffs_epfile_release). This eventually calls stop_active_transfer with IOC cleared, hence send_gadget_ep_cmd() skips waiting for CMDACT cleared during EndXfer. For DWC3 controllers with revisions >= 310a, we don't forcefully wait for 1ms either, and we proceed by unmapping the requests. If ENDXFER didn't complete by this time, it leads to SMMU faults since the controller would still be accessing those requests. Fix this by ensuring ENDXFER completion by adding 1ms delay in __dwc3_stop_active_transfer() unconditionally.
A vulnerability exists in the Linux kernel's handling of the EndXfer command for DWC3 USB controllers with revisions 3.10a and later. When the EndXfer command is issued without the Interrupt On Complete (IOC) flag set, the controller does not wait the required 1 millisecond for the command to complete before unmapping data requests. This can lead to SMMU faults, as the controller may still be accessing the unmapped requests. The issue arises because DWC3 revisions 3.10a and later can use a polling mechanism to check if the EndXfer command has been completed, allowing the controller to skip the mandatory wait time. The vulnerability has been addressed by modifying the transfer handling to include the necessary delay, ensuring that the EndXfer command is properly completed before proceeding.
Users can upgrade to the patched version of the Linux kernel, which includes the necessary delay to ensure proper handling of the EndXfer command. Instructions for downloading the latest kernel version can be found on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 24, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.1, < 6.1.92 >= 6.2, < 6.6.32 >= 6.7, < 6.8.11 >= 6.9, < 6.9.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 1, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Nov 1, 2024 | CVE Modified | CISA-ADP |
| Jun 18, 2024 | New CVE Received | kernel.org |