<?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>Fri, 02 Oct 2026 15:09:35 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-56687 — usb: musb: Fix hardware lockup on first Rx endpoint request</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-56687</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: musb: Fix hardware lockup on first Rx endpoint request&lt;/p&gt;
&lt;p&gt;There is a possibility that a request&amp;#39;s callback could be invoked from
usb_ep_queue() (call trace below, supplemented with missing calls):&lt;/p&gt;
&lt;p&gt;req-&amp;gt;complete from usb_gadget_giveback_request
	(drivers/usb/gadget/udc/core.c:999)
usb_gadget_giveback_request from musb_g_giveback
	(drivers/usb/musb/musb_gadget.c:147)
musb_g_giveback from rxstate
	(drivers/usb/musb/musb_gadget.c:784)
rxstate from musb_ep_restart
	(drivers/usb/musb/musb_gadget.c:1169)
musb_ep_restart from musb_ep_restart_resume_work
	(drivers/usb/musb/musb_gadget.c:1176)
musb_ep_restart_resume_work from musb_queue_resume_work
	(drivers/usb/musb/musb_core.c:2279)
musb_queue_resume_work from musb_gadget_queue
	(drivers/usb/musb/musb_gadget.c:1241)
musb_gadget_queue from usb_ep_queue
	(drivers/usb/gadget/udc/core.c:300)&lt;/p&gt;
&lt;p&gt;According to the docstring of usb_ep_queue(), this should not happen:&lt;/p&gt;
&lt;p&gt;&amp;#34;Note that @req&amp;#39;s -&amp;gt;complete() callback must never be called from within
usb_ep_queue() as that can create deadlock situations.&amp;#34;&lt;/p&gt;
&lt;p&gt;In fact, a hardware lockup might occur in the following sequence:&lt;/p&gt;
&lt;p&gt;1. The gadget is initialized using musb_gadget_enable().
2. Meanwhile, a packet arrives, and the RXPKTRDY flag is set, raising an
   interrupt.
3. If IRQs are enabled, the interrupt is handled, but musb_g_rx() finds an
   empty queue (next_request() returns NULL). The interrupt flag has
   already been cleared by…&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: musb: Fix hardware lockup on first Rx endpoint request&lt;/p&gt;
&lt;p&gt;There is a possibility that a request&amp;#39;s callback could be invoked from
usb_ep_queue() (call trace below, supplemented with missing calls):&lt;/p&gt;
&lt;p&gt;req-&amp;gt;complete from usb_gadget_giveback_request
	(drivers/usb/gadget/udc/core.c:999)
usb_gadget_giveback_request from musb_g_giveback
	(drivers/usb/musb/musb_gadget.c:147)
musb_g_giveback from rxstate
	(drivers/usb/musb/musb_gadget.c:784)
rxstate from musb_ep_restart
	(drivers/usb/musb/musb_gadget.c:1169)
musb_ep_restart from musb_ep_restart_resume_work
	(drivers/usb/musb/musb_gadget.c:1176)
musb_ep_restart_resume_work from musb_queue_resume_work
	(drivers/usb/musb/musb_core.c:2279)
musb_queue_resume_work from musb_gadget_queue
	(drivers/usb/musb/musb_gadget.c:1241)
musb_gadget_queue from usb_ep_queue
	(drivers/usb/gadget/udc/core.c:300)&lt;/p&gt;
&lt;p&gt;According to the docstring of usb_ep_queue(), this should not happen:&lt;/p&gt;
&lt;p&gt;&amp;#34;Note that @req&amp;#39;s -&amp;gt;complete() callback must never be called from within
usb_ep_queue() as that can create deadlock situations.&amp;#34;&lt;/p&gt;
&lt;p&gt;In fact, a hardware lockup might occur in the following sequence:&lt;/p&gt;
&lt;p&gt;1. The gadget is initialized using musb_gadget_enable().
2. Meanwhile, a packet arrives, and the RXPKTRDY flag is set, raising an
   interrupt.
3. If IRQs are enabled, the interrupt is handled, but musb_g_rx() finds an
   empty queue (next_request() returns NULL). The interrupt flag has
   already been cleared by…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-56687</guid>
    </item>
  </channel>
</rss>
