CVE-2024-57876

Description

A flaw was found in the Linux kernel's DisplayPort Multi-Stream Transport (DP MST) subsystem. A race condition can occur when a DisplayPort device is disconnected while sideband communication messages are actively being processed. A local user or an attacker with physical access to the display port can trigger this flaw during topology removal, leading to memory corruption and a Denial of Service (DoS) through a system crash.

Statement

A race condition was found in the Linux kernel's DisplayPort Multi-Stream Transport (DP MST) subsystem, affecting the kernel and kernel-rt in Red Hat Enterprise Linux 8, 9, and 10. If a DisplayPort MST topology is removed while an MST sideband message (a down reply or an up request) is being received, the message reception state can be reset by one thread via drm_dp_mst_topology_mgr_set_mst(false) while another thread reads and parses the same message without holding a lock. This race can lead to memory corruption and a denial of service through a system crash. Red Hat rated this flaw as Moderate (CVSS 4.6, AV:P/AC:H/PR:L) because triggering it requires physical access to the DisplayPort connector, or local access combined with disconnecting a DisplayPort MST device at the precise moment a sideband message is being processed; this is more restrictive than the NIST score of 7.0, which assumes a broader local attack scope. Red Hat Enterprise Linux 6 and 7 are not affected because the vulnerable code is not present in those products. For the RHEL 8 kernel the fix is deferred due to the limited practical exploitability (physical or local access plus a narrow timing window), leaving a residual risk of a physical or local denial of service. In the remaining affected streams, including the RHEL 9 and RHEL 10 kernels and kernel-rt and the Hosted OpenShift (ARO and OSD) environments, remediation is delegated to the respective engineering teams; fixes have been pursued for the RHEL 9.4.z and RHEL 9.6 kernel streams.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

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.67N/A
Attack VectorPhysicalLocalN/A
Attack ComplexityHighHighN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityNoneHighN/A
Integrity ImpactLowHighN/A
Availability ImpactHighHighN/A

Vector

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

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

Understanding the Weakness (CWE)

Integrity,Confidentiality

Technical Impact: Modify Application Data; Read Application Data

Frequently Asked Questions

Want to get errata notifications? Sign up here.