CVE-2021-28707
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).
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | xen | Fix pending | UBUNTU-CVE-2021-28707 | |
| Ubuntu 26.04 | xen | Under investigation | UBUNTU-CVE-2021-28707 | |
| Ubuntu 25.10 | xen | Will not fix hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary | UBUNTU-CVE-2021-28707 | |
| Ubuntu 24.04 | xen | Under investigation | UBUNTU-CVE-2021-28707 | |
| Ubuntu 22.04 | xen | Under investigation | UBUNTU-CVE-2021-28707 | |
| Ubuntu 20.04 | xen | Will not fix hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary | UBUNTU-CVE-2021-28707 | |
| Ubuntu 18.04 | xen | Will not fix hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary | UBUNTU-CVE-2021-28707 | |
| Ubuntu 16.04 | xen | Will not fix hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary | UBUNTU-CVE-2021-28707 | |
| Ubuntu 14.04 | xen | Will not fix hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary | ||
| Debian 14 | xen | Fixed | 4.14.3+32-g9de3671772-1 | DEBIAN-CVE-2021-28707 |
| Debian 13 | xen | Fixed | 4.14.3+32-g9de3671772-1 | DEBIAN-CVE-2021-28707 |
| Debian 12 | xen | Fixed | 4.14.3+32-g9de3671772-1 | DEBIAN-CVE-2021-28707 |
| Alpine Linux 3.24 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.23 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.22 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.21 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.20 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.19 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.18 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.17 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.16 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.15 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.14 | xen | Fixed | 4.15.1-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.13 | xen | Fixed | 4.14.3-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.12 | xen | Fixed | 4.13.4-r2 | ALPINE-CVE-2021-28707 |
| Alpine Linux 3.11 | xen | Fixed | 4.13.4-r2 | ALPINE-CVE-2021-28707 |
What the vendor says
As published in the CVE record by XEN, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- xen: affected: xen-unstable
- xen: affected: 4.12.x to before unspecified
- xen: affected: 4.15.x
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://www.debian.org/security/2021/dsa-5017 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202402-07 (vendor-advisory)
References
- https://xenbits.xenproject.org/xsa/advisory-388.txt
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I7ZGWVVRI4XY2XSTBI3XEMWBXPDVX6OT/
- https://www.debian.org/security/2021/dsa-5017
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXUI4VMD52CH3T7YXAG3J2JW7ZNN3SXF/
- https://security.gentoo.org/glsa/202402-07
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.