Linux Kernel net/mlx5 Lockdep Assertion Synchronization Unload Event Vulnerability

Vulnerability

A lock dependency assertion issue has been addressed in the Linux kernel's net/mlx5 component. This vulnerability arose during the synchronization reset unload process, particularly when the 'devlink reload fw_activate' option was used. The problem occurred because the Physical Function (PF) held the devlink lock while managing the unload event, leading to a double-locking situation. The solution involves delegating the handling of the synchronization reset unload event back to the devlink callback process, thereby avoiding the double-locking issue and resolving the associated lockdep warning.

Impact

Exploitation of this vulnerability could lead to a deadlock situation, where two or more processes are unable to proceed because each is waiting for the other to release a resource, potentially causing system instability.

Reproduction

To reproduce this issue, initiate a synchronization reset unload event in the net/mlx5 component while the devlink lock is already held by the Physical Function. This can be done by using the 'devlink reload fw_activate' option, which triggers the unload event while the lock is still active, creating a lock dependency assertion warning.

Remediation

Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.

Added: Sep 16, 2025, 2:57 PM
Updated: Sep 16, 2025, 2:57 PM

Vulnerability Rating

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