Linux Kernel net/mlx5 LAG Device Debugfs Directory Creation Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's handling of Link Aggregation Group (LAG) devices within the net/mlx5 component. The issue arises because the function responsible for adding a LAG device to the debug filesystem can incorrectly indicate success, even after encountering an error. This flaw allows the initialization process to proceed without a valid LAG context, leading to the creation of debugfs entries that could be accessed with a null pointer. Such access could cause null pointer dereferences, potentially leading to system instability or crashes.

Impact

Exploitation of this vulnerability could result in null pointer dereferences, causing system crashes or instability.

Reproduction

The vulnerability can be reproduced by adding a LAG device to the debug filesystem without a valid LAG context. This can be done by simulating an error condition that is not properly handled, allowing the initialization process to proceed without a valid device context. Once the device is added to the debug filesystem, the exposed interfaces can be accessed, leading to a null pointer dereference.

Remediation

Users can update to the latest version of the Linux kernel, where this vulnerability has been addressed. Instructions for downloading the patched version are available on the official Linux kernel website.

Added: May 1, 2026, 3:58 PM
Updated: May 1, 2026, 3:58 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
7.2
threat
4.8
urgency
2.9
incentive
0.0

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