arch/x86/kvm/svm/nested.c in the Linux kernel before 5.11...
High severity
Unreviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated May 19, 2023
Description
Published by the National Vulnerability Database
Jul 22, 2021
Published to the GitHub Advisory Database
May 24, 2022
Last updated
May 19, 2023
arch/x86/kvm/svm/nested.c in the Linux kernel before 5.11.12 has a use-after-free in which an AMD KVM guest can bypass access control on host OS MSRs when there are nested guests, aka CID-a58d9166a756. This occurs because of a TOCTOU race condition associated with a VMCB12 double fetch in nested_svm_vmrun.
References