CVE-2026-68278

drm/dp/mst: fix buffer overflows in sideband chunk accumulation

State
Published
Severity
Not scored
Published
Aug 10, 2026
Updated
Aug 23, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/dp/mst: fix buffer overflows in sideband chunk accumulation

drm_dp_sideband_append_payload() has three related bugs when processing device-provided sideband reply data:

1. Zero-length curchunk_len underflow: msg_len is a 6-bit field taken directly from the DP sideband header. If a device sends msg_len=0, curchunk_len is set to zero. The condition (curchunk_idx >= curchunk_len) is immediately true, and curchunk_len-1 wraps to 255 (u8 underflow). drm_dp_msg_data_crc4() reads 255 bytes from chunk[48], then memcpy() writes 255 bytes into msg[], both far out of bounds.

2. chunk[48] overflow: curchunk_len can reach 63 (6-bit field). chunk[] is only 48 bytes. Multi-iteration payload assembly appends 16-byte blocks until curchunk_idx reaches curchunk_len, writing up to 15 bytes past the end of chunk[] into msg[].

3. msg[256] overflow: each chunk contributes (curchunk_len-1) bytes to msg[]. No check ensures curlen + (curchunk_len-1) stays within msg[256], so the memcpy can spill into adjacent struct fields.

All three are reachable from any DP MST device that can forge sideband reply messages on a physical connection.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ad7f8a1f9ced7f049f9b66d588723f243a7034cd to before ef2ecb6cf268debf3890df99fea01b6452dcf78eAffected
  • ad7f8a1f9ced7f049f9b66d588723f243a7034cd to before d4e05dedb252ed3e540a0c9be511e427f098110aAffected
  • ad7f8a1f9ced7f049f9b66d588723f243a7034cd to before 4d5109075a787de28c9e89940f9dee45269f91faAffected
  • ad7f8a1f9ced7f049f9b66d588723f243a7034cd to before 53937a2787d29c7a460e984dc4f20ff6ac91dc65Affected
  • ad7f8a1f9ced7f049f9b66d588723f243a7034cd to before ef0dbcc200c3389f1f781ab181932a97e54b51afAffected
  • ad7f8a1f9ced7f049f9b66d588723f243a7034cd to before 1e5827839ad0ceb0079d1560c321fa3656b54f21Affected
  • ad7f8a1f9ced7f049f9b66d588723f243a7034cd to before a6366b551079c79bf7bdbadd74c97358bcfe2d58Affected
  • ad7f8a1f9ced7f049f9b66d588723f243a7034cd to before 55bd5e685bda455b9b50c835f8c8442d52a344a3Affected
LinuxLinux
  • 3.17Affected
  • before 3.17Not affected
  • 5.10.266 through 5.10.*Not affected
  • 5.15.217 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.148 through 6.6.*Not affected
  • 6.12.101 through 6.12.*Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.1.6 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.