Descrizione
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix memory leak in amdgpu_ras_init() When amdgpu_nbio_ras_sw_init() fails in amdgpu_ras_init(), the function returns directly without freeing the allocated con structure, leading to a memory leak. Fix this by jumping to the release_con label to properly clean up the allocated memory before returning the error code. Compile tested only. Issue found using a prototype static analysis tool and code review.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
6.4precedenti alla6.6.128→ aggiornare alla6.6.128o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.75→ aggiornare alla6.12.75o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.14→ aggiornare alla6.18.14o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.4→ aggiornare alla6.19.4o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/2fef8c2ac67e7c1b0409d236533…
- Patch: git.kernel.org/stable/c/3f43e7812b30d6b2e850218f9bb…
- Patch: git.kernel.org/stable/c/c11cd77a18115d2cd3f4b6915c4…
- Patch: git.kernel.org/stable/c/ee41e5b63c8210525c936ee637a…
- Patch: git.kernel.org/stable/c/f8a5426652bdadd4a5cb48326d4…
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 | ≥ 6.4 < 6.6.128 | 6.6.128 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.75 | 6.12.75 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.14 | 6.18.14 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.4 | 6.19.4 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/2fef8c2ac67e7c1b0409d23653300b134c63e54c
- Patchhttps://git.kernel.org/stable/c/3f43e7812b30d6b2e850218f9bb1dae60727fcef
- Patchhttps://git.kernel.org/stable/c/c11cd77a18115d2cd3f4b6915c4a537b6042f950
- Patchhttps://git.kernel.org/stable/c/ee41e5b63c8210525c936ee637a2c8d185ce873c
- Patchhttps://git.kernel.org/stable/c/f8a5426652bdadd4a5cb48326d48abbdfebe8153