<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-07T13:44:57.590811+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2021-47555</id>
    <title>CVE-2021-47555 — net: vlan: fix underflow for the real_dev refcnt</title>
    <updated>2026-10-07T13:44:57.592039+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>net: vlan: fix underflow for the real_dev refcnt</p>
<p>Inject error before dev_hold(real_dev) in register_vlan_dev(),
and execute the following testcase:</p>
<p>ip link add dev dummy1 type dummy
ip link add name dummy1.100 link dummy1 type vlan id 100
ip link del dev dummy1</p>
<p>When the dummy netdevice is removed, we will get a WARNING as following:</p>
<p>=======================================================================
refcount_t: decrement hit 0; leaking memory.
WARNING: CPU: 2 PID: 0 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0</p>
<p>and an endless loop of:</p>
<p>=======================================================================
unregister_netdevice: waiting for dummy1 to become free. Usage count = -1073741824</p>
<p>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.</p>
<p>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's real_dev
symmetrical.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2021-47555"/>
  </entry>
</feed>
