CVE-2024-53224
Description
A flaw was found in the Linux kernel's mlx5 InfiniBand driver. This flaw allows a local user to cause a Denial of Service (DoS) by triggering a system crash. A race condition between device deregistration and background event handling can cause tasks to execute after the hardware device has been unregistered, resulting in a null-pointer dereference and kernel panic.
Mitigation
Prevent the mlx5_ib kernel module from loading if Mellanox RDMA or InfiniBand capabilities are not required:
1. Blacklist the module by executing:
# echo "install mlx5_ib /bin/true" > /etc/modprobe.d/disable-mlx5_ib.conf
2. If the module is already loaded, unload it:
# modprobe -r mlx5_ib
Caveat: Disabling mlx5_ib disables InfiniBand and RoCE network capabilities on Mellanox adapters. If the driver is actively running, unloading it may disrupt active RDMA traffic, and a system restart will be required if the module is in use and cannot be unloaded.
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 | 8.8 |
| Attack Vector | Local | Local | Adjacent Network |
| Attack Complexity | Low | Low | Low |
| Privileges Required | High | Low | None |
| 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:A/AC:L/PR:N/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.