KernelScan.io

HIGH Introduced in 4.2

amdgpu AtomTable StackOverflow

CVE-2026-98914

CVSS 7.8 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

01

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: cap ATOM command table nesting depth Cap nesting at 32 levels with execute_depth and return -ELOOP when exceeded.

02

Engine v0.9.0

Risk summary

A local user with access to an AMD GPU device node can trigger unbounded recursion in the ATOM BIOS command table interpreter, causing a kernel stack overflow that leads to privilege escalation or denial of service. The vulnerability affects all systems with AMD GPUs using the amdgpu driver.

Affecteddrivers/gpu/drm/amd/amdgpu/atom.c (amdgpu driver)

Vulnerability analysis

The amdgpu driver's ATOM BIOS interpreter executes command tables that can call other tables via the CALLTABLE opcode, but the original code imposed no limit on nesting depth. A deeply nested call chain — whether from a malformed VBIOS or a crafted sequence of GPU operations triggered from userspace — consumes kernel stack frames until the stack overflows, corrupting adjacent kernel memory and enabling arbitrary code execution or a kernel panic. The fix adds a per-context recursion depth counter capped at 32 levels; when the limit is reached the driver aborts with -ELOOP instead of recursing further. Any local user who can open /dev/dri/renderD* or /dev/dri/card* (typically members of the render or video group) can trigger GPU operations that exercise the ATOM interpreter, making this reachable from ordinary user accounts, containers with GPU access, and multi-tenant GPU workloads.

03

BranchIntroducedFixed inPatch commit
6.184.26.18.53b1d2b29d3115
mainline4.27.227ef1795bc4e

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Affected — no CIP fix yet (latest 6.12.114-cip34)
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip115)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)