KVM: x86/mmu: Bug the VM if KVM attempts to walk more levels than the MMU has
NIST has received this entry but not started reviewing it.
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.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from fe660f7244d7e237ab7726813dc9aec8e94900d6, before 5e355f718d31145946fbe62d31f642eb990a0076; from fe660f7244d7e237ab7726813dc9aec8e94900d6, before 40730c48b8ec666cfa65522beaeca681583a0991; from fe660f7244d7e237ab7726813dc9aec8e94900d6, before eb9ad548e9b269172ff83719f75ffdce4df2e7cf; from fe660f7244d7e237ab7726813dc9aec8e94900d6, before d6f3877eabf159167ee9972d627396412a04ac74; from fe660f7244d7e237ab7726813dc9aec8e94900d6, before 54afd548602bb96b3fbb0b4b11ccbbfeb5fb46fc; from fe660f7244d7e237ab7726813dc9aec8e94900d6, before 73f427e5afd94edd5d0e7cdddc2ecc794f28c492; and 1 more | 5e355f718d31145946fbe62d31f642eb990a0076; 40730c48b8ec666cfa65522beaeca681583a0991; eb9ad548e9b269172ff83719f75ffdce4df2e7cf; d6f3877eabf159167ee9972d627396412a04ac74 |
| Linux Linux | Software | 5.14 | not recorded |
The 7.1 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | On the machine | The attacker needs access to the computer itself, for example a login or a file they can get you to open. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | None | No data can be read. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 1.8 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.2 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 7 sources for this flaw, none tagged as a vendor patch.