CVE-2024-57876

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

No CVSS score yet EPSS 0.16%

Published 11 Jan 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2024-57876

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-57876 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.79% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b30fcedeba643ca16eaa6212c1245598b7cd830d, before 94b33b2d7640e807869451384eb88321dd0ffbd4
affected from 1d082618bbf3b6755b8cc68c0a8122af2842d593, before d834d20d2e86c52ed5cab41763fa61e6071680ef
affected from 1d082618bbf3b6755b8cc68c0a8122af2842d593, before be826b4451fd187a7c0b04be4f8243d5df6e0450
affected from 1d082618bbf3b6755b8cc68c0a8122af2842d593, before a6fa67d26de385c3c7a23c1e109a0e23bfda4ec7
affected ee4a4282d78d96e07e714c28ca54679713fa2157
affected db35e49413a4d03ea0c003598803e49956f59324
affected a579ed4613b5a64074963988ad481e43cf3b917b
affected from 6.1.18, before 6.1.120
affected from 5.10.173, before 5.11
affected from 5.15.100, before 5.16
affected from 6.2.5, before 6.3
Other versions: unaffected
Linux
affected 6.3
unaffected before 6.3
unaffected from 6.1.120 up to and including 6.1.*
unaffected from 6.6.66 up to and including 6.6.*
unaffected from 6.12.5 up to and including 6.12.*
unaffected 6.13 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-57876 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-57876

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-57876
trivy image --scanners vuln IMAGE | grep CVE-2024-57876

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-57876 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.