cbcvebase.
CVE-2024-50100
published 2024-11-05

CVE-2024-50100: In the Linux kernel, the following vulnerability has been resolved: USB: gadget: dummy-hcd: Fix "task hung" problem The syzbot fuzzer has been encountering…

PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.23%
14.2th percentile
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

11 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.11.5-1 (forky)linux 6.11.5-1 (forky)
linuxlinux
linuxlinux>= 4a4cb56556124027f4846ff30849c0ede981aa92 < 7d85884576a3be3616c260fc1fa862a59579d1ab7d85884576a3be3616c260fc1fa862a59579d1ab
linuxlinux>= 8ffba8d917f44a8acbfccbdec331204353ac8ac8 < cf7ee2291da551fc4b109fda1f6a332cb8212065cf7ee2291da551fc4b109fda1f6a332cb8212065
linuxlinux>= a7f3813e589fd8e2834720829a47b5eb914a9afe < f828205ee3e4ddc712a13fba6c9902d51e91ddaff828205ee3e4ddc712a13fba6c9902d51e91ddaf
linuxlinux>= a7f3813e589fd8e2834720829a47b5eb914a9afe < 5189df7b8088268012882c220d6aca4e649813485189df7b8088268012882c220d6aca4e64981348
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.11.5-16.11.5-1
linuxlinux_kernel>= 0 < 6.11.5-16.11.5-1
linuxlinux_kernel>= 0 < 6.11.0-18.186.11.0-18.18
linuxlinux_kernel>= 6.10 < 6.11.56.11.5

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5LOW
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.