Memory Leak in net: bridge: vlan

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000267: net: bridge: vlan: fix memory leak in __allowed_ingress. Affects Kernel versions >= a580c76d534c7360ba68042b19cb255e8420e987, < c5e216e880fa6f2cd9d4a6541269377657163098. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The net: bridge: vlan package is a component of the Linux Kernel that handles VLAN functionality within network bridges. It allows for the creation and management of virtual LANs (VLANs) on a bridge device. VLANs are used to segregate network traffic and improve network efficiency. However, a vulnerability has been discovered in this package that can lead to a memory leak.

Vulnerability Detail

The vulnerability in net: bridge: vlan is caused by a memory leak in the __allowed_ingress function. When processing VLAN ingress traffic, memory is allocated but not properly freed, resulting in a continuous accumulation of memory over time. This can lead to resource exhaustion and potential denial of service (DoS) attacks. The vulnerability was introduced in version v5.6 of the Linux Kernel and has been fixed in version v5.15.19.

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

There is no known workaround for this vulnerability. It is necessary to apply the fix by updating the Linux Kernel.

Conclusion

The memory leak vulnerability in net: bridge: vlan can have serious consequences, including resource exhaustion and potential denial of service attacks. It is crucial to update the Linux Kernel to version v5.15.19 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

Net: bridge: vlan is a component of the Linux Kernel that handles VLAN functionality within network bridges. It allows for the creation and management of virtual LANs (VLANs) on a bridge device.

A memory leak occurs when memory is allocated but not properly freed, leading to a continuous accumulation of memory over time. This can result in resource exhaustion and potential performance issues or crashes.

The vulnerability in net: bridge: vlan can lead to a memory leak, which can cause resource exhaustion and potential denial of service (DoS) attacks. It may result in degraded system performance or even system crashes.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

To update the Linux Kernel, you can fetch the latest kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compile it according to the provided instructions. Alternatively, you can wait for your Linux distribution to release an updated kernel package that includes the fix.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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