Speculative execution attacks in KVM VMX
Linux Kernel
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux Kernel |
|
Linux Kernel
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux Kernel |
|
≥ 5c911beff20aa8639e7a1f28988736c13e03ed54 · < 63fada296062e91ad9f871970d4e7f19e21a6a15
|
A regression exists in the Linux Kernel within KVM: nVMX that allowed for speculative execution attacks. L2 can carry out Spectre v2 attacks on L1 due to L1 thinking it doesn't need retpolines or IBPB after running L2 due to KVM (L0) advertising eIBRS support to L1. An attacker at L2 with code execution can execute code on an indirect branch on the host machine. We recommend upgrading to Kernel 6.2 or applying the relevant stable backports (v5.4.233, v5.10.170, v5.15.96, v6.1.14).
From the CVE record · Google
A regression in Linux Kernel KVM nVMX allows Spectre v2 attacks from an L2 guest against L1 when L1 forgoes retpolines or IBPB because KVM advertises eIBRS support. An attacker needs code execution in L2 and can execute code on an indirect branch on the host machine.
Engineers running Linux Kernel KVM nVMX should check their kernel version against 6.2 and the affected stable branches with backports at 5.4.233, 5.10.170, 5.15.96, and 6.1.14.