CVE & CISA-KEV Catalog

CVE-2021-47555

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: net: vlan: fix underflow for the real_dev refcnt Inject error before dev_hold(real_dev) in register_vlan_dev(), and execute the following testcase: ip link add dev dummy1 type dummy ip link add name dummy1.100 link dummy1 type vlan id 100 ip link del dev dummy1 When the dummy netdevice is removed, we will get a WARNING as following: ======================================================================= refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 2 PID: 0 at lib/refcount.c:31 refcount_warn_saturate+0xbf/0x1e0 and an endless loop of: ======================================================================= unregister_netdevice: waiting for dummy1 to become free. Usage count = -1073741824 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. 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.

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.84-1CVE-2021-47555
Fixed in:5.15.15-1CVE-2021-47555
Fixed in:5.15.15-1CVE-2021-47555
Fixed in:5.15.15-1CVE-2021-47555

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.21%probability of exploitation in 30 days
11thpercentile

Low risk: more likely to be exploited than 11% of all known CVEs.

References

Related Vulnerabilities

Other CWE-191 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0497Critical9.8100%KEVFix
CVE-2020-36221High7.584%-Fix
CVE-2020-36228High7.583%-Fix
CVE-2023-31102High7.871%-Fix
CVE-2024-38063Critical9.871%-Fix
CVE-2017-14496High7.566%-Fix
Embed a live status badge for CVE-2021-47555
CVE-2021-47555 severity badge

Markdown

[![CVE-2021-47555](https://tridentstack.com/cve/badge/CVE-2021-47555.svg)](https://tridentstack.com/cve/CVE-2021-47555)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-47555"><img src="https://tridentstack.com/cve/badge/CVE-2021-47555.svg" alt="CVE-2021-47555"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-18.