CVE-2026-43468
kernel: net/mlx5: Fix deadlock between devlink lock and esw->wq
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 8, 2026
Updated · July 3, 2026
Description
A flaw was found in the net/mlx5 component of the Linux kernel. This vulnerability involves a deadlock condition that can occur when the eswitch_mode_set function attempts to acquire a devlink lock while the esw->work_queue is executing and also trying to acquire the same lock. This concurrent lock acquisition can lead to a system freeze or unresponsiveness, resulting in a Denial of Service (DoS).
Statement
This Moderate severity flaw in the Linux kernel's net/mlx5 component can lead to a system freeze, causing a Denial of Service. The vulnerability arises from a deadlock when the eswitch_mode_set function and the esw->work_queue concurrently attempt to acquire the same devlink lock. This issue specifically affects systems utilizing Mellanox network adapters where these functions are actively used.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To prevent the mlx5_core kernel module from loading, create a file named /etc/modprobe.d/blacklist-mlx5.conf with the content blacklist mlx5_core. This action will disable Mellanox network adapters, impacting network functionality. After applying the change, regenerate the initramfs using dracut -f -v and reboot the system for the mitigation to take effect. A system restart is required.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-833 · Deadlock