Descrizione
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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.4precedenti alla6.6.140→ aggiornare alla6.6.140o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.90→ aggiornare alla6.12.90o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.32→ aggiornare alla6.18.32o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.9→ aggiornare alla7.0.9o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/047d44d8d29a6a1a5757256837a…
- Patch: git.kernel.org/stable/c/1db431380879fd9d28b763a88a0…
- Patch: git.kernel.org/stable/c/32b153658f017ad2f5bf8aab479…
- Patch: git.kernel.org/stable/c/77d0b5d11387071770246fd0185…
- Patch: git.kernel.org/stable/c/ad52d61d82181dbdb7f05826de3…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Linux | Linux Kernel | ≥ 5.4 < 6.6.140 | 6.6.140 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.90 | 6.12.90 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.32 | 6.18.32 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.9 | 7.0.9 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/047d44d8d29a6a1a5757256837aa9dd78e3cd0b5
- Patchhttps://git.kernel.org/stable/c/1db431380879fd9d28b763a88a0c0431be5be8df
- Patchhttps://git.kernel.org/stable/c/32b153658f017ad2f5bf8aab479e8d16ac95bc3a
- Patchhttps://git.kernel.org/stable/c/77d0b5d11387071770246fd0185a69fa28e8e109
- Patchhttps://git.kernel.org/stable/c/ad52d61d82181dbdb7f05826de38352d5e550cc2
- Riferimentohttps://git.kernel.org/stable/c/6bcf59545c84a5105d14d59f40069ef4c033584e