Vulnerability in Kernel: Fix Underflow for the real_dev refcnt

Kernel Updated 02 Oct 2025

Summary

19/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002438: net: vlan: fix underflow for the real_dev refcnt. Affects Kernel versions >= 700602b662d7eaa816b1a3cb0abe7a85de358fd4, < 5e44178864b38dd70b877985abd7d86fdb95f27d. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential functions and services to enable the proper functioning of the system. The vulnerability in question affects the Kernel's VLAN (Virtual Local Area Network) implementation. VLANs allow for the segmentation of a physical network into multiple virtual networks, improving network efficiency and security. However, a flaw in the VLAN code can lead to an underflow issue for the real_dev refcnt, potentially resulting in a security vulnerability.

Vulnerability Detail

The vulnerability arises from an underflow issue in the real_dev refcnt within the VLAN implementation of the Kernel. This underflow can be exploited by an attacker to trigger unexpected behavior or potentially execute arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet, but it is crucial to address it to ensure the integrity and security of the system. The vulnerability was introduced in Linux Kernel version v5.4.160 and has been fixed in version v5.4.163.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

No specific workaround has been provided for this vulnerability. It is advised to apply the fix by updating the Linux Kernel to the recommended version.

Conclusion

The vulnerability in the Kernel's VLAN implementation, which caused an underflow issue in the real_dev refcnt, has been addressed in Linux Kernel version v5.4.163. It is crucial to update the Kernel to this version or later to mitigate the vulnerability and ensure the security of the system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but it has the potential to allow attackers to trigger unexpected behavior or execute arbitrary code.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

The vulnerability was introduced in Linux Kernel version v5.4.160 and has been fixed in version v5.4.163.

You can find more information about this vulnerability in the GSD-2021-1002438 entry of the GSD database at https://github.com/cloudsecurityalliance/gsd-database.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback