CVE-2021-29657
Higharch/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.
CVSS 3.1 score
7.4
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-367CVE-2021-29657 is classified as CWE-367
See CWE-367 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2021-29657 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Third Party Advisory VDB Entry
-
Third Party Advisory
-
PatchKernel patch commithttps://bugs.chromium.org/p/project-zero/issues/detail?id=2177
-
PatchKernel patch commithttps://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.11.12
-
PatchKernel patch commithttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a58d9166a756a0f4a6618e4f593232593d6df134
Frequently asked questions
-
What is CVE-2021-29657?
CVE-2021-29657 is a High severity Linux kernel vulnerability with a CVSS score of 7.4 out of 10 . CVE-2021-29657 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2021-29657?
CVE-2021-29657 has a CVSS score of 7.4 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2021-29657?
No patch is currently available for CVE-2021-29657. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2021-29657 actively exploited?
No — CVE-2021-29657 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.