drm/dp/mst: fix buffer overflows in sideband chunk accumulation (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/ef2ecb6cf268debf3890df99fea01b6452dcf78e
- https://git.kernel.org/stable/c/d4e05dedb252ed3e540a0c9be511e427f098110a
- https://git.kernel.org/stable/c/4d5109075a787de28c9e89940f9dee45269f91fa
- https://git.kernel.org/stable/c/53937a2787d29c7a460e984dc4f20ff6ac91dc65
- https://git.kernel.org/stable/c/ef0dbcc200c3389f1f781ab181932a97e54b51af
- https://git.kernel.org/stable/c/1e5827839ad0ceb0079d1560c321fa3656b54f21
- https://git.kernel.org/stable/c/a6366b551079c79bf7bdbadd74c97358bcfe2d58
- https://git.kernel.org/stable/c/55bd5e685bda455b9b50c835f8c8442d52a344a3
European references
- ENISA EUVD · EUVD-2026-55379
- GCVE · GCVE-0-2026-68278
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1373 — Multiples vulnérabilités dans les produits Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1334 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1255 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1231 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1202 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1164 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1163 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1069 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected ad7f8a1f9ced7f049f9b66d588723f243a7034cd < ef2ecb6cf268debf3890df99fea01b6452dcf78e ; affected ad7f8a1f9ced7f049f9b66d588723f243a7034cd < d4e05dedb252ed3e540a0c9be511e427f098110a ; affected ad7f8a1f9ced7f049f9b66d588723f243a7034cd < 4d5109075a787de28c9e89940f9dee45269f91fa ; affected ad7f8a1f9ced7f049f9b66d588723f243a7034cd < 53937a2787d29c7a460e984dc4f20ff6ac91dc65 ; affected ad7f8a1f9ced7f049f9b66d588723f243a7034cd < ef0dbcc200c3389f1f781ab181932a97e54b51af ; affected ad7f8a1f9ced7f049f9b66d588723f243a7034cd < 1e5827839ad0ceb0079d1560c321fa3656b54f21 |
| Linux · Linux | affected 3.17 ; unaffected 0 < 3.17 ; unaffected 5.10.266 ≤ 5.10.* ; unaffected 5.15.217 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.148 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |