CVE-2021-29657
Last modified
CVE-2021-29657 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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.. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.10, < 5.10.28 |
| Linux | Linux Kernel | >= 5.11, < 5.11.12 |
References
- http://packetstormsecurity.com/files/163324/KVM-nested_svm_vmrun-Double-Fetch.htmlThird Party Advisory, VDB Entry
- https://bugs.chromium.org/p/project-zero/issues/detail?id=2177Exploit, Mailing List, Patch, Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.11.12Exploit, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210902-0008/Third Party Advisory
- http://packetstormsecurity.com/files/163324/KVM-nested_svm_vmrun-Double-Fetch.htmlThird Party Advisory, VDB Entry
- https://bugs.chromium.org/p/project-zero/issues/detail?id=2177Exploit, Mailing List, Patch, Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.11.12Exploit, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210902-0008/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-29657?
How severe is CVE-2021-29657?
How do I fix CVE-2021-29657?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-29651Pomerium before 0.13.4 has an Open Redirect (issue 1 of 2).6.1
- CVE-2021-29652Pomerium from version 0.10.0-0.13.3 has an Open Redirect in …6.1
- CVE-2021-29653HashiCorp Vault and Vault Enterprise 1.5.1 and newer, under …7.5
- CVE-2021-29654AjaxSearchPro before 4.20.8 allows Deserialization of Untrus…7.2
- CVE-2021-29655Pexip Infinity Connect before 1.8.0 omits certain provisioni…9.8
- CVE-2021-29656Pexip Infinity Connect before 1.8.0 mishandles TLS certifica…9.8
- CVE-2021-29658The unofficial vscode-rufo extension before 0.0.4 for Visual…8.8
- CVE-2021-29659ownCloud 10.7 has an incorrect access control vulnerability,…6.5
- CVE-2021-29660A Cross-Site Request Forgery (CSRF) vulnerability in en/cfg_…8.8
- CVE-2021-29661Softing AG OPC Toolbox through 4.10.1.13035 allows /en/diag_…5.4
- CVE-2021-29662The Data::Validate::IP module through 0.29 for Perl does not…7.5
- CVE-2021-29663CourseMS (aka Course Registration Management System) 2.1 is …4.8
Are you affected by CVE-2021-29657?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
