# CVE-2021-28704: PoD operations on misaligned GFNs T\[his CNA information record relates to multiple CVEs; the text explains which aspect…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **Published:** 2021-11-24T00:00:00.000Z
- **Modified:** 2026-06-17T03:46:50.290Z

## Who should check

- Anyone running xen xen-unstable
- Anyone running xen \>= 4.12.x, \< unspecified
- Anyone running xen 4.15.x

## Description

PoD operations on misaligned GFNs T\[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.\] x86 HVM and PVH guests may be started in populate-on-demand (PoD) mode, to provide a way for them to later easily have more memory assigned. Guests are permitted to control certain P2M aspects of individual pages via hypercalls. These hypercalls may act on ranges of pages specified via page orders (resulting in a power-of-2 number of pages). The implementation of some of these hypercalls for PoD does not enforce the base page frame number to be suitably aligned for the specified order, yet some code involved in PoD handling actually makes such an assumption. These operations are XENMEM\_decrease\_reservation (CVE-2021-28704) and XENMEM\_populate\_physmap (CVE-2021-28707), the latter usable only by domains controlling the guest, i.e. a de-privileged qemu or a stub domain. (Patch 1, combining the fix to both these two issues.) In addition handling of XENMEM\_decrease\_reservation can also trigger a host crash when the specified page order is neither 4k nor 2M nor 1G (CVE-2021-28708, patch 2).

## Affected and fixed versions

- xen: xen-unstable (cvelist)
- xen: \>= 4.12.x, \< unspecified (cvelist)
- xen: 4.15.x (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-28704. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-28704.md
Affected: xen xen-unstable; xen >= 4.12.x, < unspecified; xen 4.15.x
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for xen: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-28704 being exploited?

There is no confirmed exploitation: CVE-2021-28704 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-28704?

High: CVSS 8.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-28704?

xen xen-unstable; xen \>= 4.12.x, \< unspecified; xen 4.15.x.

### Is there a fix for CVE-2021-28704?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-28704?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I7ZGWVVRI4XY2XSTBI3XEMWBXPDVX6OT/>
- vendor: <https://www.debian.org/security/2021/dsa-5017>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXUI4VMD52CH3T7YXAG3J2JW7ZNN3SXF/>
- vendor: <https://security.gentoo.org/glsa/202402-07>
- patch: <https://xenbits.xenproject.org/xsa/advisory-388.txt>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-28704>

HTML: <https://flawdb.com/CVE-2021-28704> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-28704>
