<?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>Tue, 29 Sep 2026 15:10:51 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89881 — media: rtl2832_sdr: use vb2_video_unregister_device() on remove to fix DMA leak</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89881</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: use vb2_video_unregister_device() on remove to fix DMA leak&lt;/p&gt;
&lt;p&gt;rtl2832_sdr_remove() runs on USB disconnect and clears dev-&amp;gt;udev to
NULL before any pending streaming teardown has run. When user space
later closes its file descriptor, vb2 calls rtl2832_sdr_stop_streaming()
which in turn calls rtl2832_sdr_free_stream_bufs(). That helper releases
each coherent buffer with:&lt;/p&gt;
&lt;p&gt;usb_free_coherent(dev-&amp;gt;udev, dev-&amp;gt;buf_size,
                      dev-&amp;gt;buf_list[dev-&amp;gt;buf_num],
                      dev-&amp;gt;dma_addr[dev-&amp;gt;buf_num]);&lt;/p&gt;
&lt;p&gt;usb_free_coherent() returns immediately when its dev argument is NULL,
so every DMA stream buffer that was live at disconnect is silently
leaked. The URBs allocated in rtl2832_sdr_alloc_urbs() outlive the
device for the same reason.&lt;/p&gt;
&lt;p&gt;The rtl2832_sdr driver uses vb2_fop_release() in its file_operations,
so replace video_unregister_device(&amp;amp;dev-&amp;gt;vdev) with
vb2_video_unregister_device(&amp;amp;dev-&amp;gt;vdev) and move it before clearing
dev-&amp;gt;udev. vb2_video_unregister_device() releases the vb2 queue, which
synchronously runs rtl2832_sdr_stop_streaming() if streaming is active,
so URBs and coherent DMA stream buffers are freed while dev-&amp;gt;udev is
still valid.&lt;/p&gt;
&lt;p&gt;vb2_video_unregister_device() locks vdev-&amp;gt;queue-&amp;gt;lock (vb_queue_lock)
internally, and stop_streaming() locks v4l2_lock, so the previous outer
mutex_lock(&amp;amp;dev-&amp;gt;vb_queue_lock) / mutex_lock(&amp;amp;dev-&amp;gt;v4l2_lock) pair
around the unregister sequen…&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: use vb2_video_unregister_device() on remove to fix DMA leak&lt;/p&gt;
&lt;p&gt;rtl2832_sdr_remove() runs on USB disconnect and clears dev-&amp;gt;udev to
NULL before any pending streaming teardown has run. When user space
later closes its file descriptor, vb2 calls rtl2832_sdr_stop_streaming()
which in turn calls rtl2832_sdr_free_stream_bufs(). That helper releases
each coherent buffer with:&lt;/p&gt;
&lt;p&gt;usb_free_coherent(dev-&amp;gt;udev, dev-&amp;gt;buf_size,
                      dev-&amp;gt;buf_list[dev-&amp;gt;buf_num],
                      dev-&amp;gt;dma_addr[dev-&amp;gt;buf_num]);&lt;/p&gt;
&lt;p&gt;usb_free_coherent() returns immediately when its dev argument is NULL,
so every DMA stream buffer that was live at disconnect is silently
leaked. The URBs allocated in rtl2832_sdr_alloc_urbs() outlive the
device for the same reason.&lt;/p&gt;
&lt;p&gt;The rtl2832_sdr driver uses vb2_fop_release() in its file_operations,
so replace video_unregister_device(&amp;amp;dev-&amp;gt;vdev) with
vb2_video_unregister_device(&amp;amp;dev-&amp;gt;vdev) and move it before clearing
dev-&amp;gt;udev. vb2_video_unregister_device() releases the vb2 queue, which
synchronously runs rtl2832_sdr_stop_streaming() if streaming is active,
so URBs and coherent DMA stream buffers are freed while dev-&amp;gt;udev is
still valid.&lt;/p&gt;
&lt;p&gt;vb2_video_unregister_device() locks vdev-&amp;gt;queue-&amp;gt;lock (vb_queue_lock)
internally, and stop_streaming() locks v4l2_lock, so the previous outer
mutex_lock(&amp;amp;dev-&amp;gt;vb_queue_lock) / mutex_lock(&amp;amp;dev-&amp;gt;v4l2_lock) pair
around the unregister sequen…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89881</guid>
    </item>
  </channel>
</rss>
