CVE & CISA-KEV Catalog

CVE-2021-29657

HIGH
7.4
CVSS v3
NVD

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.

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.28-1CVE-2021-29657
Fixed in:5.10.28-1CVE-2021-29657
Fixed in:5.10.28-1CVE-2021-29657
Fixed in:5.10.28-1CVE-2021-29657
linux-image-5.10.0-1026-oemUbuntu
Fixed in:5.10.0-1026.27USN-4948-1
linux-image-oem-20.04bUbuntu
Fixed in:5.10.0.1026.27USN-4948-1
linux-oem-5.10Ubuntu
Fixed in:5.10.0-1026.27USN-4948-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.41%probability of exploitation in 30 days
33rdpercentile

Low risk: more likely to be exploited than 33% of all known CVEs.

References

Related Vulnerabilities

Other CWE-367 (TOCTOU Race Condition) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-36980High8.183%-Fix
CVE-2024-30088High7.068%KEV + RansomFix
CVE-2004-0594Medium5.155%-Fix
CVE-2024-50379Critical9.844%-Fix
CVE-2023-38146High8.839%-Fix
CVE-2024-0132Critical9.037%-Fix
Embed a live status badge for CVE-2021-29657
CVE-2021-29657 severity badge

Markdown

[![CVE-2021-29657](https://tridentstack.com/cve/badge/CVE-2021-29657.svg)](https://tridentstack.com/cve/CVE-2021-29657)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-29657"><img src="https://tridentstack.com/cve/badge/CVE-2021-29657.svg" alt="CVE-2021-29657"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.