CVE-2021-28694
JSON

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.38% (higher than 33% of CVEs; EPSS, by FIRST)
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 packageVersionsReported by
Xen xen4.11.x, xen-unstable, 4.12.x, 4.14.x, 4.15.x, 4.13.xCVE List, NVD
fedoraproject fedora33, 34, 35NVD
debian debian_linux11.0NVD

All scores

NVD6.8medium CVSS:3.1CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P

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.txtvendor-advisory
http://www.openwall.com/lists/oss-security/2021/09/01/1mailing-list, third-party-advisory
http://www.openwall.com/lists/oss-security/2021/09/01/5mailing-list, third-party-advisory
http://www.openwall.com/lists/oss-security/2021/09/01/6mailing-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-4977third-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-23third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-28694 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-28694 changed 2026-06-17Public domain