CVE-2021-28701

HIGH

Xen >=4.0.0 - Race Condition in XENMAPSPACE_grant_table Handling

Title source: llm
STIX 2.1

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.

References (8)

Core 8
Core References
Vendor Advisory x_refsource_misc
https://xenbits.xenproject.org/xsa/advisory-384.txt
Vendor Advisory x_refsource_confirm
http://xenbits.xen.org/xsa/advisory-384.html
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2021/09/08/2
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2021/dsa-4977
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202208-23

Scores

CVSS v3 7.8
EPSS 0.0006
EPSS Percentile 18.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Details

CWE
CWE-362
Status published
Products (5)
debian/debian_linux 11.0
fedoraproject/fedora 33
fedoraproject/fedora 34
fedoraproject/fedora 35
xen/xen 4.0.0
Published Sep 08, 2021
Tracked Since Feb 18, 2026