Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2024-57876

Опубликовано: 11 янв. 2025
Источник: redhat
CVSS3: 4.6
EPSS Низкий

Описание

In the Linux kernel, the following vulnerability has been resolved: drm/dp_mst: Fix resetting msg rx state after topology removal If the MST topology is removed during the reception of an MST down reply or MST up request sideband message, the drm_dp_mst_topology_mgr::up_req_recv/down_rep_recv states could be reset from one thread via drm_dp_mst_topology_mgr_set_mst(false), racing with the reading/parsing of the message from another thread via drm_dp_mst_handle_down_rep() or drm_dp_mst_handle_up_req(). The race is possible since the reader/parser doesn't hold any lock while accessing the reception state. This in turn can lead to a memory corruption in the reader/parser as described by commit bd2fccac61b4 ("drm/dp_mst: Fix MST sideband message body length check"). Fix the above by resetting the message reception state if needed before reading/parsing a message. Another solution would be to hold the drm_dp_mst_topology_mgr::lock for the whole duration of the message reception/parsing in drm_dp_mst_handle_down_rep() and drm_dp_mst_handle_up_req(), however this would require a bigger change. Since the fix is also needed for stable, opting for the simpler solution in this patch.

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.

Отчет

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

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelWill not fix
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernel-rtWill not fix
Red Hat Enterprise Linux 9kernelAffected
Red Hat Enterprise Linux 9kernel-rtNot affected
Red Hat Enterprise Linux 8kernelFixedRHSA-2023:707714.11.2023
Red Hat Enterprise Linux 9.4 Extended Update SupportkernelFixedRHSA-2025:824828.05.2025

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-368
https://bugzilla.redhat.com/show_bug.cgi?id=2337142kernel: drm/dp_mst: Fix resetting msg rx state after topology removal

EPSS

Процентиль: 6%
0.00163
Низкий

4.6 Medium

CVSS3

Связанные уязвимости

CVSS3: 7
ubuntu
почти 2 года назад

In the Linux kernel, the following vulnerability has been resolved: drm/dp_mst: Fix resetting msg rx state after topology removal If the MST topology is removed during the reception of an MST down reply or MST up request sideband message, the drm_dp_mst_topology_mgr::up_req_recv/down_rep_recv states could be reset from one thread via drm_dp_mst_topology_mgr_set_mst(false), racing with the reading/parsing of the message from another thread via drm_dp_mst_handle_down_rep() or drm_dp_mst_handle_up_req(). The race is possible since the reader/parser doesn't hold any lock while accessing the reception state. This in turn can lead to a memory corruption in the reader/parser as described by commit bd2fccac61b4 ("drm/dp_mst: Fix MST sideband message body length check"). Fix the above by resetting the message reception state if needed before reading/parsing a message. Another solution would be to hold the drm_dp_mst_topology_mgr::lock for the whole duration of the message reception/parsing i...

CVSS3: 7
nvd
почти 2 года назад

In the Linux kernel, the following vulnerability has been resolved: drm/dp_mst: Fix resetting msg rx state after topology removal If the MST topology is removed during the reception of an MST down reply or MST up request sideband message, the drm_dp_mst_topology_mgr::up_req_recv/down_rep_recv states could be reset from one thread via drm_dp_mst_topology_mgr_set_mst(false), racing with the reading/parsing of the message from another thread via drm_dp_mst_handle_down_rep() or drm_dp_mst_handle_up_req(). The race is possible since the reader/parser doesn't hold any lock while accessing the reception state. This in turn can lead to a memory corruption in the reader/parser as described by commit bd2fccac61b4 ("drm/dp_mst: Fix MST sideband message body length check"). Fix the above by resetting the message reception state if needed before reading/parsing a message. Another solution would be to hold the drm_dp_mst_topology_mgr::lock for the whole duration of the message reception/parsing i

msrc
около 1 года назад

drm/dp_mst: Fix resetting msg rx state after topology removal

CVSS3: 7
debian
почти 2 года назад

In the Linux kernel, the following vulnerability has been resolved: d ...

CVSS3: 7
github
почти 2 года назад

In the Linux kernel, the following vulnerability has been resolved: drm/dp_mst: Fix resetting msg rx state after topology removal If the MST topology is removed during the reception of an MST down reply or MST up request sideband message, the drm_dp_mst_topology_mgr::up_req_recv/down_rep_recv states could be reset from one thread via drm_dp_mst_topology_mgr_set_mst(false), racing with the reading/parsing of the message from another thread via drm_dp_mst_handle_down_rep() or drm_dp_mst_handle_up_req(). The race is possible since the reader/parser doesn't hold any lock while accessing the reception state. This in turn can lead to a memory corruption in the reader/parser as described by commit bd2fccac61b4 ("drm/dp_mst: Fix MST sideband message body length check"). Fix the above by resetting the message reception state if needed before reading/parsing a message. Another solution would be to hold the drm_dp_mst_topology_mgr::lock for the whole duration of the message reception/parsin...

EPSS

Процентиль: 6%
0.00163
Низкий

4.6 Medium

CVSS3