Skip to main content
Vulnerability Database/CVE-2026-97493

CVE-2026-97493: Linux Kernel AMD GPU Buffer Overflow Vulnerability

CVE-2026-97493 is a buffer overflow flaw in the Linux kernel AMD GPU driver affecting GPIO I2C table handling. Attackers could exploit undersized tables to overrun buffers. This article covers technical details, impact, and mitigation.

Published:

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-2026-97493 Overview

CVE-2026-97493 is a Linux kernel vulnerability in the AMD GPU driver (drm/amdgpu). The flaw resides in the GPIO Inter-Integrated Circuit (I2C) table parsing logic that reads entry counts from the Video BIOS (VBIOS). The driver failed to validate undersized tables and did not cap derived entry counts against AMDGPU_MAX_I2C_BUS. A corrupt or malicious VBIOS size field could cause the driver to overrun the adev->i2c_bus[] array or iterate across an unbounded number of entries. The upstream fix rejects undersized tables and bounds the derived entry count.

Critical Impact

A malformed VBIOS GPIO I2C table can trigger an out-of-bounds write in kernel memory, potentially leading to memory corruption or denial of service in affected Linux systems running AMD GPUs.

Affected Products

  • Linux kernel versions containing the vulnerable drm/amdgpu GPIO I2C table parsing code
  • Systems using AMD GPUs with the amdgpu DRM driver
  • Distributions shipping the upstream Linux kernel prior to the fix commits

Discovery Timeline

  • 2026-09-24 - CVE-2026-97493 published to the National Vulnerability Database
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-97493

Vulnerability Analysis

The vulnerability exists in the drm/amdgpu driver's logic for parsing the GPIO I2C table supplied by the VBIOS. The driver derives an entry count from a size field in the table header. Without a sanity check, a corrupt or crafted size value causes the loop to iterate beyond legitimate bounds. The fixed-size storage array adev->i2c_bus[] has a maximum capacity defined by AMDGPU_MAX_I2C_BUS. Writing past that limit corrupts adjacent kernel memory. The upstream patch adds two defenses: it rejects tables that are smaller than the minimum expected header, and it caps the derived entry count at AMDGPU_MAX_I2C_BUS.

Root Cause

The root cause is missing input validation on size data read from firmware-supplied structures. The driver trusted the VBIOS to provide a well-formed GPIO I2C table and computed its iteration count directly from the embedded size field. This pattern falls under improper validation of array index [CWE-129] and out-of-bounds write [CWE-787].

Attack Vector

Exploitation requires control over the VBIOS content presented to the kernel at driver initialization. In most deployments this requires local privileged access or physical access to flash a modified VBIOS. Virtualization scenarios that pass GPU firmware tables from guest-controlled sources could widen the exposure surface. The impact is memory corruption during driver probe, which typically manifests as a kernel crash or potential privilege escalation.

No verified public exploit code is available. See the upstream commits for the complete fix: kernel.org commit a99cd231 and kernel.org commit f8f09853.

Detection Methods for CVE-2026-97493

Indicators of Compromise

  • Kernel oops or panic messages originating from amdgpu module initialization
  • Unexpected memory corruption traces referencing adev->i2c_bus[] or related GPIO I2C parsing functions
  • Driver probe failures on systems with modified or non-standard VBIOS images

Detection Strategies

  • Inventory running kernel versions and compare against patched builds published by distribution vendors
  • Audit systems where VBIOS updates or custom firmware have been applied outside normal vendor channels
  • Correlate kernel crash telemetry with amdgpu driver load events to surface anomalous probe failures

Monitoring Recommendations

  • Forward dmesg and kernel crash dumps to a centralized logging platform for retention and search
  • Alert on repeated amdgpu probe failures across the fleet, which may indicate firmware tampering
  • Track package versions for the kernel and firmware across all Linux endpoints and servers

How to Mitigate CVE-2026-97493

Immediate Actions Required

  • Apply the latest stable Linux kernel update from your distribution vendor that includes the amdgpu GPIO I2C bounds check
  • Restrict physical and administrative access to systems that permit VBIOS reflashing
  • Validate the integrity of GPU firmware images sourced from third parties before deployment

Patch Information

The fix is available in upstream Linux through commits a99cd231cd924b7160fecb9fb3a94b801522323b and f8f0985375c3b977757fd73e2b691ff1bf1ea7b9. The patch rejects undersized GPIO I2C tables and caps the derived entry count at AMDGPU_MAX_I2C_BUS before populating adev->i2c_bus[]. Distribution vendors are backporting the fix to supported stable kernel branches.

Workarounds

  • Blacklist the amdgpu module on systems where it is not required and GPU acceleration is unnecessary
  • Enforce Secure Boot and signed firmware policies to prevent loading of tampered VBIOS images
  • Disable GPU passthrough from untrusted guests in virtualization environments until the kernel is patched
bash
# Verify the running kernel version and amdgpu module status
uname -r
modinfo amdgpu | grep -E '^(filename|version|srcversion)'

# Temporarily blacklist amdgpu where the GPU is not required
echo 'blacklist amdgpu' | sudo tee /etc/modprobe.d/blacklist-amdgpu.conf
sudo update-initramfs -u

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.