CVE-2021-28708 Denial of service in xen

High 8.8 Published Updated

A flaw in Xen hypervisor's memory management allows a guest to crash the host via specific hypercalls, requiring a patch to prevent denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-28708?

CVE-2021-28708 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 24 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2021-28708?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Xen Xen.

How do I fix CVE-2021-28708?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-28708 being exploited?

There is no known exploitation of CVE-2021-28708 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2021-28708, DEBIAN-CVE-2021-28708, GHSA-959p-vvwh-xj92, UBUNTU-CVE-2021-28708.

Is CVE-2021-28708 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free