Linux Kernel Memory Leak Vulnerability in macvlan Component

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's macvlan component. This issue arises in the 'source' mode when the macvlan_common_newlink function is called to manage a list of remote source MAC addresses. If an error occurs during this process, the allocated resources are not properly released, leading to memory leaks. The vulnerability has been addressed by ensuring that resources are cleaned up in case of an error.

Impact

Exploitation of this vulnerability leads to memory leaks, where allocated memory is not properly released, potentially causing increased memory usage and degradation of system performance over time.

Reproduction

The vulnerability can be reproduced by adding a macvlan interface in 'source' mode while linking it to an existing interface, such as eth0'. If the operation fails, the memory allocated for managing the source MAC addresses is not freed, causing a memory leak.

Remediation

Users should upgrade to the latest version of the Linux kernel where this vulnerability has been patched.

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.