<?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 05:22:21 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-42282 — net: mediatek: Fix potential NULL pointer dereference in dummy net_device handling</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-42282</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;net: mediatek: Fix potential NULL pointer dereference in dummy net_device handling&lt;/p&gt;
&lt;p&gt;Move the freeing of the dummy net_device from mtk_free_dev() to
mtk_remove().&lt;/p&gt;
&lt;p&gt;Previously, if alloc_netdev_dummy() failed in mtk_probe(),
eth-&amp;gt;dummy_dev would be NULL. The error path would then call
mtk_free_dev(), which in turn called free_netdev() assuming dummy_dev
was allocated (but it was not), potentially causing a NULL pointer
dereference.&lt;/p&gt;
&lt;p&gt;By moving free_netdev() to mtk_remove(), we ensure it&amp;#39;s only called when
mtk_probe() has succeeded and dummy_dev is fully allocated. This
addresses a potential NULL pointer dereference detected by Smatch[1].&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;net: mediatek: Fix potential NULL pointer dereference in dummy net_device handling&lt;/p&gt;
&lt;p&gt;Move the freeing of the dummy net_device from mtk_free_dev() to
mtk_remove().&lt;/p&gt;
&lt;p&gt;Previously, if alloc_netdev_dummy() failed in mtk_probe(),
eth-&amp;gt;dummy_dev would be NULL. The error path would then call
mtk_free_dev(), which in turn called free_netdev() assuming dummy_dev
was allocated (but it was not), potentially causing a NULL pointer
dereference.&lt;/p&gt;
&lt;p&gt;By moving free_netdev() to mtk_remove(), we ensure it&amp;#39;s only called when
mtk_probe() has succeeded and dummy_dev is fully allocated. This
addresses a potential NULL pointer dereference detected by Smatch[1].&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-42282</guid>
    </item>
  </channel>
</rss>
