CVE-2024-56616
drm/dp_mst: Fix MST sideband message body length check
Check your servers for CVE-2024-56616
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-56616 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/dp_mst: Fix MST sideband message body length check
Fix the MST sideband message body length check, which must be at least 1 byte accounting for the message body CRC (aka message data CRC) at the end of the message.
This fixes a case where an MST branch device returns a header with a correct header CRC (indicating a correctly received body length), with the body length being incorrectly set to 0. This will later lead to a memory corruption in drm_dp_sideband_append_payload() and the following errors in dmesg:
UBSAN: array-index-out-of-bounds in drivers/gpu/drm/display/drm_dp_mst_topology.c:786:25 index -1 is out of range for type 'u8 [48]' Call Trace: drm_dp_sideband_append_payload+0x33d/0x350 [drm_display_helper] drm_dp_get_one_sb_msg+0x3ce/0x5f0 [drm_display_helper] drm_dp_mst_hpd_irq_handle_event+0xc8/0x1580 [drm_display_helper]
memcpy: detected field-spanning write (size 18446744073709551615) of single field "&msg->msg[msg->curlen]" at drivers/gpu/drm/display/drm_dp_mst_topology.c:791 (size 256) Call Trace: drm_dp_sideband_append_payload+0x324/0x350 [drm_display_helper] drm_dp_get_one_sb_msg+0x3ce/0x5f0 [drm_display_helper] drm_dp_mst_hpd_irq_handle_event+0xc8/0x1580 [drm_display_helper]
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd, before 109f91d8b9335b0f3714ef9920eae5a8b21d56af affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd, before 70e7166612f4e6da8d7d0305c47c465d88d037e5 affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd, before 780fa184d4dc38ad6c4fded345ab8f9be7a63e96 affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd, before c58947a8d4a500902597ee1dbadf0518d7ff8801 affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd, before 1fc1f32c4a3421b9d803f18ec3ef49db2fb5d5ef affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd, before bd2fccac61b40eaf08d9546acc9fef958bfe4763
Other versions: unaffected
|
| Linux |
affected 3.17 unaffected before 3.17 unaffected from 5.10.233 up to and including 5.10.* unaffected from 5.15.176 up to and including 5.15.* 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-56616 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-56616
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-56616
trivy image --scanners vuln IMAGE | grep CVE-2024-56616
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
- https://git.kernel.org/stable/c/109f91d8b9335b0f3714ef9920eae5a8b21d56af git.kernel.org
- https://git.kernel.org/stable/c/70e7166612f4e6da8d7d0305c47c465d88d037e5 git.kernel.org
- https://git.kernel.org/stable/c/780fa184d4dc38ad6c4fded345ab8f9be7a63e96 git.kernel.org
- https://git.kernel.org/stable/c/c58947a8d4a500902597ee1dbadf0518d7ff8801 git.kernel.org
- https://git.kernel.org/stable/c/1fc1f32c4a3421b9d803f18ec3ef49db2fb5d5ef git.kernel.org
- https://git.kernel.org/stable/c/bd2fccac61b40eaf08d9546acc9fef958bfe4763 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
Source: the record CVE-2024-56616 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse