CVE-2024-50100USB: gadget: dummy-hcd: Fix "task hung" problem
- 5.5MediumCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 85% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: dummy-hcd: Fix "task hung" problem The syzbot fuzzer has been encountering "task hung" problems ever since the dummy-hcd driver was changed to use hrtimers instead of regular timers. It turns out that the problems are caused by a subtle difference between the timer_pending() and hrtimer_active() APIs. The changeover blindly replaced the first by the second. However, timer_pending() returns True when the timer is queued but not when its callback is running, whereas hrtimer_active() returns True when the hrtimer is queued _or_ its callback is running. This difference occasionally caused dummy_urb_enqueue() to think that the callback routine had not yet started when in fact it was almost finished. As a result the hrtimer was not restarted, which made it impossible for the driver to dequeue later the URB that was just enqueued. This caused usb_kill_urb() to hang, and things got worse from there. Since hrtimers have no API for telling when they are queued and the callback isn't running, the driver must keep track of this for itself. That's what this patch does, adding a new "timer_pending" flag and setting or clearing it at the appropriate times.
Timeline
ID reserved
By Linux
- 15 days later
· 15 days later
Published
- 18 months later
· 18 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 8ffba8d917f44a8acbfccbdec331204353ac8ac8 – < cf7ee2291da551fc4b109fda1f6a332cb8212065
- affected 4a4cb56556124027f4846ff30849c0ede981aa92 – < 7d85884576a3be3616c260fc1fa862a59579d1ab
- affected a7f3813e589fd8e2834720829a47b5eb914a9afe – < f828205ee3e4ddc712a13fba6c9902d51e91ddaf
- affected a7f3813e589fd8e2834720829a47b5eb914a9afe – < 5189df7b8088268012882c220d6aca4e64981348
- affected 6.10
- unaffected < 6.10
- unaffected 6.11.5 – ≤ 6.11.*
- unaffected 6.12 – ≤ *
References
References4
- https://git.kernel.org/stable/c/cf7ee2291da551fc4b109fda1f6a332cb8212065 (opens in a new tab)
- https://git.kernel.org/stable/c/7d85884576a3be3616c260fc1fa862a59579d1ab (opens in a new tab)
- https://git.kernel.org/stable/c/f828205ee3e4ddc712a13fba6c9902d51e91ddaf (opens in a new tab)
- https://git.kernel.org/stable/c/5189df7b8088268012882c220d6aca4e64981348 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-44575 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-50100)Record last updated .