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

Published Nov 5, 2024
·
Updated

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 timerpending() and hrtimeractive() APIs.

The changeover blindly replaced the first by the second. However, timerpending() returns True when the timer is queued but not when its callback is running, whereas hrtimeractive() returns True when the hrtimer is queued or its callback is running. This difference occasionally caused dummyurbenqueue() 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 usbkillurb() 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 "timerpending" flag and setting or clearing it at the appropriate times.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

5 affected componentsFixes available
Linux Linux kernel>=6.10<6.11.5
Linux Linux kernel=6.12-rc1
Linux Linux kernel=6.12-rc2
Linux Linux kernel=6.12-rc3
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Nov 5, 2024
CVE Published
via MITRE·05:07 PM
Data Sourced
via MITRE·05:07 PM
Description
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityAffected Software
Feb 20, 2025
Data Sourced
via Launchpad·12:49 AM
Description
Mar 28, 2025
Data Sourced
via Ubuntu·12:57 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-50100?

CVE-2024-50100 is classified as a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2024-50100?

To resolve CVE-2024-50100, upgrade to the patched versions: 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.15-1.

3

Which versions of the Linux kernel are affected by CVE-2024-50100?

CVE-2024-50100 affects Linux kernel versions from 6.10 up to 6.11.5 and also includes release candidates 6.12-rc1, 6.12-rc2, and 6.12-rc3.

4

What type of issue does CVE-2024-50100 address?

CVE-2024-50100 resolves a 'task hung' problem related to the dummy-hcd driver in the Linux kernel.

5

Is CVE-2024-50100 related to any specific component of the Linux kernel?

Yes, CVE-2024-50100 specifically addresses issues within the USB gadget subsystem of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203