CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

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 HatNVDcve.org
Base Score4.45.58.8
Attack VectorLocalLocalAdjacent Network
Attack ComplexityLowLowLow
Privileges RequiredHighLowNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneHigh
Integrity ImpactNoneNoneHigh
Availability ImpactHighHighHigh

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

Want to get errata notifications? Sign up here.