Skip to main content
Vulnerability Database/CVE-2024-26913

CVE-2024-26913: Linux Kernel Buffer Overflow Vulnerability

CVE-2024-26913 is a buffer overflow vulnerability in the Linux Kernel's AMD display driver that causes underflow and corruption issues in 8k30 displays. This article covers technical details, affected versions, and mitigation.

Updated:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-26913 Overview

CVE-2024-26913 is a high-severity vulnerability in the Linux kernel's AMD GPU display driver (drm/amd/display). The flaw resides in the dcn35 pipe split policy determination logic, where missing Output Display Manager (ODM) calculation causes underflow and visual corruption at 8K30 resolutions. The issue is classified as an integer underflow [CWE-191] and affects local attackers with low privileges. Successful exploitation can impact confidentiality, integrity, and availability of the host system through the display pipeline.

Critical Impact

A local, low-privileged attacker can trigger an integer underflow in the AMD display driver, leading to memory corruption conditions and potential denial of service on affected Linux systems.

Affected Products

  • Linux Kernel (upstream, prior to fix commits cdbe0be8874c and faf51b201bc4)
  • Distributions shipping the AMD dcn35 display code path
  • Systems using AMD GPUs with the amdgpu DRM driver

Discovery Timeline

  • 2024-04-17 - CVE-2024-26913 published to NVD
  • 2025-03-07 - Last updated in NVD database

Technical Details for CVE-2024-26913

Vulnerability Analysis

The vulnerability exists in the AMD Display Core Next (DCN) version 3.5 driver code path responsible for determining pipe split policy. The driver omits the Output Display Manager (ODM) calculation when selecting how to split rendering pipes across the display controller. At high resolutions such as 8K30, the missing ODM accounting results in incorrect pipe allocation and bandwidth math. The downstream effect is buffer underflow during scanout and on-screen corruption.

The underlying CWE-191 integer underflow occurs because pipe split heuristics expect ODM contributions to be factored into the available throughput. Without that calculation, subtraction operations on pipe resource counters can wrap below zero. The result is invalid pipe configuration committed to the hardware, producing the observed display underflow.

Root Cause

The root cause is missing ODM logic in the dcn35 pipe split policy code path. The patch adds the absent ODM calculation so the driver correctly accounts for ODM-driven pipe consumption before deciding how to split rendering work. The fix is implemented in commits cdbe0be8874c63bca85b8c38e5b1eecbdd18df31 and faf51b201bc42adf500945732abb6220c707d6f3.

Attack Vector

Exploitation requires local access with low privileges and no user interaction. An attacker with the ability to configure display modes or trigger high-resolution rendering can reach the vulnerable pipe split path. Because the bug sits in kernel-mode display logic, triggering the underflow may corrupt kernel display state and degrade system stability. No proof-of-concept exploit is publicly available, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog.

No verified exploit code is available for this CVE. See the Linux Kernel Commit Log for the patch implementing the missing ODM calculation.

Detection Methods for CVE-2024-26913

Indicators of Compromise

  • Kernel log entries from the amdgpu driver reporting display underflow or pipe split errors at high resolutions.
  • Unexpected visual corruption or screen tearing on systems driving 8K displays at 30Hz with AMD GPUs.
  • System instability or display subsystem hangs originating from dcn35 code paths in dmesg output.

Detection Strategies

  • Inventory Linux hosts running kernel versions that predate the fix commits cdbe0be8874c and faf51b201bc4.
  • Audit uname -r output across the fleet and correlate against distribution security advisories for AMD amdgpu patches.
  • Monitor kernel ring buffer for AMD DC subsystem warnings using centralized log collection.

Monitoring Recommendations

  • Forward dmesg and /var/log/kern.log to a centralized SIEM and alert on amdgpu or dcn35 error strings.
  • Track package versions for linux-image-* across Debian, Ubuntu, RHEL, and other distributions to confirm patch deployment.
  • Establish baselines for display subsystem error rates so spikes tied to crafted display configurations are visible.

How to Mitigate CVE-2024-26913

Immediate Actions Required

  • Apply the upstream Linux kernel patches from commits cdbe0be8874c63bca85b8c38e5b1eecbdd18df31 and faf51b201bc42adf500945732abb6220c707d6f3.
  • Update to a distribution kernel package that incorporates these stable tree fixes.
  • Restrict local account access on multi-user systems with AMD GPUs until patching is complete.

Patch Information

The Linux kernel maintainers resolved CVE-2024-26913 by adding the missing ODM calculation to the dcn35 pipe split policy logic. The fix is available in the stable tree via the Linux Kernel Commit Log and a companion backport in the Linux Kernel Commit Log. Consume the fix through your distribution's standard kernel update channel.

Workarounds

  • Avoid driving 8K resolutions at 30Hz on AMD dcn35-class hardware until the kernel is patched.
  • Limit display configuration privileges to trusted users on shared Linux workstations.
  • Where feasible, blacklist or constrain modes that exercise the vulnerable pipe split path via Xorg or Wayland configuration.
bash
# Verify the running kernel version and check distribution advisories
uname -r

# Debian/Ubuntu: update kernel package
sudo apt-get update && sudo apt-get install --only-upgrade linux-image-$(uname -r | sed 's/.*-//')

# RHEL/Fedora: update kernel package
sudo dnf update kernel

# Reboot to load the patched kernel
sudo reboot

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.