Vulnerability in Xen
CVE-2021-28701
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 18.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Xen — versions unspecified, 4.15.x, next of xen-unstable
- Debian Linux — versions 11.0
- Fedoraproject Fedora — versions 33, 34, 35
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (n0-traces/cve_monitor). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- xenbits.xenproject.org/xsa/advisory-384.txt (Vendor Advisory)
- xenbits.xen.org/xsa/advisory-384.html (Vendor Advisory)
- [oss-security] 20210908 Xen Security Advisory 384 v3 (CVE-2021-28701) - Another race in XENMAPSPACE_grant_table handling (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2021-11577e5229 (vendor-advisory)
- FEDORA-2021-fed53cbc7d (vendor-advisory)
- DSA-4977 (vendor-advisory, Third Party Advisory)
- FEDORA-2021-5a0c7bc619 (vendor-advisory)
- GLSA-202208-23 (vendor-advisory, Third Party Advisory)