HIGH Introduced in 4.2
amdgpu AtomTable StackOverflow
CVE-2026-98914
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
01Description
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.
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.18 | 4.2 | 6.18.53 | b1d2b29d3115 |
| mainline | 4.2 | 7.2 | 27ef1795bc4e |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Affected — no CIP fix yet (latest 6.12.118-cip136) |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |
| cip/4.19 | Affected — no CIP fix yet (latest 4.19.325-cip137) |
| cip/4.19-rt | Affected — no CIP fix yet (latest 4.19.325-cip137-rt51) |
| cip/4.4 | Affected — no CIP fix yet (latest 4.4.302-cip116) |
| cip/4.4-rt | Affected — no CIP fix yet (latest 4.4.302-cip115-rt63) |