# CVE-2024-50100: USB: gadget: dummy-hcd: Fix "task hung" problem

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-28)
- **Published:** 2024-11-05T17:07:37.997Z
- **Modified:** 2026-06-17T08:03:35.210Z

## Who should check

- Anyone running Linux \>= 8ffba8d917f44a8acbfccbdec331204353ac8ac8, \< cf7ee2291da551fc4b109fda1f6a332cb8212065; \>= 4a4cb56556124027f4846ff30849c0ede981aa92, \< 7d85884576a3be3616c260fc1fa862a59579d1ab; \>= a7f3813e589fd8e2834720829a47b5eb914a9afe, \< f828205ee3e4ddc712a13fba6c9902d51e91ddaf; \>= a7f3813e589fd8e2834720829a47b5eb914a9afe, \< 5189df7b8088268012882c220d6aca4e64981348
- Anyone running Linux 6.10

## 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.

## Affected and fixed versions

- Linux: \>= 8ffba8d917f44a8acbfccbdec331204353ac8ac8, \< cf7ee2291da551fc4b109fda1f6a332cb8212065; \>= 4a4cb56556124027f4846ff30849c0ede981aa92, \< 7d85884576a3be3616c260fc1fa862a59579d1ab; \>= a7f3813e589fd8e2834720829a47b5eb914a9afe, \< f828205ee3e4ddc712a13fba6c9902d51e91ddaf; \>= a7f3813e589fd8e2834720829a47b5eb914a9afe, \< 5189df7b8088268012882c220d6aca4e64981348 (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 5189df7b8088268012882c220d6aca4e64981348 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50100. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50100.md
Affected: Linux >= 8ffba8d917f44a8acbfccbdec331204353ac8ac8, < cf7ee2291da551fc4b109fda1f6a332cb8212065; >= 4a4cb56556124027f4846ff30849c0ede981aa92, < 7d85884576a3be3616c260fc1fa862a59579d1ab; >= a7f3813e589fd8e2834720829a47b5eb914a9afe, < f828205ee3e4ddc712a13fba6c9902d51e91ddaf; >= a7f3813e589fd8e28347208…
Fixed in: Linux 7d85884576a3be3616c260fc1fa862a59579d1ab, Linux 5189df7b8088268012882c220d6aca4e64981348

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50100 being exploited?

There is no confirmed exploitation: CVE-2024-50100 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-50100?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-50100?

Linux \>= 8ffba8d917f44a8acbfccbdec331204353ac8ac8, \< cf7ee2291da551fc4b109fda1f6a332cb8212065; \>= 4a4cb56556124027f4846ff30849c0ede981aa92, \< 7d85884576a3be3616c260fc1fa862a59579d1ab; \>= a7f3813e589fd8e2834720829a47b5eb914a9afe, \< f828205ee3e4ddc712a13fba6c9902d51e91ddaf; \>= a7f3813e589fd8e2834720829a47b5eb914a9afe, \< 5189df7b8088268012882c220d6aca4e64981348; Linux 6.10.

### Is there a fix for CVE-2024-50100?

Yes. Fixed in Linux 7d85884576a3be3616c260fc1fa862a59579d1ab, Linux 5189df7b8088268012882c220d6aca4e64981348. Upgrade Linux to 5189df7b8088268012882c220d6aca4e64981348 or later.

### How do I check if I'm affected by CVE-2024-50100?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/cf7ee2291da551fc4b109fda1f6a332cb8212065>
- patch: <https://git.kernel.org/stable/c/7d85884576a3be3616c260fc1fa862a59579d1ab>
- patch: <https://git.kernel.org/stable/c/f828205ee3e4ddc712a13fba6c9902d51e91ddaf>
- patch: <https://git.kernel.org/stable/c/5189df7b8088268012882c220d6aca4e64981348>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50100>

HTML: <https://flawdb.com/CVE-2024-50100> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50100>
