Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6856e4b65f64eeb3f17148f79b36c1d60c627529 before 1db431380879fd9d28b763a88a0c0431be5be8df; affected 6856e4b65f64eeb3f17148f79b36c1d60c627529 before 32b153658f017ad2f5bf8aab479e8d16ac95bc3a; affected 6856e4b65f64eeb3f17148f79b36c1d60c627529 before 77d0b5d11387071770246fd0185a69fa28e8e109; affected 6856e4b65f64eeb3f17148f79b36c1d60c627529 before 047d44d8d29a6a1a5757256837aa9dd78e3cd0b5; affected 6856e4b65f64eeb3f17148f79b36c1d60c627529 before ad52d61d82181dbdb7f05826de38352d5e550cc2 |
| Linux / Linux | affected 5.4; unaffected 0 before 5.4; unaffected 6.6.140 through 6.6.*; unaffected 6.12.90 through 6.12.*; unaffected 6.18.32 through 6.18.*; unaffected 7.0.9 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- 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/047d44d8d29a6a1a5757256837aa9dd78e3cd0b5
- https://git.kernel.org/stable/c/ad52d61d82181dbdb7f05826de38352d5e550cc2