# CVE-2024-56616: drm/dp\_mst: Fix MST sideband message body length check

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-28)
- **CWE:** CWE-129
- **Published:** 2024-12-27T14:51:21.009Z
- **Modified:** 2026-06-17T08:12:33.580Z

## Who should check

- Anyone running Linux \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 109f91d8b9335b0f3714ef9920eae5a8b21d56af; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 70e7166612f4e6da8d7d0305c47c465d88d037e5; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 780fa184d4dc38ad6c4fded345ab8f9be7a63e96; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< c58947a8d4a500902597ee1dbadf0518d7ff8801; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 1fc1f32c4a3421b9d803f18ec3ef49db2fb5d5ef; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< bd2fccac61b40eaf08d9546acc9fef958bfe4763
- Anyone running Linux 3.17

## 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\]

## Affected and fixed versions

- Linux: \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 109f91d8b9335b0f3714ef9920eae5a8b21d56af; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 70e7166612f4e6da8d7d0305c47c465d88d037e5; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 780fa184d4dc38ad6c4fded345ab8f9be7a63e96; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< c58947a8d4a500902597ee1dbadf0518d7ff8801; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 1fc1f32c4a3421b9d803f18ec3ef49db2fb5d5ef; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< bd2fccac61b40eaf08d9546acc9fef958bfe4763 (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56616. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56616.md
Affected: Linux >= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, < 109f91d8b9335b0f3714ef9920eae5a8b21d56af; >= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, < 70e7166612f4e6da8d7d0305c47c465d88d037e5; >= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, < 780fa184d4dc38ad6c4fded345ab8f9be7a63e96; >= ad7f8a1f9ced7f049f9b66d…
Fixed in: Linux 109f91d8b9335b0f3714ef9920eae5a8b21d56af, Linux 70e7166612f4e6da8d7d0305c47c465d88d037e5, Linux 780fa184d4dc38ad6c4fded345ab8f9be7a63e96, Linux 1fc1f32c4a3421b9d803f18ec3ef49db2fb5d5ef

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56616 being exploited?

There is no confirmed exploitation: CVE-2024-56616 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-56616?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56616?

Linux \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 109f91d8b9335b0f3714ef9920eae5a8b21d56af; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 70e7166612f4e6da8d7d0305c47c465d88d037e5; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 780fa184d4dc38ad6c4fded345ab8f9be7a63e96; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< c58947a8d4a500902597ee1dbadf0518d7ff8801; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< 1fc1f32c4a3421b9d803f18ec3ef49db2fb5d5ef; \>= ad7f8a1f9ced7f049f9b66d588723f243a7034cd, \< bd2fccac61b40eaf08d9546acc9fef958bfe4763; Linux 3.17.

### Is there a fix for CVE-2024-56616?

Yes. Fixed in Linux 109f91d8b9335b0f3714ef9920eae5a8b21d56af, Linux 70e7166612f4e6da8d7d0305c47c465d88d037e5, Linux 780fa184d4dc38ad6c4fded345ab8f9be7a63e96, Linux 1fc1f32c4a3421b9d803f18ec3ef49db2fb5d5ef. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-56616?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/109f91d8b9335b0f3714ef9920eae5a8b21d56af>
- patch: <https://git.kernel.org/stable/c/70e7166612f4e6da8d7d0305c47c465d88d037e5>
- patch: <https://git.kernel.org/stable/c/780fa184d4dc38ad6c4fded345ab8f9be7a63e96>
- patch: <https://git.kernel.org/stable/c/c58947a8d4a500902597ee1dbadf0518d7ff8801>
- patch: <https://git.kernel.org/stable/c/1fc1f32c4a3421b9d803f18ec3ef49db2fb5d5ef>
- patch: <https://git.kernel.org/stable/c/bd2fccac61b40eaf08d9546acc9fef958bfe4763>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56616>

HTML: <https://flawdb.com/CVE-2024-56616> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56616>
