<?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>Wed, 30 Sep 2026 16:00:02 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89880 — media: rtl2832_sdr: release URBs and stream buffers on start_streaming() failure</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89880</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;media: rtl2832_sdr: release URBs and stream buffers on start_streaming() failure&lt;/p&gt;
&lt;p&gt;rtl2832_sdr_start_streaming() calls rtl2832_sdr_alloc_stream_bufs(),
rtl2832_sdr_alloc_urbs() and rtl2832_sdr_submit_urbs() in sequence and
shares a single err: label that only unlocks the mutex and returns.
When alloc_urbs() succeeds but submit_urbs() fails, or when alloc_urbs()
itself returns -ENOMEM after alloc_stream_bufs() has already succeeded,
the URBs and/or the coherent DMA stream buffers stay allocated while
streaming reports failure to vb2. Two latent defects follow on the next
VIDIOC_STREAMON:&lt;/p&gt;
&lt;p&gt;1) rtl2832_sdr_alloc_stream_bufs() unconditionally resets dev-&amp;gt;buf_num
   to 0 and overwrites dev-&amp;gt;buf_list[]/dev-&amp;gt;dma_addr[], permanently
   leaking the coherent DMA memory allocated by the previous attempt.&lt;/p&gt;
&lt;p&gt;2) rtl2832_sdr_alloc_urbs() never resets dev-&amp;gt;urbs_initialized and only
   increments it. After a second successful pass urbs_initialized can
   exceed MAX_BULK_BUFS, so the subsequent rtl2832_sdr_free_urbs() walks
   from urbs_initialized - 1 down to 0 and reads past the end of
   dev-&amp;gt;urb_list[], passing garbage pointers to usb_free_urb().&lt;/p&gt;
&lt;p&gt;Mirror the teardown that stop_streaming() already performs: on the error
path call rtl2832_sdr_free_urbs() and rtl2832_sdr_free_stream_bufs()
before unlocking. Both helpers are idempotent (free_urbs kills and zeros
urbs_initialized; free_stream_bufs is gated on URB_BUF and clears…&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;media: rtl2832_sdr: release URBs and stream buffers on start_streaming() failure&lt;/p&gt;
&lt;p&gt;rtl2832_sdr_start_streaming() calls rtl2832_sdr_alloc_stream_bufs(),
rtl2832_sdr_alloc_urbs() and rtl2832_sdr_submit_urbs() in sequence and
shares a single err: label that only unlocks the mutex and returns.
When alloc_urbs() succeeds but submit_urbs() fails, or when alloc_urbs()
itself returns -ENOMEM after alloc_stream_bufs() has already succeeded,
the URBs and/or the coherent DMA stream buffers stay allocated while
streaming reports failure to vb2. Two latent defects follow on the next
VIDIOC_STREAMON:&lt;/p&gt;
&lt;p&gt;1) rtl2832_sdr_alloc_stream_bufs() unconditionally resets dev-&amp;gt;buf_num
   to 0 and overwrites dev-&amp;gt;buf_list[]/dev-&amp;gt;dma_addr[], permanently
   leaking the coherent DMA memory allocated by the previous attempt.&lt;/p&gt;
&lt;p&gt;2) rtl2832_sdr_alloc_urbs() never resets dev-&amp;gt;urbs_initialized and only
   increments it. After a second successful pass urbs_initialized can
   exceed MAX_BULK_BUFS, so the subsequent rtl2832_sdr_free_urbs() walks
   from urbs_initialized - 1 down to 0 and reads past the end of
   dev-&amp;gt;urb_list[], passing garbage pointers to usb_free_urb().&lt;/p&gt;
&lt;p&gt;Mirror the teardown that stop_streaming() already performs: on the error
path call rtl2832_sdr_free_urbs() and rtl2832_sdr_free_stream_bufs()
before unlocking. Both helpers are idempotent (free_urbs kills and zeros
urbs_initialized; free_stream_bufs is gated on URB_BUF and clears…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89880</guid>
    </item>
  </channel>
</rss>
