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-97495 Overview
CVE-2026-97495 is a Linux kernel vulnerability in the AMD Kernel Fusion Driver (amdkfd) component of the Direct Rendering Manager (DRM) subsystem. The flaw resides in the allocate_doorbell function, which accepts a caller-supplied doorbell identifier used by Checkpoint/Restore in Userspace (CRIU). The supplied value was not validated against the maximum allowed doorbell index. Upstream kernel maintainers resolved the issue by adding a bounds check that confirms the identifier is less than KFD_MAX_NUM_OF_QUEUES_PER_PROCESS.
Critical Impact
A missing bounds check in allocate_doorbell allows an out-of-bounds doorbell index to be accepted, enabling potential memory corruption or kernel instability on systems using AMD GPUs with KFD.
Affected Products
- Linux kernel versions containing the drm/amdkfd driver prior to the patched commits
- Distributions shipping AMD GPU compute support through the Kernel Fusion Driver
- Systems using CRIU with AMD KFD queues
Discovery Timeline
- 2026-09-24 - CVE-2026-97495 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-97495
Vulnerability Analysis
The vulnerability affects the allocate_doorbell routine in the AMD Kernel Fusion Driver. Doorbells are memory-mapped signaling registers that user-space clients use to notify the GPU of new work in compute queues. The function supports an optional mode where the caller specifies a particular doorbell identifier, a path used by CRIU during process checkpoint and restore operations.
Before the fix, the driver trusted the caller-provided identifier without comparing it against the maximum valid index. A value greater than or equal to KFD_MAX_NUM_OF_QUEUES_PER_PROCESS could index outside the per-process doorbell tracking structures. The patched kernel adds a check that rejects any identifier beyond the supported range.
Root Cause
The root cause is missing input validation on a user-influenced integer value passed into kernel memory management logic. Although the identifier originates from a trusted interface used by CRIU, the driver did not enforce the invariant that the identifier must remain within the allocated doorbell table.
Attack Vector
Exploitation requires local access and the ability to invoke KFD ioctl paths that reach allocate_doorbell with a chosen doorbell identifier. The vulnerability is reachable only on systems with the AMD KFD driver loaded and an AMD compute-capable GPU present. The specific impact depends on how the out-of-bounds identifier is subsequently used by downstream doorbell accounting and mapping logic.
See the upstream fixes for the exact code change: Kernel commit 1f087bb, Kernel commit c2c8911, and Kernel commit e0cecd04.
Detection Methods for CVE-2026-97495
Indicators of Compromise
- Unexpected kernel oops or warnings referencing amdkfd, allocate_doorbell, or doorbell allocation paths in dmesg.
- GPU compute workloads failing or hanging immediately after CRIU restore operations on AMD hardware.
- Local processes repeatedly invoking KFD ioctls with abnormal or out-of-range doorbell identifiers.
Detection Strategies
- Audit installed kernel versions across the fleet and compare against distribution advisories referencing the three upstream commits.
- Monitor kernel ring buffer output for faults or panics tagged with the amdkfd or kfd_process subsystems.
- Correlate CRIU checkpoint/restore activity on GPU workloads with subsequent kernel-level anomalies.
Monitoring Recommendations
- Forward dmesg and /var/log/kern.log to a centralized logging platform and alert on amdkfd fault signatures.
- Track loaded kernel module versions on hosts running AMD GPU compute workloads such as ROCm.
- Alert on unexpected use of the KFD ioctl interface by non-GPU workload processes.
How to Mitigate CVE-2026-97495
Immediate Actions Required
- Inventory Linux hosts with AMD GPUs that load the amdgpu and amdkfd modules.
- Apply the latest stable kernel update from your distribution that incorporates the upstream bounds check.
- Restrict local user access on affected hosts until patched kernels are deployed.
Patch Information
The fix adds a bounds check in allocate_doorbell to confirm the caller-supplied identifier is less than KFD_MAX_NUM_OF_QUEUES_PER_PROCESS. The patch is available in the stable kernel tree through commits 1f087bb, c2c89118, and e0cecd04. Rebuild and reboot into the patched kernel after installation.
Workarounds
- Unload the amdkfd module on systems that do not require GPU compute functionality using modprobe -r amdkfd.
- Blacklist amdkfd where only graphics output is required and compute APIs are not in use.
- Limit CRIU usage on AMD GPU workloads to trusted operators until the patched kernel is deployed.
# Verify running kernel and amdkfd module status
uname -r
lsmod | grep amdkfd
# Temporarily unload the module if GPU compute is not required
sudo modprobe -r amdkfd
# Blacklist amdkfd persistently
echo 'blacklist amdkfd' | sudo tee /etc/modprobe.d/blacklist-amdkfd.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

