CVE-2024-26914
published high CVSS 3.1 · 7.8drm/amd/display: fix incorrect mpc_combine array size
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 0bd8ef618a42d7e6ea3f701065264e15678025e3 · 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 39079fe8e660851abbafa90cd55cbf029210661f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 6.7.6 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: fix incorrect mpc_combine array size [why] MAX_SURFACES is per stream, while MAX_PLANES is per asic. The mpc_combine is an array that records all the planes per asic. Therefore MAX_PLANES should be used as the array size. Using MAX_SURFACES causes array overflow when there are more than 3 planes. [how] Use the MAX_PLANES for the mpc_combine array size.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The overflow is reached only through the local DRM atomic modeset ioctl (`DRM_IOCTL_MODE_ATOMIC`) on /dev/dri/cardN, which drives `amdgpu_dm_atomic_check()` → `dc_validate_global_state()` → `dcn32_internal_validate_bw()`. No network or remote data path reaches `dcn32_fpu.c`. AC:L - On an affected DCN3.2/3.2.1 ASIC the attacker fully controls the trigger — assigning four planes (two primaries plus two MPO overlays) across two CRTCs in a single atomic commit, even a TEST_ONLY one, deterministically pushes `mpc_combine_count` past the 3-entry array. No race, no timing window, no unpredictable memory layout is required. PR:L - The atomic ioctl requires DRM master, which an ordinary unprivileged user holds for their own graphical session (or obtains by opening the card first on a kiosk/embedded/automotive system with no running compositor); no root or capability in the init namespace is needed. UI:N - The attacker performs the entire sequence — configuring planes and issuing the atomic commit/test — from their own process; no other user must open a file, plug in hardware, or take any action. S:U - The corruption occurs in the kernel stack frame of the amdgpu display driver and stays within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Clobbering `mpc_combine_count` with the low bits of a kernel pointer makes `update_pipes_with_slice_table()` and `update_slice_table_for_plane()` read hundreds of megabytes worth of out-of-bounds indices off the kernel stack and treat that data as `dc_plane_state`/`pipe_ctx` pointers, giving an out-of-bounds read primitive over kernel memory; per kernel CVSS guidance, memory corruption of this class is scored High. I:H - This is an out-of-bounds stack write: kernel pointer values are written past the end of `struct pipe_slice_table`, and the corrupted count subsequently allows an append at an attacker-uninfluenced-but-huge index, producing a wild write plus `slice_count += diff` increments at out-of-bounds addresses — an exploitable memory-corruption primitive. A:H - Once the count is corrupted into a multi-million value, the driver dereferences garbage pointers inside a `DC_FP_START()`/kernel_fpu section while holding the DC lock, which reliably produces an oops/panic and takes down the display pipeline.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 0bd8ef618a42d7e6ea3f701065264e15678025e3 (affected · git)4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to < 39079fe8e660851abbafa90cd55cbf029210661f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.15 (affected)0 to < 4.15 (unaffected · semver)6.7.6 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
drm/amd/display: fix incorrect mpc_combine array size
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2317645b3cf32b27d3f39c0dc6b118907041a67c4949e461464d9478280bf256
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record