<?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>Sun, 04 Oct 2026 00:22:48 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50626 — media: dvb-usb: fix memory leak in dvb_usb_adapter_init()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-50626</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: dvb-usb: fix memory leak in dvb_usb_adapter_init()&lt;/p&gt;
&lt;p&gt;Syzbot reports a memory leak in &amp;#34;dvb_usb_adapter_init()&amp;#34;.
The leak is due to not accounting for and freeing current iteration&amp;#39;s
adapter-&amp;gt;priv in case of an error. Currently if an error occurs,
it will exit before incrementing &amp;#34;num_adapters_initalized&amp;#34;,
which is used as a reference counter to free all adap-&amp;gt;priv
in &amp;#34;dvb_usb_adapter_exit()&amp;#34;. There are multiple error paths that
can exit from before incrementing the counter. Including the
error handling paths for &amp;#34;dvb_usb_adapter_stream_init()&amp;#34;,
&amp;#34;dvb_usb_adapter_dvb_init()&amp;#34; and &amp;#34;dvb_usb_adapter_frontend_init()&amp;#34;
within &amp;#34;dvb_usb_adapter_init()&amp;#34;.&lt;/p&gt;
&lt;p&gt;This means that in case of an error in any of these functions the
current iteration is not accounted for and the current iteration&amp;#39;s
adap-&amp;gt;priv is not freed.&lt;/p&gt;
&lt;p&gt;Fix this by freeing the current iteration&amp;#39;s adap-&amp;gt;priv in the
&amp;#34;stream_init_err:&amp;#34; label in the error path. The rest of the
(accounted for) adap-&amp;gt;priv objects are freed in dvb_usb_adapter_exit()
as expected using the num_adapters_initalized variable.&lt;/p&gt;
&lt;p&gt;Syzbot report:&lt;/p&gt;
&lt;p&gt;BUG: memory leak
unreferenced object 0xffff8881172f1a00 (size 512):
  comm &amp;#34;kworker/0:2&amp;#34;, pid 139, jiffies 4294994873 (age 10.960s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
backtrace:
    [&amp;lt;ffffffff844af012&amp;gt;] dvb_usb_ada…&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: dvb-usb: fix memory leak in dvb_usb_adapter_init()&lt;/p&gt;
&lt;p&gt;Syzbot reports a memory leak in &amp;#34;dvb_usb_adapter_init()&amp;#34;.
The leak is due to not accounting for and freeing current iteration&amp;#39;s
adapter-&amp;gt;priv in case of an error. Currently if an error occurs,
it will exit before incrementing &amp;#34;num_adapters_initalized&amp;#34;,
which is used as a reference counter to free all adap-&amp;gt;priv
in &amp;#34;dvb_usb_adapter_exit()&amp;#34;. There are multiple error paths that
can exit from before incrementing the counter. Including the
error handling paths for &amp;#34;dvb_usb_adapter_stream_init()&amp;#34;,
&amp;#34;dvb_usb_adapter_dvb_init()&amp;#34; and &amp;#34;dvb_usb_adapter_frontend_init()&amp;#34;
within &amp;#34;dvb_usb_adapter_init()&amp;#34;.&lt;/p&gt;
&lt;p&gt;This means that in case of an error in any of these functions the
current iteration is not accounted for and the current iteration&amp;#39;s
adap-&amp;gt;priv is not freed.&lt;/p&gt;
&lt;p&gt;Fix this by freeing the current iteration&amp;#39;s adap-&amp;gt;priv in the
&amp;#34;stream_init_err:&amp;#34; label in the error path. The rest of the
(accounted for) adap-&amp;gt;priv objects are freed in dvb_usb_adapter_exit()
as expected using the num_adapters_initalized variable.&lt;/p&gt;
&lt;p&gt;Syzbot report:&lt;/p&gt;
&lt;p&gt;BUG: memory leak
unreferenced object 0xffff8881172f1a00 (size 512):
  comm &amp;#34;kworker/0:2&amp;#34;, pid 139, jiffies 4294994873 (age 10.960s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
backtrace:
    [&amp;lt;ffffffff844af012&amp;gt;] dvb_usb_ada…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-50626</guid>
    </item>
  </channel>
</rss>
