Race condition in xen
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Xen | xen | 4.15.x and later | next of xen-unstable | Patch available | CNA |
| Xen | xen | 4.11.x | — | No fix listed | CNA |
| Xen | xen | 4.12.x and later | next of 4.14.x | Patch available | CNA |
- xen VendorXen Affected 4.15.x and later Fixed in next of xen-unstable Patch available CNA
- xen VendorXen Affected 4.11.x Fixed in — No fix listed CNA
- xen VendorXen Affected 4.12.x and later Fixed in next of 4.14.x Patch available CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:xen:xen:*:*:*:*:*:*:*:* | 4.0.0 | Vulnerable | Xen |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
- cpe:2.3:o:xen:xen:*:*:*:*:*:*:*:* Versions 4.0.0 Vulnerable ·Xen
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
Remediation
- Fix · CNA xen (Xen) Fixed in next of xen-unstable
- Fix · CNA xen (Xen) Fixed in next of 4.14.x
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-28701
- 2026-10-03 Alias added: GHSA-423x-f92f-r5fm
References
Advisory 8
- https://xenbits.xenproject.org/xsa/advisory-384.txt
- http://xenbits.xen.org/xsa/advisory-384.html
- [oss-security] 20210908 Xen Security Advisory 384 v3 (CVE-2021-28701) - Another race in XENMAPSPACE_grant_table handling
- FEDORA-2021-11577e5229
- FEDORA-2021-fed53cbc7d
- DSA-4977
- FEDORA-2021-5a0c7bc619
- GLSA-202208-23
More Xen vulnerabilities
- TI-2012-00210 The x86-64 kernel system-call functionality in Xen 4.1.2 and earlier, as used in Citrix… CVSS 2.0HIGH 7.2
- TI-2023-07042 Information disclosure through error messages in AMD Ryzen™ 3000 Series Desktop… CVSS 3.1MEDIUM 5.5
- TI-2015-04333 The C+ mode offload emulation in the RTL8139 network card device model in QEMU, as used… CVSS 2.0HIGH 9.3
- TI-2015-06741 The KVM subsystem in the Linux kernel through 4.2.6, and Xen 4.3.x through 4.6.x, allows… CVSS 3.1CRITICAL 10.0
- TI-2018-06436 A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures… CVSS 3.0HIGH 7.8
- TI-2024-20522 x86: Incorrect logic for BTC/SRSO mitigations CVSS 3.1HIGH 7.5
Sources
- CVE-2021-28701 · CVE Program
- CVE-2021-28701 · NVD
- FIRST EPSS
- GHSA-423x-f92f-r5fm · GitHub Advisory Database · CC BY 4.0
- CVE-2021-28701 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences