xen: PoD operations on misaligned GFNs T[his CNA information record relates to multiple CVEs; the text explains which aspe...
CVE-2021-28704 is fixed in xen on 1 platform, first by DEBIAN-CVE-2021-28704, released November 24, 2021. It is not reported as exploited. Patch Radar priority: High.
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).
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| xen · Debian 12.15 (bookworm) | 4.14.3+32-g9de3671772-1 | DEBIAN-CVE-2021-28704 | Nov 24, 2021 |
| xen · Debian 13.5 (trixie) | 4.14.3+32-g9de3671772-1 | DEBIAN-CVE-2021-28704 | Nov 24, 2021 |
| xen · Debian 14 | 4.14.3+32-g9de3671772-1 | DEBIAN-CVE-2021-28704 | Nov 24, 2021 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.