CVE-2024-50095

Description

A flaw was found in the Linux kernel's RDMA/mad agent. A local attacker could exploit a vulnerability in the timeout handler of the MAD agent, where it excessively acquires and releases locks for each timed-out Work Request (WR). This heavy locking contention can lead to a softlockup, effectively causing a Denial of Service (DoS) on the affected system.

Mitigation

If RDMA functionality is not required, prevent the `ib_mad` kernel module from loading to mitigate this vulnerability. To blacklist the module, create a file named `/etc/modprobe.d/blacklist-ib_mad.conf` with the content `blacklist ib_mad`. A system reboot is required for this change to take effect. This may impact applications relying on RDMA.

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).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.55.57.5
Attack VectorLocalLocalNetwork
Attack ComplexityLowLowLow
Privileges RequiredLowLowNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneNone
Integrity ImpactNoneNoneNone
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/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:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU)

Inconsistent locking discipline can lead to deadlock.

Frequently Asked Questions

Want to get errata notifications? Sign up here.