CVE-2021-29657

kernel: KVM: double fetch in nested_svm_vmrun can lead to unrestricted MSR access

Published Jul 22, 2021 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-16131 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.
Ubuntu USN Ubuntu USN USN-4948-1 Linux kernel (OEM) vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 10:11 PM
Reserved
Mar 31, 2021, 12:00 AM
Status
Modified
Published
Jul 22, 2021, 5:15 PM
Modified
Jun 17, 2026, 3:48 AM
Severity
Moderate
Public date
Mar 31, 2021, 12:00 AM