Vulnerability in Linux Kernel: net: bridge: fix vlan tunnel dst refcnt when egressing
Summary
GSD-2021-1001007: net: bridge: fix vlan tunnel dst refcnt when egressing. Affects Kernel versions >= 11538d039ac6efcf4f1a6c536e1b87cd3668a9fd, < fc7fdd8c5c2ad2fe3e297698be9d4dbe4a4e0579. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing essential functionality. It is a critical part of the Linux ecosystem and widely used in various devices and systems. The net: bridge module in the Linux Kernel handles bridging network traffic between different interfaces. It includes support for VLAN tunneling, which allows encapsulating VLAN-tagged packets within another VLAN. However, a vulnerability has been discovered in the net: bridge module related to the reference count of the VLAN tunnel destination (dst) when egressing packets.
Vulnerability Detail
The vulnerability in the net: bridge module of the Linux Kernel can lead to a reference count issue with the VLAN tunnel destination when egressing packets. This can potentially result in memory corruption or use-after-free vulnerabilities, which could be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v4.11 of the Linux Kernel and has been fixed in version v5.10.46.
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 specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring they have the latest security updates installed for their Linux Kernel. Additionally, implementing proper network security measures, such as firewall rules and network segmentation, can help reduce the potential impact of this vulnerability.
Conclusion
The vulnerability in the net: bridge module of the Linux Kernel can pose a significant risk to systems utilizing VLAN tunneling. It is crucial to update the Linux Kernel to version v5.10.46 or later to mitigate this vulnerability. Regularly checking for security updates and implementing proper network security measures are also recommended. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The net: bridge module in the Linux Kernel is responsible for bridging network traffic between different interfaces. It allows packets to be forwarded between network interfaces based on their MAC addresses.
VLAN tunneling is a technique that allows encapsulating VLAN-tagged packets within another VLAN. It enables the transmission of VLAN traffic across networks that do not support VLANs natively.
This vulnerability can lead to memory corruption or use-after-free vulnerabilities in the net: bridge module of the Linux Kernel. Exploiting this vulnerability could allow an attacker to execute arbitrary code or cause a denial-of-service condition.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your Linux Kernel 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.
You can find more information about this vulnerability in the official Linux Kernel security advisory or the vulnerability database maintained by the Cloud Security Alliance. Links to these resources can be found in the references section of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.