KVM: nVMX: Hide shadow VMCS right after VMCLEAR
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 355f4fb1405ec29d0fac49b4d41fcd78cbd455d5 · fixed in b82c3144d8264265448292ca406f60bafeba3b6f; From 355f4fb1405ec29d0fac49b4d41fcd78cbd455d5 · fixed in 4f50e6aec16f69627dbad5704d1e90a255d766a7; From 355f4fb1405ec29d0fac49b4d41fcd78cbd455d5 · fixed in dc3eecfa219ebc9d01eaf7d1abd1441efe884dab; From 355f4fb1405ec29d0fac49b4d41fcd78cbd455d5 · fixed in af56298e9d86e6098cd1d2e155cb2949b7c45412; From 355f4fb1405ec29d0fac49b4d41fcd78cbd455d5 · fixed in 589419470030a89f16cf19300658b6dc644ca946; From 355f4fb1405ec29d0fac49b4d41fcd78cbd455d5 · fixed in 8001d2ce9d9bd09118ce523aef595aa094573ae3; From 355f4fb1405ec29d0fac49b4d41fcd78cbd455d5 · fixed in 1dabef6e206568bf9d9ade74f6e56a48ea35695d; From 355f4fb1405ec29d0fac49b4d41fcd78cbd455d5 · fixed in 622ebfac01ba4f9c0060cebd41257fe46fc4a0b3
- Linux Linux
4.9
- KernelLinux
From 4.9.0 · fixed in 5.10.265; From 5.11.0 · fixed in 5.15.216; From 5.16.0 · fixed in 6.1.183; From 6.2.0 · fixed in 6.6.148; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6
References 8
git.kernel.org
- stable/c/b82c3144d8264265448292ca406f60bafeba3b6f
- stable/c/4f50e6aec16f69627dbad5704d1e90a255d766a7
- stable/c/dc3eecfa219ebc9d01eaf7d1abd1441efe884dab
- stable/c/af56298e9d86e6098cd1d2e155cb2949b7c45412
- stable/c/589419470030a89f16cf19300658b6dc644ca946
- stable/c/8001d2ce9d9bd09118ce523aef595aa094573ae3
- stable/c/1dabef6e206568bf9d9ade74f6e56a48ea35695d
- stable/c/622ebfac01ba4f9c0060cebd41257fe46fc4a0b3