Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-36977

published high CVSS 3.1 · 7.8

usb: dwc3: Wait unconditionally after issuing EndXfer command

Published
18 Jun 2024, 19:27:58 UTC
Updated
05 Aug 2026, 11:32:26 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb353eb6dc285a0775a447f53e5b2a50bf3f9684f to < 341eb08dbca9eae05308c442fbfab1813a44c97a · b353eb6dc285a0775a447f53e5b2a50bf3f9684f to < ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c · b353eb6dc285a0775a447f53e5b2a50bf3f9684f to < 4a387e032909c6dc2b479452c5bbe9a252057925 · b353eb6dc285a0775a447f53e5b2a50bf3f9684f to < 1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5 · b353eb6dc285a0775a447f53e5b2a50bf3f9684f to < 1d26ba0944d398f88aaf997bda3544646cf21945 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.92 through 6.1.* (unaffected · semver) · 6.6.32 through 6.6.* (unaffected · semver) · 6.8.11 through 6.8.* (unaffected · semver) · 6.9.2 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rtlaaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rvaarch64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 rvx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.4.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-503.11.1.el9_5 RHSA-2024:9315

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

14

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The documented trigger is a local userspace operation — `ffs_epfile_release()` on a FunctionFS endpoint file racing an in-flight IN request — which reaches `dwc3_gadget_soft_disconnect()` → `dwc3_stop_active_transfers()` without any physical access to the device. A local process holding the FFS endpoint fds (or any process able to cause the FFS daemon's fds to close) drives the whole sequence via ordinary write/close syscalls. AC:L - The attacker controls both sides of the race: it queues the transfer (write to the ep file) and triggers the teardown (close of the ep file), and the pre-fix code performs zero wait after ENDXFER, so the window is essentially always open rather than a narrow timing fluke. The attempt is freely repeatable and the affected DWC_usb3 ≥ 3.10a IP is a common mainstream configuration. PR:L - Only an unprivileged local process with access to the FunctionFS endpoint files (whose ownership is set by the mount's uid=/gid= options, e.g. the adb/MTP user on Android) is needed; no root or CAP_SYS_ADMIN is required. Queuing a transfer and closing the descriptor are ordinary file operations. UI:N - The attacking process performs the queue and the release itself; no victim action is required. The USB cable being attached is an ambient condition of the target device (phone on a charger/PC, kiosk, embedded controller), not an interaction the attacker must induce. S:U - The stale DMA writes into kernel memory the controller was already granted access to, and both the vulnerable component and the impacted component are the kernel itself. No VM, IOMMU, or sandbox security boundary is crossed. C:H - For IN endpoints the controller keeps reading the buffer after `usb_gadget_unmap_request_by_dev()` and `kfree()`, so contents of reallocated kernel heap memory are streamed out over USB to the attached host — an arbitrary-content kernel memory disclosure. This is a use-after-free read with attacker-observable output. I:H - For OUT endpoints the controller continues writing host-supplied data into memory that has been DMA-unmapped and freed, giving a use-after-free write with attacker-controlled contents into reallocated kernel objects. That is a heap-spray-friendly write primitive suitable for control-flow hijacking. A:H - The commit reports SMMU faults from the controller accessing already-unmapped requests, which on typical SoC IOMMU configurations abort the transaction and panic or wedge the USB controller. Absent an IOMMU, the resulting freed-memory corruption reliably produces oopses and kernel panics.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 4.7 medium CISA-ADP · adp CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b353eb6dc285a0775a447f53e5b2a50bf3f9684f to < 341eb08dbca9eae05308c442fbfab1813a44c97a (affected · git)b353eb6dc285a0775a447f53e5b2a50bf3f9684f to < ec96bcf5f96a7a5c556b0e881ac3e5c3924d542c (affected · git)b353eb6dc285a0775a447f53e5b2a50bf3f9684f to < 4a387e032909c6dc2b479452c5bbe9a252057925 (affected · git)b353eb6dc285a0775a447f53e5b2a50bf3f9684f to < 1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5 (affected · git)b353eb6dc285a0775a447f53e5b2a50bf3f9684f to < 1d26ba0944d398f88aaf997bda3544646cf21945 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.92 through 6.1.* (unaffected · semver)6.6.32 through 6.6.* (unaffected · semver)6.8.11 through 6.8.* (unaffected · semver)6.9.2 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

5

Provider assertions

3

Linux · cna

usb: dwc3: Wait unconditionally after issuing EndXfer command

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
d2f707db12be8e98c25f6607aaf1435c0335c9a5e2878d97ab2e4c36cea991a2
Ingested
23 Sep 2026, 08:24:20 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected