KVM: VMX: Disable preemption when probing user return MSRs
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
KVM VMX probes user return MSRs without disabling preemption. If an MSR has a different value on each logical CPU, preemption between the read and write followed by rescheduling on another CPU could corrupt the host's MSR value. The input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with KVM VMX should check their kernel versions against the vendor advisory; affected versions are not specified.