KVM: nVMX: Hide shadow VMCS right after VMCLEAR
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.8epss 0.2%
exploitation probability
0.2%top 95% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
KVM: nVMX: Hide shadow VMCS right after VMCLEAR
free_nested() frees the shadow VMCS while vmcs01 still points to it. But
because it is asynchronous with respect to loaded_vmcs_clear(), the vCPU
might migrate before the pointer is cleared and __loaded_vmcs_clear()
may then execute VMCLEAR.
The VMCS needs to stay attached until its explicit VMCLEAR completes, but
then it can be hidden and the page safely freed.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/1dabef6e206568bf9d9ade74f6e56a48ea35695dhttps://git.kernel.org/stable/c/589419470030a89f16cf19300658b6dc644ca946https://git.kernel.org/stable/c/622ebfac01ba4f9c0060cebd41257fe46fc4a0b3https://git.kernel.org/stable/c/8001d2ce9d9bd09118ce523aef595aa094573ae3https://git.kernel.org/stable/c/af56298e9d86e6098cd1d2e155cb2949b7c45412