VDB

CVE-2024-56616

CVE-2024-56616 PUBLISHED

drm/dp_mst: Fix MST sideband message body length check

Reported by linux · Published December 27, 2024

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]

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux6.1.124-134.200.amzn2023
kernel-develAmazon Linux6.1.124-134.200.amzn2023
perfAmazon Linux6.1.124-134.200.amzn2023
kernel-tools-develAmazon Linux6.1.124-134.200.amzn2023
kernel-toolsAmazon Linux6.1.124-134.200.amzn2023
kernel-libbpf-staticAmazon Linux6.1.124-134.200.amzn2023
linux_kernellinux6.12.5, 6.6.66, 6.1.120, 5.15.176, 5.10.233
LinuxLinuxbd2fccac61b40eaf08d9546acc9fef958bfe4763, 780fa184d4dc38ad6c4fded345ab8f9be7a63e96, 109f91d8b9335b0f3714ef9920eae5a8b21d56af

Affected products

VendorProductVersions
LinuxLinuxad7f8a1f9ced7f049f9b66d588723f243a7034cd, ad7f8a1f9ced7f049f9b66d588723f243a7034cd, ad7f8a1f9ced7f049f9b66d588723f243a7034cd
LinuxLinux3.17, 0, 5.10.233
amazon:2023kernel-headers0
amazon:2023kernel-devel0
amazon:2023perf0
amazon:2023kernel-tools-devel0
amazon:2023kernel-tools0
amazon:2023kernel-libbpf-static0
LinuxLinux3.17, 6.1.120, *
amazon:2023bpftool0
amazon:2023python3-perf0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-devel0
linuxlinux_kernel3.17, 3.17, 3.17
amazon:2023kernel-libbpf0
amazon:2023kernel-modules-extra0
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.124-134.2000

Timeline

  • Dec 27, 2024 CVE Published
  • Dec 28, 2024 EPSS Score (30 in total, the first dated here)
  • Jan 24, 2025 Coalition ESS Score (14 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Dec 29, 2025 Security Advisory (438 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (356 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-56616
vulnetix vdb fixes CVE-2024-56616

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56616/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›