6.8medium
IOMMU page mapping issues on x86 T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities cor…
- Severity
- 6.8medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.36% (higher than 22% of CVEs)
- Published
- Last changed
- Assigned by
- XEN
Description
IOMMU page mapping issues on x86 T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Both AMD and Intel allow ACPI tables to specify regions of memory which should be left untranslated, which typically means these addresses should pass the translation phase unaltered. While these are typically device specific ACPI properties, they can also be specified to apply to a range of devices, or even all devices. On all systems with such regions Xen failed to prevent guests from undoing/replacing such mappings (CVE-2021-28694). On AMD systems, where a discontinuous range is specified by firmware, the supposedly-excluded middle range will also be identity-mapped (CVE-2021-28695). Further, on AMD systems, upon de-assigment of a physical device from a guest, the identity mappings would be left in place, allowing a guest continued access to ranges of memory which it shouldn't have access to anymore (CVE-2021-28696).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Xen xen | 4.11.x, xen-unstable, 4.12.x, 4.14.x, 4.15.x, 4.13.x | CVE List, NVD |
| fedoraproject fedora | 33, 34, 35 | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| NVD | 6.8medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 4.6medium CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
IOMMU page mapping issues on x86 T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Both AMD and Intel allow ACPI tables to specify regions of memory which should be left untranslated, which typically means these addresses should pass the translation phase unaltered. While these are typically device specific ACPI properties, they can also be specified to apply to a range of devices, or even all devices. On all systems with such regions Xen failed to prevent guests from undoing/replacing such mappings (CVE-2021-28694). On AMD systems, where a discontinuous range is specified by firmware, the supposedly-excluded middle range will also be identity-mapped (CVE-2021-28695). Further, on AMD systems, upon de-assigment of a physical device from a guest, the identity mappings would be left in place, allowing a guest continued access to ranges of memory which it shouldn't have access to anymore (CVE-2021-28696).
NVD (es)
Problemas de mapeo de páginas IOMMU en x86 [Este registro de inmaneración CNA se relaciona con múltiples CVEs; el texto explica qué aspectos/vulnerabilidades corresponden a cada CVE]. Tanto AMD como Intel permiten que las tablas ACPI especifiquen las regiones de memoria que deben dejarse sin traducir, lo que normalmente significa que estas direcciones deben pasar la fase de traducción sin ser alteradas. Mientras que estas son típicamente propiedades ACPI específicas del dispositivo, también pueden ser especificadas para aplicarse a un rango de dispositivos, o incluso a todos los dispositivos. En todos los sistemas con tales regiones, Xen falló al evitar que los huéspedes deshicieran/reemplazaran tales mapeos (CVE-2021-28694). En los sistemas AMD, donde un rango discontinuo es especificado por el firmware, el rango medio supuestamente excluido también será mapeado por la identidad (CVE-2021-28695). Además, en los sistemas AMD, al desasignar un dispositivo físico de un huésped, los mapeos de identidad se dejarían en su lugar, permitiendo a un huésped el acceso continuo a rangos de memoria a los que ya no debería tener acceso (CVE-2021-28696).
References
| https://xenbits.xenproject.org/xsa/advisory-378.txt | vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2021/09/01/1 | mailing-list, third-party-advisory | |
| http://www.openwall.com/lists/oss-security/2021/09/01/5 | mailing-list, third-party-advisory | |
| http://www.openwall.com/lists/oss-security/2021/09/01/6 | mailing-list, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LPRVHW4J4ZCPPOHZEWP5MOJT7XDGFFPJ/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FZCNPSRPGFCQRYE2BI4D4Q4SCE56ANV2/ | vendor-advisory | |
| https://www.debian.org/security/2021/dsa-4977 | third-party-advisory, vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VQCFAPBNGBBAOMJZG6QBREOG5IIDZID/ | vendor-advisory | |
| https://security.gentoo.org/glsa/202208-23 | third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-28696 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-28696 changed 2026-06-17 | Public domain |