PT-2021-4275

CVE-2021-29657

·

Published

2021-04-01

·

Updated

2026-08-24

Description by

CVSS 3.1
7.4
High
MetricsAV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 5.11.12
Description The issue is related to a use-after-free vulnerability in the arch/x86/kvm/svm/nested.c component of the Linux kernel, specifically affecting AMD KVM guests. This vulnerability can be exploited to bypass access control on host OS MSRs when there are nested guests, due to a TOCTOU race condition associated with a VMCB12 double fetch in nested svm vmrun. The vulnerability allows an attacker to execute code outside of the guest system, potentially leading to privilege escalation.
Recommendations For Linux kernel versions prior to 5.11.12, update to version 5.11.12 or later to resolve the issue. As a temporary workaround, consider disabling the nested guest feature in AMD KVM until a patch is available. Restrict access to the vulnerable arch/x86/kvm/svm/nested.c component to minimize the risk of exploitation. Avoid using the nested svm vmrun function until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2021-1609
ALT-PU-2021-1629
ALT-PU-2021-1639
ALT-PU-2021-1776
ALT-PU-2021-1869
ALT-PU-2021-1896
ALT-PU-2022-1240
AZL-6554
CESA-2021_4356
MGASA-2021-0191
MGASA-2021-0192
RHSA-2021:4356
RHSA-2021_4356
USN-4948-1
Found an issue in the description? Have something to add? Feel free to write us 👾