Linux Kernel virtio_net Memory Leak Vulnerability in XDP_TX

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's virtio_net component, specifically within the XDP_TX path. The issue arises when the function xdp_convert_buff_to_frame() is called to retrieve the xdpf. If this function returns NULL, there should be a check to determine if the xdp_page was allocated by xdp_linearize_page(). If it was newly allocated, it needs to be freed, similar to the existing error handling for 'goto err_xdp'.

Impact

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

Added: Jun 18, 2025, 6:30 PM
Updated: Jun 18, 2025, 6:30 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.2
threat
3.2
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.