7.8high
Another race in XENMAPSPACEgranttable handling Guests are permitted access to certain Xen-owned pages of memory.
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- XEN
Description
Another race in XENMAPSPACE_grant_table handling Guests are permitted access to certain Xen-owned pages of memory. The majority of such pages remain allocated / associated with a guest for its entire lifetime. Grant table v2 status pages, however, are de-allocated when a guest switches (back) from v2 to v1. Freeing such pages requires that the hypervisor enforce that no parallel request can result in the addition of a mapping of such a page to a guest. That enforcement was missing, allowing guests to retain access to pages that were freed and perhaps re-used for other purposes. Unfortunately, when XSA-379 was being prepared, this similar issue was not noticed.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Xen xen | from unspecified before 4.12, from 4.15.x before unspecified, 4.11.x, from 4.12.x before unspecified, from 4.0.0 Not affected: from next of xen-unstable before unspecified, from next of 4.14.x before unspecified | CVE List, NVD |
| debian debian_linux | 11.0 | NVD |
| fedoraproject fedora | 33, 34, 35 | NVD |
All scores
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 4.4medium CVSS:2.0 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
Another race in XENMAPSPACE_grant_table handling Guests are permitted access to certain Xen-owned pages of memory. The majority of such pages remain allocated / associated with a guest for its entire lifetime. Grant table v2 status pages, however, are de-allocated when a guest switches (back) from v2 to v1. Freeing such pages requires that the hypervisor enforce that no parallel request can result in the addition of a mapping of such a page to a guest. That enforcement was missing, allowing guests to retain access to pages that were freed and perhaps re-used for other purposes. Unfortunately, when XSA-379 was being prepared, this similar issue was not noticed.
NVD (es)
Otra carrera en el manejo de la función XENMAPSPACE_grant_table de los Huéspedes, se les permite el acceso a determinadas páginas de memoria propiedad de Xen. La mayoría de estas páginas permanecen asignadas / asociadas a un huésped durante toda su vida. Las páginas de estado de la tabla Grant v2, sin embargo, se desasignan cuando un huésped cambia (de nuevo) de v2 a v1. Una liberación de dichas páginas requiere que el hipervisor haga cumplir que ninguna petición paralela pueda resultar en la adición de un mapeo de dicha página a un huésped. Esta aplicación no existía, permitiendo a los huéspedes mantener el acceso a las páginas liberadas y quizás reusarlas para otros fines. Desafortunadamente, cuando fue preparada la XSA-379, no se advirtió este problema similar
References
| https://xenbits.xenproject.org/xsa/advisory-384.txt | vendor-advisory | |
| http://xenbits.xen.org/xsa/advisory-384.html | vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2021/09/08/2 | mailing-list, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L4MI3MQAPGILCLXBGQWPZHGE3ALSO4ZU/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CEHZLIR5DFYYQBH55AERWHLO54OFU42C/ | 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/3HEHUIUWSSMCQGQY3GWX4J2SZGYP5W2Z/ | vendor-advisory | |
| https://security.gentoo.org/glsa/202208-23 | third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-28701 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-28701 changed 2026-06-17 | Public domain |