Descrizione
In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Bug the VM if KVM attempts to walk more levels than the MMU has Extend the "EFER.LMA && !CR4.PAE" check, which exists largely to guard against KVM configuring a paging32 MMU with more than 2 levels of paging, with a very explicit check for exactly that: that KVM isn't trying to walk more levels of paging than the MMU template provides. I.e. harden KVM against all bugs that would cause KVM to generates accesses beyond the bounds of guest_walker's arrays, regardless of how KVM ended up with the misconfigured MMU. Note, don't use w->cpu_role.base.level directly as the paging64 template only provides two levels of page tables for PAE paging on 32-bit hosts, and handles the third level by manually emulating the PDPTR access.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.1, EPSS 0.2% (percentile 10).
Versioni da aggiornare
- Linux Linux: vulnerabili le versioni precedenti alla
6.12.117→ aggiornare alla6.12.117o successiva. - Linux Linux: vulnerabili le versioni precedenti alla
6.18.61→ aggiornare alla6.18.61o successiva. - Linux Linux: vulnerabili le versioni precedenti alla
7.3.2→ aggiornare alla7.3.2o successiva. - Linux Linux: versione corretta
6.12.117(o successiva). - Linux Linux: versione corretta
6.18.61(o successiva). - Linux Linux: versione corretta
7.3.2(o successiva). - Linux Linux: versione corretta
7.4-rc1(o successiva).
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 | < 6.12.117 | 6.12.117 |
| Linux | Linux | < 6.18.61 | 6.18.61 |
| Linux | Linux | < 7.3.2 | 7.3.2 |
| Linux | Linux | — | 6.12.117 |
| Linux | Linux | — | 6.18.61 |
| Linux | Linux | — | 7.3.2 |
| Linux | Linux | — | 7.4-rc1 |
Riferimenti
- Riferimentohttps://git.kernel.org/stable/c/115f9405a2ed6d78ee7ad8436bdd638743f6d1d4
- Riferimentohttps://git.kernel.org/stable/c/54afd548602bb96b3fbb0b4b11ccbbfeb5fb46fc
- Riferimentohttps://git.kernel.org/stable/c/73f427e5afd94edd5d0e7cdddc2ecc794f28c492
- Riferimentohttps://git.kernel.org/stable/c/d6f3877eabf159167ee9972d627396412a04ac74