Linux Kernel Bridge Driver VLAN Offload Memory Leak Vulnerability

Vulnerability

A vulnerability in the Linux kernel's bridge driver can lead to memory leaks when managing VLAN protocols. This issue arises during the offloading of VLANs to hardware via switchdev, which is not properly synchronized with the 8021q driver, causing redundant operations and memory management errors. The vulnerability affects several Linux kernel versions.

Impact

Exploitation of this vulnerability can lead to memory leaks in the bridge driver, causing unreferenced objects to remain in memory and potentially leading to degraded system performance or stability.

Reproduction

The vulnerability can be reproduced by offloading VLANs to hardware using the switchdev method, and then changing the VLAN protocol. This will trigger a notification to the switchdev driver, which should handle the protocol change. However, the 8021q driver is also called, leading to a memory leak when VLANs are deleted, especially if they were offloaded via switchdev.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
5.7
remediation
0.0
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.