CVE-2024-53100

Description

A flaw was found in the Linux kernel's NVMe over TCP (Non-Volatile Memory Express over Transmission Control Protocol) driver. A race condition can occur between locking and destroying queue resources when querying address information during error recovery. A local user could exploit this timing issue to cause a kernel crash, resulting in a Denial of Service (DoS).

Mitigation

To mitigate this vulnerability, prevent the `nvme-tcp` kernel module from being loaded if NVMe over TCP storage is not required.

1. Blacklist the module by executing the following commands as root:

text
echo "blacklist nvme-tcp" > /etc/modprobe.d/nvme-tcp.conf
echo "install nvme-tcp /bin/true" >> /etc/modprobe.d/nvme-tcp.conf

2. If the module is currently loaded and not in active use, unload it:

text
modprobe -r nvme-tcp

Warning: If the module is actively in use by attached NVMe storage devices, unloading it will disrupt storage connectivity, and a system reboot will be required for the configuration changes to take effect. Applying this mitigation will prevent the system from establishing connections to NVMe over Fabrics devices using TCP.

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 Score4.74.77.8
Attack VectorLocalLocalLocal
Attack ComplexityHighHighLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneHigh
Integrity ImpactNoneNoneHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD: CVSS:3.1/AV:L/AC:H/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

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

When a race condition makes it possible to bypass a resource cleanup routine or trigger multiple initialization routines, it may lead to resource exhaustion.

Availability

Technical Impact: DoS: Crash, Exit, or Restart; DoS: Instability

When a race condition allows multiple control flows to access a resource simultaneously, it might lead the product(s) into unexpected states, possibly resulting in a crash.

Confidentiality,Integrity

Technical Impact: Read Files or Directories; Read Application Data

When a race condition is combined with predictable resource names and loose permissions, it may be possible for an attacker to overwrite or access confidential data (CWE-59).

Access Control

Technical Impact: Execute Unauthorized Code or Commands; Gain Privileges or Assume Identity; Bypass Protection Mechanism

This can have security implications when the expected synchronization is in security-critical code, such as recording whether a user is authenticated or modifying important state information that should not be influenced by an outsider.

Frequently Asked Questions

Want to get errata notifications? Sign up here.