Skip to content
OpenAdvisories

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.10.28-1 —
Debian 13 linux 5.10.28-1 —
Debian 12 linux 5.10.28-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1025.26 USN-4948-1
Ubuntu 20.04 LTS linux-riscv +1 No fix yet —
Ubuntu 18.04 LTS linux-gcp +13 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 perf +26 4.18.0-348.el8 RHSA-2021:4356

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) kernel 5.10.78.1-1 —

Advisories 2

References