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: SVM: Set/clear CR8 write interception when AVIC is (de)activated
Explicitly set/clear CR8 write interception when AVIC is (de)activated to fix a bug where KVM leaves the interception enabled after AVIC is activated. E.g. if KVM emulates INIT=>WFS while AVIC is deactivated, CR8 will remain intercepted in perpetuity.
On its own, the dangling CR8 intercept is "just" a performance issue, but combined with the TPR sync bug fixed by commit d02e48830e3f ("KVM: SVM: Sync TPR from LAPIC into VMCB::V_TPR even if AVIC is active"), the danging intercept is fatal to Windows guests as the TPR seen by hardware gets wildly out of sync with reality.
Note, VMX isn't affected by the bug as TPR_THRESHOLD is explicitly ignored when Virtual Interrupt Delivery is enabled, i.e. when APICv is active in KVM's world. I.e. there's no need to trigger update_cr8_intercept(), this is firmly an SVM implementation flaw/detail.
WARN if KVM gets a CR8 write #VMEXIT while AVIC is active, as KVM should never enter the guest with AVIC enabled and CR8 writes intercepted.
[Squash fix to avic_deactivate_vmcb. - Paolo]
Affected products
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
References
- git.kernel.org /stable/c/01651e7751edbbc0fb4598f8367a3dabcfc8c182
- git.kernel.org /stable/c/737410b32bd615b321da4fbeda490351b9af5e8b
- git.kernel.org /stable/c/816fa1dfae4532e851b1fe6b2434c753ecbd86c7
- git.kernel.org /stable/c/87d0f901a9bd8ae6be57249c737f20ac0cace93d
- git.kernel.org /stable/c/a4123fe5d9122eef9852e4921f7cc463420f30d4
- git.kernel.org /stable/c/ba3bca40f9f25c053f69413e5f4a41dd0fd762bf
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning