<?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://db.gcve.eu</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 08:39:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49853 — net: macvlan: fix memory leaks of macvlan_common_newlink</title>
      <link>https://db.gcve.eu/vuln/cve-2022-49853</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: macvlan: fix memory leaks of macvlan_common_newlink&lt;/p&gt;
&lt;p&gt;kmemleak reports memory leaks in macvlan_common_newlink, as follows:&lt;/p&gt;
&lt;p&gt;ip link add link eth0 name .. type macvlan mode source macaddr add
 &amp;lt;MAC-ADDR&amp;gt;&lt;/p&gt;
&lt;p&gt;kmemleak reports:&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff8880109bb140 (size 64):
  comm &amp;#34;ip&amp;#34;, pid 284, jiffies 4294986150 (age 430.108s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 b8 aa 5a 12 80 88 ff ff  ..........Z.....
    80 1b fa 0d 80 88 ff ff 1e ff ac af c7 c1 6b 6b  ..............kk
  backtrace:
    [&amp;lt;ffffffff813e06a7&amp;gt;] kmem_cache_alloc_trace+0x1c7/0x300
    [&amp;lt;ffffffff81b66025&amp;gt;] macvlan_hash_add_source+0x45/0xc0
    [&amp;lt;ffffffff81b66a67&amp;gt;] macvlan_changelink_sources+0xd7/0x170
    [&amp;lt;ffffffff81b6775c&amp;gt;] macvlan_common_newlink+0x38c/0x5a0
    [&amp;lt;ffffffff81b6797e&amp;gt;] macvlan_newlink+0xe/0x20
    [&amp;lt;ffffffff81d97f8f&amp;gt;] __rtnl_newlink+0x7af/0xa50
    [&amp;lt;ffffffff81d98278&amp;gt;] rtnl_newlink+0x48/0x70
    ...&lt;/p&gt;
&lt;p&gt;In the scenario where the macvlan mode is configured as &amp;#39;source&amp;#39;,
macvlan_changelink_sources() will be execured to reconfigure list of
remote source mac addresses, at the same time, if register_netdevice()
return an error, the resource generated by macvlan_changelink_sources()
is not cleaned up.&lt;/p&gt;
&lt;p&gt;Using this patch, in the case of an error, it will execute
macvlan_flush_sources() to ensure that the resource is cleaned up.&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: macvlan: fix memory leaks of macvlan_common_newlink&lt;/p&gt;
&lt;p&gt;kmemleak reports memory leaks in macvlan_common_newlink, as follows:&lt;/p&gt;
&lt;p&gt;ip link add link eth0 name .. type macvlan mode source macaddr add
 &amp;lt;MAC-ADDR&amp;gt;&lt;/p&gt;
&lt;p&gt;kmemleak reports:&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff8880109bb140 (size 64):
  comm &amp;#34;ip&amp;#34;, pid 284, jiffies 4294986150 (age 430.108s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 b8 aa 5a 12 80 88 ff ff  ..........Z.....
    80 1b fa 0d 80 88 ff ff 1e ff ac af c7 c1 6b 6b  ..............kk
  backtrace:
    [&amp;lt;ffffffff813e06a7&amp;gt;] kmem_cache_alloc_trace+0x1c7/0x300
    [&amp;lt;ffffffff81b66025&amp;gt;] macvlan_hash_add_source+0x45/0xc0
    [&amp;lt;ffffffff81b66a67&amp;gt;] macvlan_changelink_sources+0xd7/0x170
    [&amp;lt;ffffffff81b6775c&amp;gt;] macvlan_common_newlink+0x38c/0x5a0
    [&amp;lt;ffffffff81b6797e&amp;gt;] macvlan_newlink+0xe/0x20
    [&amp;lt;ffffffff81d97f8f&amp;gt;] __rtnl_newlink+0x7af/0xa50
    [&amp;lt;ffffffff81d98278&amp;gt;] rtnl_newlink+0x48/0x70
    ...&lt;/p&gt;
&lt;p&gt;In the scenario where the macvlan mode is configured as &amp;#39;source&amp;#39;,
macvlan_changelink_sources() will be execured to reconfigure list of
remote source mac addresses, at the same time, if register_netdevice()
return an error, the resource generated by macvlan_changelink_sources()
is not cleaned up.&lt;/p&gt;
&lt;p&gt;Using this patch, in the case of an error, it will execute
macvlan_flush_sources() to ensure that the resource is cleaned up.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2022-49853</guid>
    </item>
  </channel>
</rss>
