CVE-2026-68278: drm/dp/mst: fix buffer overflows in sideband chunk accumulation
In the Linux kernel, the following vulnerability has been resolved:
drm/dp/mst: fix buffer overflows in sideband chunk accumulation
drmdpsidebandappendpayload() has three related bugs when processing device-provided sideband reply data:
1. Zero-length curchunklen underflow: msglen is a 6-bit field taken directly from the DP sideband header. If a device sends msglen=0, curchunklen is set to zero. The condition (curchunkidx >= curchunklen) is immediately true, and curchunklen-1 wraps to 255 (u8 underflow). drmdpmsgdatacrc4() reads 255 bytes from chunk[48], then memcpy() writes 255 bytes into msg[], both far out of bounds.
2. chunk[48] overflow: curchunklen can reach 63 (6-bit field). chunk[] is only 48 bytes. Multi-iteration payload assembly appends 16-byte blocks until curchunkidx reaches curchunklen, writing up to 15 bytes past the end of chunk[] into msg[].
3. msg[256] overflow: each chunk contributes (curchunklen-1) bytes to msg[]. No check ensures curlen + (curchunklen-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.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68278?
CVE-2026-68278 has a risk severity score of 55.
What types of vulnerabilities are associated with CVE-2026-68278?
CVE-2026-68278 is associated with buffer overflow vulnerabilities.
How do I fix CVE-2026-68278?
To fix CVE-2026-68278, you should update your Linux kernel to include the latest patches addressing this vulnerability.
What systems are affected by CVE-2026-68278?
CVE-2026-68278 affects systems running vulnerable versions of the Linux kernel that utilize the drm_dp_sideband_append_payload() function.
What are the potential consequences of CVE-2026-68278 if left unpatched?
If CVE-2026-68278 is left unpatched, it may allow attackers to exploit buffer overflows, potentially leading to system crashes or arbitrary code execution.