Descrizione
In the Linux kernel, the following vulnerability has been resolved: KVM: nSVM: Triple fault if restore host CR3 fails on nested #VMEXIT If loading L1's CR3 fails on a nested #VMEXIT, nested_svm_vmexit() returns an error code that is ignored by most callers, and continues to run L1 with corrupted state. A sane recovery is not possible in this case, and HW behavior is to cause a shutdown. Inject a triple fault instead, and do not return early from nested_svm_vmexit(). Continue cleaning up the vCPU state (e.g. clear pending exceptions), to handle the failure as gracefully as possible. From the APM: Upon #VMEXIT, the processor performs the following actions in order to return to the host execution context: ... if (illegal host state loaded, or exception while loading host state) shutdown else execute first host instruction following the VMRUN Remove the return value of nested_svm_vmexit(), which is mostly unchecked anyway.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.9precedenti alla7.0.4→ aggiornare alla7.0.4o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/5d291ef0585ed880ed4dd71ea1a…
- Patch: git.kernel.org/stable/c/9a738cf170a4a2332ea3a15e23e…
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.9 < 7.0.4 | 7.0.4 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/5d291ef0585ed880ed4dd71ea1a5965e0a65fb53
- Patchhttps://git.kernel.org/stable/c/9a738cf170a4a2332ea3a15e23ec65b5757fe4a1
- Riferimentohttps://git.kernel.org/stable/c/2e661773890e6ba6b16064fad961da3dd311be43
- Riferimentohttps://git.kernel.org/stable/c/af79992ecdb6817970d757fb5d853b8d9b55a0d6
- Riferimentohttps://git.kernel.org/stable/c/b0eb0a8959ac2b808eb11548d002fe1f9b5650cc
- Riferimentohttps://git.kernel.org/stable/c/e6318570a9b4e137b0b744832b920b38bb069561