CVE-2026-46229·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Clear VRAM on allocation to prevent stale data exposure KFD VRAM allocations set AMDGPU_GEM_CREATE_VRAM_WIPE_ON_RELEASE but not AMDGPU_GEM_CREATE_VRAM_CLEARED, leaving freshly allocated VRAM with stale data from prior use observable by compute kernels. The GEM ioctl path already sets VRAM_CLEARED for all userspace allocations via amdgpu_gem_create_ioctl() and amdgpu_mode_dumb_create(). The KFD path was missing this flag, allowing stale page table remnants to leak into user buffers. This causes crashes in RCCL P2P transport where non-zero data in ptrExchange/head/tail fields corrupts the protocol handshake.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.9
- Published
Affected versions
From: 6.19
Until: 7.0.9
Fixed in: 7.0.9
How to fix this CVE
Update your Linux kernel to version 7.0.9 or later to resolve this VRAM initialization vulnerability in the AMD KFD driver. The fix ensures that GPU memory allocations are properly cleared before use, preventing stale data from previous operations from leaking into user applications. This is particularly critical for systems running RCCL P2P communication or other compute-intensive workloads on AMD GPUs.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if you are running affected versions (6.19 to 7.0.8): grep -oP '\d+\.\d+' /proc/version | head -1 | awk -F. '{if ($1==6 && $2>=19 || $1==7 && $2==0) print "Vulnerable range detected"}'
- Confirm AMD GPU presence and KFD driver status: lspci | grep AMD; dmesg | grep -i kfd | head -20
- After patching, verify the new kernel version loads: uname -r (should show 7.0.9 or later)
FAQ
What is CVE-2026-46229?
This vulnerability affects AMD KFD (Kernel Fusion Driver) VRAM allocations where newly allocated GPU memory is not properly initialized, leaving behind stale data from previous allocations. User compute kernels can observe this residual data, potentially corrupting protocol handshakes in peer-to-peer communication frameworks like RCCL.
Is CVE-2026-46229 being actively exploited?
No, CVE-2026-46229 is not currently listed as actively exploited and no public exploit code is available. However, the vulnerability can trigger reproducible crashes in legitimate compute workflows, making patching important for stability.
What versions of Kernel are affected by CVE-2026-46229?
Linux kernel versions 6.19 through 7.0.8 are affected. The vulnerability is fixed in kernel version 7.0.9 and later.
How do I check if my server is vulnerable to CVE-2026-46229?
Run 'uname -r' to get your kernel version. If it shows a version between 6.19 and 7.0.8 inclusive, and you have AMD GPUs with KFD driver loaded (check 'dmesg | grep kfd'), your system is vulnerable.
Does Defensia detect CVE-2026-46229?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel package is installed on a monitored server, CVE-2026-46229 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/047d44d8d29a6a1a5757256837aa9dd78e3cd0b5
- https://git.kernel.org/stable/c/1db431380879fd9d28b763a88a0c0431be5be8df
- https://git.kernel.org/stable/c/32b153658f017ad2f5bf8aab479e8d16ac95bc3a
- https://git.kernel.org/stable/c/6bcf59545c84a5105d14d59f40069ef4c033584e
- https://git.kernel.org/stable/c/77d0b5d11387071770246fd0185a69fa28e8e109
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46229. Free for 1 server.
Get started free