<?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://cve.radiocsirt.org</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, 07 Oct 2026 03:48:25 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47555 — net: vlan: fix underflow for the real_dev refcnt</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-47555</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: vlan: fix underflow for the real_dev refcnt&lt;/p&gt;
&lt;p&gt;Inject error before dev_hold(real_dev) in register_vlan_dev(),
and execute the following testcase:&lt;/p&gt;
&lt;p&gt;ip link add dev dummy1 type dummy
ip link add name dummy1.100 link dummy1 type vlan id 100
ip link del dev dummy1&lt;/p&gt;
&lt;p&gt;When the dummy netdevice is removed, we will get a WARNING as following:&lt;/p&gt;
&lt;p&gt;=======================================================================
refcount_t: decrement hit 0; leaking memory.
WARNING: CPU: 2 PID: 0 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0&lt;/p&gt;
&lt;p&gt;and an endless loop of:&lt;/p&gt;
&lt;p&gt;=======================================================================
unregister_netdevice: waiting for dummy1 to become free. Usage count = -1073741824&lt;/p&gt;
&lt;p&gt;That is because dev_put(real_dev) in vlan_dev_free() be called without
dev_hold(real_dev) in register_vlan_dev(). It makes the refcnt of real_dev
underflow.&lt;/p&gt;
&lt;p&gt;Move the dev_hold(real_dev) to vlan_dev_init() which is the call-back of
ndo_init(). That makes dev_hold() and dev_put() for vlan&amp;#39;s real_dev
symmetrical.&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: vlan: fix underflow for the real_dev refcnt&lt;/p&gt;
&lt;p&gt;Inject error before dev_hold(real_dev) in register_vlan_dev(),
and execute the following testcase:&lt;/p&gt;
&lt;p&gt;ip link add dev dummy1 type dummy
ip link add name dummy1.100 link dummy1 type vlan id 100
ip link del dev dummy1&lt;/p&gt;
&lt;p&gt;When the dummy netdevice is removed, we will get a WARNING as following:&lt;/p&gt;
&lt;p&gt;=======================================================================
refcount_t: decrement hit 0; leaking memory.
WARNING: CPU: 2 PID: 0 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0&lt;/p&gt;
&lt;p&gt;and an endless loop of:&lt;/p&gt;
&lt;p&gt;=======================================================================
unregister_netdevice: waiting for dummy1 to become free. Usage count = -1073741824&lt;/p&gt;
&lt;p&gt;That is because dev_put(real_dev) in vlan_dev_free() be called without
dev_hold(real_dev) in register_vlan_dev(). It makes the refcnt of real_dev
underflow.&lt;/p&gt;
&lt;p&gt;Move the dev_hold(real_dev) to vlan_dev_init() which is the call-back of
ndo_init(). That makes dev_hold() and dev_put() for vlan&amp;#39;s real_dev
symmetrical.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-47555</guid>
    </item>
  </channel>
</rss>
