cve.bz

CVE-2021-3656 Missing Authorization

8.8 highEPSS 0.7%Fix available

High (8.8). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-862 Missing Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3656 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3656?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3656?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3656 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 4.13 before 4.14.245
linux:linux_kernelfrom 4.15 before 4.19.205
linux:linux_kernelfrom 4.20 before 5.4.142
linux:linux_kernelfrom 5.5 before 5.10.60
linux:linux_kernelfrom 5.11 before 5.13.12
linux:linux_kernel5.14
linux:linux_kernel5.14:rc1
linux:linux_kernel5.14:rc2
linux:linux_kernel5.14:rc3
linux:linux_kernel5.14:rc4
linux:linux_kernel5.14:rc5
linux:linux_kernel5.14:rc6
fedoraproject:fedora33
fedoraproject:fedora34
redhat:openstack13
redhat:enterprise_linux8.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_eus8.1
redhat:enterprise_linux_eus8.2
redhat:enterprise_linux_eus8.4
redhat:enterprise_linux_for_ibm_z_systems7.0
redhat:enterprise_linux_for_ibm_z_systems8.0
redhat:enterprise_linux_for_ibm_z_systems_eus8.1
redhat:enterprise_linux_for_ibm_z_systems_eus8.2
redhat:enterprise_linux_for_ibm_z_systems_eus8.4
redhat:enterprise_linux_for_power_big_endian7.0
redhat:enterprise_linux_for_power_little_endian7.0
redhat:enterprise_linux_for_power_little_endian8.0
redhat:enterprise_linux_for_power_little_endian_eus8.1
redhat:enterprise_linux_for_power_little_endian_eus8.2
redhat:enterprise_linux_for_power_little_endian_eus8.4
redhat:enterprise_linux_for_real_time7
redhat:enterprise_linux_for_real_time8
redhat:enterprise_linux_for_real_time_for_nfv7
redhat:enterprise_linux_for_real_time_for_nfv8
redhat:enterprise_linux_for_real_time_for_nfv_tus8.2
redhat:enterprise_linux_for_real_time_for_nfv_tus8.4
redhat:enterprise_linux_for_real_time_tus8.2
redhat:enterprise_linux_for_real_time_tus8.4
redhat:enterprise_linux_for_scientific_computing7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_aus7.7
redhat:enterprise_linux_server_aus8.2
redhat:enterprise_linux_server_aus8.4
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions7.6
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.1
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.2
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.4
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_server_tus7.7
redhat:enterprise_linux_server_tus8.2
redhat:enterprise_linux_server_tus8.4
redhat:enterprise_linux_server_update_services_for_sap_solutions7.6
redhat:enterprise_linux_server_update_services_for_sap_solutions7.7
redhat:enterprise_linux_server_update_services_for_sap_solutions8.1
redhat:enterprise_linux_server_update_services_for_sap_solutions8.2
redhat:enterprise_linux_server_update_services_for_sap_solutions8.4
redhat:enterprise_linux_workstation7.0
redhat:3scale_api_management2.0
redhat:virtualization_host4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux-4.194.19.208-1~deb9u1DLA-2785-1
Debian11linux5.10.46-5DSA-4978-1
Debian12, 13, 14linux5.14.6-1DEBIAN-CVE-2021-3656
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-3656
Ubuntu18.04:LTSlinux4.15.0-156.163UBUNTU-CVE-2021-3656 USN-5073-1
Ubuntu18.04:LTSlinux-aws4.15.0-1111.118UBUNTU-CVE-2021-3656 USN-5073-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1056.59~18.04.1UBUNTU-CVE-2021-3656 USN-5071-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1123.136UBUNTU-CVE-2021-3656 USN-5073-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1058.60~18.04.1UBUNTU-CVE-2021-3656 USN-5071-1
Ubuntu18.04:LTSlinux-dell300x4.15.0-1027.32UBUNTU-CVE-2021-3656 USN-5073-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2021-3656
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1108.122UBUNTU-CVE-2021-3656 USN-5073-2
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1052.56~18.04.1UBUNTU-CVE-2021-3656 USN-5071-1
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1052.55~18.04.1UBUNTU-CVE-2021-3656 USN-5071-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1023.24~18.04.1UBUNTU-CVE-2021-3656 USN-5071-1
51 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-1160.45.1.el7RHSA-2021:3801
Red Hatenterprise_linux:7::computenodeperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 5 more0:3.10.0-1160.45.1.el7RHSA-2021:3801
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-1160.45.1.el7RHSA-2021:3801
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-305.25.1.el8_4RHSA-2021:4056
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-305.25.1.el8_4RHSA-2021:4056
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-305.25.1.rt7.97.el8_4RHSA-2021:4088
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-305.25.1.rt7.97.el8_4RHSA-2021:4088
Red Hatrhel_aus:7.6::server, rhel_tus:7.6::serverperf, kernel, bpftool and 15 more0:3.10.0-957.84.1.el7RHSA-2021:3812
Red Hatrhel_aus:7.7::server, rhel_tus:7.7::serverperf, kernel, bpftool and 16 more0:3.10.0-1062.59.1.el7RHSA-2021:3987
Red Hatrhel_e4s:7.6::serverperf, kernel, kernel-doc and 16 more0:3.10.0-957.84.1.el7RHSA-2021:3812
Red Hatrhel_e4s:7.7::serverperf, kernel, bpftool and 18 more0:3.10.0-1062.59.1.el7RHSA-2021:3987
Red Hatrhel_eus:8.1::baseosperf, kernel, bpftool and 32 more0:4.18.0-147.56.1.el8_1RHSA-2021:3676
6 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 morekernel-obs-build4.12.14-197.102.1SUSE-SU-2021:3876-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 2 morekernel-docs, kernel-syms, kernel-source and 1 more4.12.14-197.102.2SUSE-SU-2021:3876-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.83.2SUSE-SU-2021:3972-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.88.1SUSE-SU-2021:3206-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.78.1SUSE-SU-2021:3969-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-197.102.2SUSE-SU-2021:3876-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0 and 1 morekernel-default5.3.18-24.83.2SUSE-SU-2021:3207-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Module for Legacy 15 SP3kernel-default5.3.18-59.24.1SUSE-SU-2021:3205-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morekernel-docs, kernel-obs-build4.12.14-150.78.2SUSE-SU-2021:3969-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-syms, kernel-source, kernel-default and 1 more4.12.14-150.78.1SUSE-SU-2021:3969-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_1614-2.2SUSE-SU-2021:3073-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_1711-2.2SUSE-SU-2021:3073-1
80 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.2kernel-debug, kernel-source, kernel-default and 3 more5.3.18-lp152.92.2openSUSE-SU-2021:1271-1
openSUSELeap 15.2kernel-default-base5.3.18-lp152.92.2.lp152.8.42.3openSUSE-SU-2021:1271-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-obs-qa5.3.18-lp152.92.1openSUSE-SU-2021:1271-1
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-59.24.1openSUSE-SU-2021:3205-1
openSUSELeap 15.3kernel-azure5.3.18-38.22.2openSUSE-SU-2021:3179-1
openSUSELeap 15.3kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-197.102.2openSUSE-SU-2021:3876-1
openSUSELeap 15.3kernel-default-base5.3.18-59.24.1.18.12.1openSUSE-SU-2021:3205-1
openSUSELeap 15.3kernel-syms-azure, kernel-source-azure5.3.18-38.22.1openSUSE-SU-2021:3179-1
openSUSETumbleweedkernel-source5.14.6-1.4openSUSE-SU-2024:10728-1
openSUSETumbleweedkernel-source6.6.17-1.1openSUSE-SU-2024:13704-1
AlmaLinux8kernel-tools-libs-devel4.18.0-305.25.1.el8_4ALSA-2021:4056
Rocky Linux8kernel0:4.18.0-305.25.1.el8_4RLSA-2021:4056
Rocky Linux8kernel-rt0:4.18.0-305.25.1.rt7.97.el8_4RLSA-2021:4088

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The nested virtualization feature is not enabled by default up to Red Hat Enterprise Linux 8.4. Most importantly, Red Hat currently provides nested virtualization only as a Technology Preview, and is therefore unsupported for production use. For additional details please see https://access.redhat.com/solutions/21101 and https://access.redhat.com/support/offerings/techpreview.

Red Hat's mitigation

This vulnerability can be mitigated by disabling the nested virtualization feature:

```

# modprobe -r kvm_amd

# modprobe kvm_amd nested=0

```

Disabling VLS (Virtual VMLOAD/VMSAVE) is an alternative mitigation:

```

# modprobe kvm_amd vls=0

```

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-1160.45.1.rt56.1185.el7Fixed 2021-10-12RHSA-2021:3802
Red Hat Enterprise Linux 7kernel-0:3.10.0-1160.45.1.el7Fixed 2021-10-12RHSA-2021:3801
Red Hat Enterprise Linux 7.6 Advanced Update Supportkernel-0:3.10.0-957.84.1.el7Fixed 2021-10-12RHSA-2021:3812
Red Hat Enterprise Linux 7.6 Telco Extended Update Supportkernel-0:3.10.0-957.84.1.el7Fixed 2021-10-12RHSA-2021:3812
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskernel-0:3.10.0-957.84.1.el7Fixed 2021-10-12RHSA-2021:3812
Red Hat Enterprise Linux 7.7 Advanced Update Supportkernel-0:3.10.0-1062.59.1.el7Fixed 2021-10-26RHSA-2021:3987
Red Hat Enterprise Linux 7.7 Telco Extended Update Supportkernel-0:3.10.0-1062.59.1.el7Fixed 2021-10-26RHSA-2021:3987
Red Hat Enterprise Linux 7.7 Update Services for SAP Solutionskernel-0:3.10.0-1062.59.1.el7Fixed 2021-10-26RHSA-2021:3987
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-305.25.1.rt7.97.el8_4Fixed 2021-11-02RHSA-2021:4088
Red Hat Enterprise Linux 8kernel-0:4.18.0-305.25.1.el8_4Fixed 2021-11-02RHSA-2021:4056
Red Hat Enterprise Linux 8.1 Extended Update Supportkernel-0:4.18.0-147.56.1.el8_1Fixed 2021-09-28RHSA-2021:3676
Red Hat Enterprise Linux 8.2 Extended Update Supportkernel-rt-0:4.18.0-193.68.1.rt13.118.el8_2Fixed 2021-10-19RHSA-2021:3909
Red Hat Enterprise Linux 8.2 Extended Update Supportkernel-0:4.18.0-193.68.1.el8_2Fixed 2021-10-19RHSA-2021:3904
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 9kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3656.

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON