# CVE-2021-28701: Another race in XENMAPSPACEgranttable handling Guests are permitted access to certain Xen-owned pages of memory.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2021-09-08T13:02:28.000Z
- Modified: 2026-06-17T03:46:49.863Z
- Weaknesses: CWE-362
- 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.

(As written by CVE List.)

## Affected

- 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)
- debian debian_linux: 11.0
- fedoraproject fedora: 33; 34; 35

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`

## 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

- CVE List: [CVE-2021-28701](https://www.cve.org/CVERecord?id=CVE-2021-28701), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-28701](https://nvd.nist.gov/vuln/detail/CVE-2021-28701), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28701 · Whole record: https://cve.day/CVE-2021-28701.json · Rebuilt by cve.day 2026-11-25T22:58:03.722Z
