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.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability occurs in the Linux DRM DP MST subsystem during sideband reply processing. The loader performs buffer appends that can overflow three different buffers when the device sends malformed content. The result is a buffer over-read and write beyond the boundaries of the chunk, msg, and the surrounding structure. Such out-of-bounds operations can corrupt kernel memory and can be leveraged to execute arbitrary code or crash the kernel.

Affected Systems

Affects all Linux kernel distributions that include the drm_dp_sideband_append_payload() routine without the patch. The vulnerability is present in the kernel's Direct Rendering Manager (DRM) displayport (DP) infrastructure. All devices that expose DP MST sideband channels on a physical connection are susceptible. Specific kernel versions are not enumerated but the patch is rooted at commits referenced in the given links. Systems using older kernels predating the patch commits are vulnerable.

Risk and Exploitability

The risk is high because the flawed code executes in kernel mode and is reachable from any DP MST device that can forge sideband replies. The EPSS score is not available, but the severity implied by the lack of mitigation and the nature of a kernel buffer overflow suggests a high likelihood of exploitation if an attacker can control the sideband data. The vulnerability is not listed in CISA KEV catalog; however, the potential for remote code execution warrants urgent mitigation. It is likely that a malicious device or compromised peripheral could deliver malformed sideband data over a physical link.

Generated by OpenCVE AI on August 10, 2026 at 15:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch from commit 1e5827839ad0ceb0079d1560c321fa3656b54f21 or later.
  • Ensure that any connected DP MST devices are from trusted vendors and firmware has not been tampered with.
  • If immediate kernel update is not possible, limit use of DP MST by disabling the feature through kernel configuration or busing restrictions; consider disabling the sideband channel if not needed.

Generated by OpenCVE AI on August 10, 2026 at 15:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-190

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title drm/dp/mst: fix buffer overflows in sideband chunk accumulation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T12:01:54.285Z

Reserved: 2026-07-30T09:28:09.379Z

Link: CVE-2026-68278

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T15:30:05Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-190

    Integer Overflow or Wraparound