<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 01 Oct 2026 21:42:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-50100 — USB: gadget: dummy-hcd: Fix "task hung" problem</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-50100</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;USB: gadget: dummy-hcd: Fix &amp;#34;task hung&amp;#34; problem&lt;/p&gt;
&lt;p&gt;The syzbot fuzzer has been encountering &amp;#34;task hung&amp;#34; 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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Since hrtimers have no API for telling when they are queued and the
callback isn&amp;#39;t running, the driver must keep track of this for itself.
That&amp;#39;s what this patch does, adding a new &amp;#34;timer_pending&amp;#34; flag and
setting or clearing it at the appropriate times.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;USB: gadget: dummy-hcd: Fix &amp;#34;task hung&amp;#34; problem&lt;/p&gt;
&lt;p&gt;The syzbot fuzzer has been encountering &amp;#34;task hung&amp;#34; 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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Since hrtimers have no API for telling when they are queued and the
callback isn&amp;#39;t running, the driver must keep track of this for itself.
That&amp;#39;s what this patch does, adding a new &amp;#34;timer_pending&amp;#34; flag and
setting or clearing it at the appropriate times.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-50100</guid>
    </item>
  </channel>
</rss>
