CVE-2021-3656
n/a KVM: Missing Authorization
Check your servers for CVE-2021-3656
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-3656 affects kvm, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A flaw was found in the KVM's AMD code for supporting SVM nested virtualization. The flaw occurs when processing the VMCB (virtual machine control block) provided by the L1 guest to spawn/handle a nested guest (L2). Due to improper validation of the "virt_ext" field, this issue could allow a malicious L1 to disable both VMLOAD/VMSAVE intercepts and VLS (Virtual VMLOAD/VMSAVE) for the L2 guest. As a result, the L2 guest would be allowed to read/write physical pages of the host, resulting in a crash of the entire system, leak of sensitive data or potential guest-to-host escape.
Exploitation
EPSS 0.66%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 52.7% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-862 Missing Authorization
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
KVM
n/a
|
affected Fixed-In v5.14-rc7 and above
|
Is my server affected?
Find the installed version of kvm and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i kvm
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-3656 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-3656RHEL, Rocky, Alma, Fedora
rpm -q kvm
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-3656Alpine
apk list --installed | grep -i kvmWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-3656
trivy image --scanners vuln IMAGE | grep CVE-2021-3656
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://www.openwall.com/lists/oss-security/2021/08/16/1 openwall.com
- https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=c7dfa4009965a9b2d7b329ee970eb8da0d32f0bc git.kernel.org
- https://github.com/torvalds/linux/commit/c7dfa4009965a9b2d7b329ee970eb8da0d32f0bc github.com
- https://bugzilla.redhat.com/show_bug.cgi?id=1983988 bugzilla.redhat.com
Source: the record CVE-2021-3656 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse