CVE-2026-68278 PUBLISHED

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

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd to 53937a2787d29c7a460e984dc4f20ff6ac91dc65 (excl.)
  • affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd to ef0dbcc200c3389f1f781ab181932a97e54b51af (excl.)
  • affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd to 1e5827839ad0ceb0079d1560c321fa3656b54f21 (excl.)
  • affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd to a6366b551079c79bf7bdbadd74c97358bcfe2d58 (excl.)
  • affected from ad7f8a1f9ced7f049f9b66d588723f243a7034cd to 55bd5e685bda455b9b50c835f8c8442d52a344a3 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.17 is affected
  • unaffected from 0 to 3.17 (excl.)
  • unaffected from 6.6.148 to 6.6.* (incl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References