CVE-2021-28704 PUBLISHED

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).

EPSS 0.09% · 24.8th percentile

Risk Scores

EPSS Score
0.09%
24.8th percentile

Affected Products

VendorProductVersions
Ubuntu:22.04:LTSxen4.16.0-1~ubuntu2.1, 4.16.0-1~ubuntu2, 4.11.4+24-gddaaccbbab-1ubuntu2
Ubuntu:24.04:LTSxen4.17.2+76-ge1f9cb16e2-1ubuntu1, 4.17.3+10-g091466ba55-1, 4.17.3+10-g091466ba55-1.1ubuntu2
Ubuntu:16.04:LTSxen4.6.0-1ubuntu4.3, 4.6.5-0ubuntu1.2, 4.6.5-0ubuntu1.1
Ubuntu:18.04:LTSxen0, 4.9.0-0ubuntu3, 4.9.0-0ubuntu4
Ubuntu:20.04:LTSxen4.9.2-0ubuntu7, 0, 4.9.2-0ubuntu2
Ubuntu:25.10xen0, 4.20.0-1ubuntu1, 4.20.0+68-g35cb38b222-1

Timeline

References

Open in Interactive Console →