Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-36977— usb: dwc3: Wait unconditionally after issuing EndXfer command

EPSS 0.03% · P10

Affected Version Matrix 12

VendorProductVersion RangeStatus
LinuxLinuxb353eb6dc285a0775a447f53e5b2a50bf3f9684f< 341eb08dbca9eae05308c442fbfab1813a44c97aaffected
b353eb6dc285a0775a447f53e5b2a50bf3f9684f< ec96bcf5f96a7a5c556b0e881ac3e5c3924d542caffected
b353eb6dc285a0775a447f53e5b2a50bf3f9684f< 4a387e032909c6dc2b479452c5bbe9a252057925affected
b353eb6dc285a0775a447f53e5b2a50bf3f9684f< 1ba145f05b5c8f0b1a947a0633b5edff5dd1f1c5affected
b353eb6dc285a0775a447f53e5b2a50bf3f9684f< 1d26ba0944d398f88aaf997bda3544646cf21945affected
6.1affected
< 6.1unaffected
6.1.92≤ 6.1.*unaffected
… +4 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-36977

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
usb: dwc3: Wait unconditionally after issuing EndXfer command
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞。攻击者利用该漏洞导致 SMMU 故障。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux b353eb6dc285a0775a447f53e5b2a50bf3f9684f ~ 341eb08dbca9eae05308c442fbfab1813a44c97a -
LinuxLinux 6.1 -

II. Public POCs for CVE-2024-36977

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-36977

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-06-18 · 4 CVEs total

CVE-2024-36976Revert "media: v4l2-ctrls: show all owned controls in log_status"
CVE-2024-36975KEYS: trusted: Do not use WARN when encode fails
CVE-2024-36974net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP

IV. Related Vulnerabilities

V. Comments for CVE-2024-36977

No comments yet


Leave a comment