CVE-2021-29657
Reported by mitre · Published July 22, 2021
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 versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-lts | Arch Linux | 5.10.28-1 |
| linux-hardened | Arch Linux | 5.11.13.hardened1-1 |
| linux_kernel | linux | 5.11.12, 5.10.28 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | linux-lts | 0 |
| arch | linux-hardened | 0 |
| n/a | n/a | * |
| arch | linux | 0 |
| arch | linux-zen | 0 |
Timeline
- Apr 3, 2021 CVE Published
- Jul 23, 2021 EPSS Score (30 in total, the first dated here)
- Mar 1, 2024 PoC Published (10 in total, the first dated here)
- Oct 24, 2025 CVE Updated
- Mar 7, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 7, 2026 Security Advisory (8 in total, the first dated here)
- Aug 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-29657
vulnetix vdb fixes CVE-2021-29657
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-29657/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart