Executive brief
A vulnerability in the Linux kernel's AMD GPU driver could allow users to see leftover data from previous tasks. This occurs because the system fails to properly clear video memory (VRAM) when it is reassigned to a new process. In practice, this can lead to application crashes or the exposure of sensitive information previously stored in the graphics memory.
Technical details
An information disclosure vulnerability exists in the Linux kernel's DRM driver for AMD GPUs (amdkfd). The KFD VRAM allocation path correctly sets the 'WIPE_ON_RELEASE' flag but fails to set the 'AMDGPU_GEM_CREATE_VRAM_CLEARED' flag. This omission allows compute kernels to observe stale data, including page table remnants, from prior allocations. The issue was identified due to protocol handshake corruption in RCCL P2P transport. The fix involves ensuring the VRAM_CLEARED flag is set during memory allocation in 'amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu'.
Affected products
- Linux Linux Kernel 6.1.y, 6.6.y, 6.8.y, 6.9.y
Timeline
- 2026-04-10: other: Patch authored
- 2026-05-28: disclosed: CVE published
- 2026-05-28: advisory: NVD record published
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/77d0b5d11387071770246fd0185a69fa28e8e109
- https://git.kernel.org/stable/c/ad52d61d82181dbdb7f05826de38352d5e550cc2