CVE-2024-53121
Description
A flaw was found in the Linux kernel's Mellanox (mlx5) network driver. This vulnerability can lead to a Denial of Service (DoS) when a race condition is triggered during the concurrent deletion and addition of matching network flow steering rules. A local user with network configuration privileges could exploit improper locking of flow table entries to trigger a kernel crash.
Mitigation
To mitigate this vulnerability, prevent the mlx5_core kernel module from being loaded by creating a modprobe configuration file:
# echo "install mlx5_core /bin/true" > /etc/modprobe.d/disable-mlx5_core.conf
If the module is currently loaded, unload it:
# modprobe -r mlx5_core
If the module is in use and cannot be removed dynamically, a system reboot is required for the configuration to take effect.
Warning: Disabling or unloading the mlx5_core driver disables all Mellanox/NVIDIA ConnectX interfaces, causing total loss of network connectivity across those devices. Only apply this configuration if the system does not depend on Mellanox network hardware.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 4.4 | 5.5 | 7.8 |
| Attack Vector | Local | Local | Local |
| Attack Complexity | Low | Low | Low |
| Privileges Required | High | Low | Low |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | None | None | High |
| Integrity Impact | None | None | High |
| Availability Impact | High | High | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.