8.8
Advisory Published
Updated

CVE-2021-28704

First published: Wed Nov 24 2021(Updated: )

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

Credit: security@xen.org security@xen.org

Affected SoftwareAffected VersionHow to fix
debian/xen<=4.11.4+107-gef32c7afa2-1
4.14.6-1
4.14.5+94-ge49571868d-1
4.17.1+2-gb773c48e36-1
4.17.2+55-g0b56bed864-1
Xen XAPI>=4.7.0<=4.15.1
Fedora=34
Fedora=35
Debian=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-28704?

    CVE-2021-28704 has a severity rating that indicates potential impacts on the stability and security of x86 HVM and PVH guests when operating in populate-on-demand mode.

  • How do I fix CVE-2021-28704?

    To fix CVE-2021-28704, upgrade to a patched version of the Xen package as specified in your affected software documentation.

  • What systems are affected by CVE-2021-28704?

    CVE-2021-28704 affects Xen versions between 4.7.0 and 4.15.1, as well as specific distributions such as Debian and Fedora.

  • What types of vulnerabilities does CVE-2021-28704 address?

    CVE-2021-28704 specifically addresses vulnerabilities related to memory alignment issues in populate-on-demand operations.

  • Is CVE-2021-28704 a critical vulnerability?

    While CVE-2021-28704 is significant, its criticality depends on the specific context and configuration of the affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203