A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
KVM: nVMX: Process each host MSR entry at most once when unwinding failed VM-Entry
Add a missing "break" in the inner for-loop of the open coded mess that unwinds MSRs back to the pre-VM-Enter state when VMLAUNCH/VMRESUME VM-Fails due to a consistency check that is caught by hardware but missed by KVM. I.e. move on to the next MSR in the VM-Entry load list after performing a write using a value found in the VM-Exit load list. Processing *every* matching entry in the VM-Exit load list makes the processing quadratic, which is problematic if the load lists are full of MSRs that are expensive to emulate. E.g. writing APIC_BASE triggers kvm_recalculate_apic_map() and a whole pile of unnecessary work.
Functionally, arbitrarily restoring the value of the first matching entry is "fine", because none of this is architecturally correct: the load lists are never supposed to have been used in the first place. In practice, it's likely a moot point as no well-behaved VMM will have multiple, diverging entries in the load lists.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/011a2aad81c656fc9130803d2bd08f40f961389b
- git.kernel.org /stable/c/05fae367c6878d08f54a7c5bb6986a5e57e9bd1c
- git.kernel.org /stable/c/42b98982aedf40f5076bf045bf359df4dea09468
- git.kernel.org /stable/c/6a4697ec81693f8db41a1c3ba81f3b9b2510879f
- git.kernel.org /stable/c/78c9a691e11de3ad19a1b7ffc088eaa38a243e6c
- git.kernel.org /stable/c/7e1214410887f4ba5b839f63a541be08ae47606e
- git.kernel.org /stable/c/c33ef9d334059f7cb167569ed7b4779752fe4425
- git.kernel.org /stable/c/f0f8aa94ca2e5375c588fdc4328812b489c38c71
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning