CVE-2024-56616
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-headers | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| perf | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.124-134.200.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.124-134.200.amzn2023 |
| linux_kernel | linux | 6.12.5, 6.6.66, 6.1.120, 5.15.176, 5.10.233 |
| Linux | Linux | bd2fccac61b40eaf08d9546acc9fef958bfe4763, 780fa184d4dc38ad6c4fded345ab8f9be7a63e96, 109f91d8b9335b0f3714ef9920eae5a8b21d56af |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ad7f8a1f9ced7f049f9b66d588723f243a7034cd, ad7f8a1f9ced7f049f9b66d588723f243a7034cd, ad7f8a1f9ced7f049f9b66d588723f243a7034cd |
| Linux | Linux | 3.17, 0, 5.10.233 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| Linux | Linux | 3.17, 6.1.120, * |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| linux | linux_kernel | 3.17, 3.17, 3.17 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-livepatch-6.1.124-134.200 | 0 |
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