Skip to content
OpenAdvisories
Unscored CVE-2021-28707 EUVD-2021-15364GHSA-jpp8-232v-26fc

PoD operations on misaligned GFNs T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities co…

Published Nov 24, 2021 · Updated Aug 3, 2024 · Assigned by XEN

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 products

VendorProductAffectedFixed
Xen xen xen-unstable, 4.12.x – < unspecified, 4.15.x unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xen 4.14.3+32-g9de3671772-1 —
Debian 13 xen 4.14.3+32-g9de3671772-1 —
Debian 12 xen 4.14.3+32-g9de3671772-1 —
Debian 11 xen 4.14.3+32-g9de3671772-1~deb11u1 DSA-5017-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 xen No fix yet —
Ubuntu 26.04 LTS xen No fix yet —
Ubuntu 25.10 xen No fix yet —
Ubuntu 24.04 LTS xen No fix yet —
Ubuntu 22.04 LTS xen No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS xen No fix yet —
Ubuntu 18.04 LTS xen No fix yet —
Ubuntu 16.04 LTS xen No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP3 xen 4.14.3_04-3.15.1 SUSE-SU-2021:3968-1
SLES 15 SP2 xen 4.13.4_02-3.40.1 SUSE-SU-2021:3888-1
SLES 15 SP1 xen 4.12.4_16-3.57.1 SUSE-SU-2021:3977-1
SLES 12 SP5 xen 4.12.4_16-3.55.1 SUSE-SU-2021:3852-1
SLES 12 SP4 xen 4.11.4_24-2.65.1 SUSE-SU-2021:3849-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 xen 4.9.4_24-3.97.1 SUSE-SU-2021:3851-1
SLES 12 SP2 xen 4.7.6_18-43.82.1 SUSE-SU-2021:3813-1
SLES for SAP 15 SP1 xen 4.12.4_16-3.57.1 SUSE-SU-2021:3977-1
SLES for SAP 15 xen 4.10.4_30-3.68.1 SUSE-SU-2021:3842-1
SLES for SAP 12 SP5 xen 4.12.4_16-3.55.1 SUSE-SU-2021:3852-1
SLES for SAP 12 SP4 xen 4.11.4_24-2.65.1 SUSE-SU-2021:3849-1
SLES for SAP 12 SP3 xen 4.9.4_24-3.97.1 SUSE-SU-2021:3851-1
SLE Micro 5.1 xen 4.14.3_04-3.15.1 SUSE-SU-2021:3968-1
SLE Micro 5.0 xen 4.13.4_02-3.40.1 SUSE-SU-2021:3888-1
SLE HPC 15 SP1 xen 4.12.4_16-3.57.1 SUSE-SU-2021:3977-1
SLE HPC 15 xen 4.10.4_30-3.68.1 SUSE-SU-2021:3842-1
SUSE OpenStack Cloud Crowbar 9 xen 4.11.4_24-2.65.1 SUSE-SU-2021:3849-1
SUSE OpenStack Cloud Crowbar 8 xen 4.9.4_24-3.97.1 SUSE-SU-2021:3851-1
SUSE OpenStack Cloud 9 xen 4.11.4_24-2.65.1 SUSE-SU-2021:3849-1
SUSE OpenStack Cloud 8 xen 4.9.4_24-3.97.1 SUSE-SU-2021:3851-1
SUSE HPE Helion OpenStack 8 xen 4.9.4_24-3.97.1 SUSE-SU-2021:3851-1
SUSE Enterprise Storage 6 xen 4.12.4_16-3.57.1 SUSE-SU-2021:3977-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 xen 4.14.3_04-3.15.1 openSUSE-SU-2021:3968-1
openSUSE Leap 15.2 xen 4.13.4_02-lp152.2.33.1 openSUSE-SU-2021:1543-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xen 4.15.1-r2 —
Alpine v3.23 xen 4.15.1-r2 —
Alpine v3.22 xen 4.15.1-r2 —
Alpine v3.21 xen 4.15.1-r2 —
Alpine v3.20 xen 4.15.1-r2 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xen 4.15.1-r2 —
Alpine v3.18 xen 4.15.1-r2 —
Alpine v3.17 xen 4.15.1-r2 —
Alpine v3.16 xen 4.15.1-r2 —
Alpine v3.15 xen 4.15.1-r2 —
Alpine v3.14 xen 4.15.1-r2 —
Alpine v3.13 xen 4.14.3-r2 —
Alpine v3.12 xen 4.13.4-r2 —
Alpine v3.11 xen 4.13.4-r2 —

Advisories 12

References