CVE-2021-28697

HIGH

Xen 4.0.0-4.14.x - Race Condition in Grant Table v2 Status Page De-allocation

Title source: llm
STIX 2.1

Description

grant table v2 status pages may remain accessible after de-allocation Guest get 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, get de-allocated when a guest switched (back) from v2 to v1. The freeing of such pages requires that the hypervisor know where in the guest these pages were mapped. The hypervisor tracks only one use within guest space, but racing requests from the guest to insert mappings of these pages may result in any of them to become mapped in multiple locations. Upon switching back from v2 to v1, the guest would then retain access to a page that was freed and perhaps re-used for other purposes.

References (6)

Core 6
Core References
Third Party Advisory x_refsource_misc
https://xenbits.xenproject.org/xsa/advisory-379.txt
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.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/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 - 4.15.0
Published Aug 27, 2021
Tracked Since Feb 18, 2026