8.8high
A flaw was found in the KVM's AMD code for supporting SVM nested virtualization.
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.66% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| KVM | Fixed-In v5.14-rc7 and above | CVE List |
| linux linux_kernel | from 4.13 before 4.14.245, from 4.15 before 4.19.205, from 4.20 before 5.4.142, from 5.5 before 5.10.60, from 5.11 before 5.13.12, 5.14 | NVD |
| fedoraproject fedora | 33, 34 | NVD |
| redhat software_collections | Not specified | NVD |
| redhat openstack | 13 | NVD |
| redhat enterprise_linux | 8.0 | NVD |
| redhat enterprise_linux_desktop | 7.0 | NVD |
| redhat enterprise_linux_eus | 8.1, 8.2, 8.4 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 7.0, 8.0 | NVD |
| redhat enterprise_linux_for_ibm_z_systems_eus | 8.1, 8.2, 8.4 | NVD |
| redhat enterprise_linux_for_power_big_endian | 7.0 | NVD |
| redhat enterprise_linux_for_power_little_endian | 7.0, 8.0 | NVD |
| redhat enterprise_linux_for_power_little_endian_eus | 8.1, 8.2, 8.4 | NVD |
| redhat enterprise_linux_for_real_time | 7, 8 | NVD |
| redhat enterprise_linux_for_real_time_for_nfv | 7, 8 | NVD |
| redhat enterprise_linux_for_real_time_for_nfv_tus | 8.2, 8.4 | NVD |
| redhat enterprise_linux_for_real_time_tus | 8.2, 8.4 | NVD |
| redhat enterprise_linux_for_scientific_computing | 7.0 | NVD |
| redhat enterprise_linux_server | 7.0 | NVD |
| redhat enterprise_linux_server_aus | 7.6, 7.7, 8.2, 8.4 | NVD |
| redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 7.6, 8.1, 8.2, 8.4 | NVD |
| redhat enterprise_linux_server_tus | 7.6, 7.7, 8.2, 8.4 | NVD |
| redhat enterprise_linux_server_update_services_for_sap_solutions | 7.6, 7.7, 8.1, 8.2, 8.4 | NVD |
| redhat enterprise_linux_workstation | 7.0 | NVD |
| redhat 3scale_api_management | 2.0 | NVD |
| redhat codeready_linux_builder | Not specified | NVD |
| redhat virtualization_host | 4.0 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.2high CVSS:2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha encontrado un fallo en el código AMD de KVM para soportar la virtualización anidada SVM. El fallo es producido cuando es procesado el VMCB (bloque de control de la máquina virtual) proporcionado por el huésped L1 para generar/manejar un huésped anidado (L2). Debido a que no es comprobado apropiadamente el campo "virt_ext", este problema podría permitir a un L1 malicioso deshabilitar tanto las intercepciones VMLOAD/VMSAVE como el VLS (Virtual VMLOAD/VMSAVE) para el huésped L2. Como resultado, el invitado L2 podría leer/escribir páginas físicas del anfitrión, resultando en un bloqueo de todo el sistema, un filtrado de datos confidenciales o un potencial escape del invitado al anfitrión
References
| https://www.openwall.com/lists/oss-security/2021/08/16/1 | mailing-list, third-party-advisory | |
| https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=c7dfa4009965a9b2d7b329ee970eb8da0d32f0bc | patch, third-party-advisory | |
| https://github.com/torvalds/linux/commit/c7dfa4009965a9b2d7b329ee970eb8da0d32f0bc | patch, third-party-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1983988 | issue-tracking, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3656 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-3656 changed 2026-06-17 | Public domain |