What’s Vulnerable › Vulnerabilities

CVE-2021-46977: KVM: VMX: Disable preemption when probing user return MSRs

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: VMX: Disable preemption when probing user return MSRs Disable preemption when probing a user return MSR via RDSMR/WRMSR. If the MSR holds a different value per logical CPU, the WRMSR could corrupt the host's value if KVM is preempted between the RDMSR and WRMSR, and then rescheduled on a different CPU. Opportunistically land the helper in common x86, SVM will use the helper in a future commit.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.38, 5.11.22, 5.12.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-46977 or the next vulnerability affects your stack