Linux Kernel vdpa/mlx5 Uninitialized Resource Release Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's vdpa/mlx5 component, specifically within the virtual data path accelerator for Mellanox devices. The issue arises when a vdpa device is added without a MAC address, leading to a warning and a stack trace. This occurs because the resource cleanup functions are not designed to handle uninitialized resources, causing a failure in the error handling process. The vulnerability affects several versions of the Linux kernel.

Impact

The vulnerability can lead to a warning being issued and a stack trace being generated, indicating a failure in the resource management of the vdpa device. This could potentially be exploited to disrupt the normal operation of the system's virtual networking components.

Reproduction

To reproduce this vulnerability, add a vdpa device in the mlx5 component without provisioning a MAC address. This will trigger the warning about the missing MAC address and cause a stack trace to be generated, highlighting the issue with uninitialized resources not being properly handled.

Remediation

Users can update to the latest version of the Linux kernel, where this vulnerability has been addressed. Instructions for updating the kernel can be found in the official Linux kernel documentation.

Added: Aug 22, 2025, 5:19 PM
Updated: Aug 22, 2025, 5:19 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.8
remediation
7.7
relevance
0.4
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.