LiveActive security incident?Get immediate response
CVE Record

CVE-2021-28687: HVM soft-reset crashes toolstack libxl requires all data structures passed across its public interface to b...

HVM soft-reset crashes toolstack libxl requires all data structures passed across its public interface to be initialized before use and disposed of afterwards by calling a specific set of functions. Many internal data structures also require this initialize / dispose discipline, but not all of them. When the "soft reset" feature was implemented, the libxl__domain_suspend_state structure didn't require any initialization or disposal. At some point later, an initialization function was introduced for the structure; but the "soft reset" path wasn't refactored to call the initialization function. When a guest nwo initiates a "soft reboot", uninitialized data structure leads to an assert() when later code finds the structure in an unexpected state. The effect of this is to crash the process monitoring the guest. How this affects the system depends on the structure of the toolstack. For xl, this will have no security-relevant effect: every VM has its own independent monitoring process, which contains no state. The domain in question will hang in a crashed state, but can be destroyed by `xl destroy` just like any other non-cooperating domain. For daemon-based toolstacks linked against libxl, such as libvirt, this will crash the toolstack, losing the state of any in-progress operations (localized DoS), and preventing further administrator operations unless the daemon is configured to restart automatically (system-wide DoS). If crashes "leak" resources, then repeated crashes could use up resources, also causing a system-wide DoS.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This Xen issue lets an HVM guest soft reboot trigger a crash in the process monitoring that guest. With xl, impact is limited to that VM hanging. With daemon-based libxl toolstacks such as libvirt, the daemon can crash, disrupting administrator operations and potentially causing broader denial of service if repeated crashes consume resources.

Executive priority

Treat this as a virtualization availability risk, especially for shared Xen infrastructure. It is not presented as code execution, but daemon crashes can interrupt administration across guests. Prioritize patch review and restart resilience on hosts using libvirt or comparable daemon-based management.

Technical view

The soft-reset path failed to initialize a libxl__domain_suspend_state structure after an initialization requirement was later added. When later code observes unexpected state, an assert() can terminate the monitoring process. Impact depends on toolstack design: isolated xl monitors reduce blast radius, while daemon-based libxl consumers can lose in-progress operation state and availability.

Likely exposure

Exposure is most relevant to Xen hosts running affected 4.12.x, 4.13-related, 4.14.x, or unstable builds with HVM guests and libxl-based toolstacks. Risk is higher where libvirt or another daemon-based toolstack manages multiple guests and is not configured to restart automatically.

Exploitation context

The supplied sources do not show active exploitation, and KEV status is false. The trigger described is a guest-initiated HVM soft reboot causing toolstack crash behavior, so the practical concern is tenant or guest-driven denial of service rather than data theft or host code execution.

Researcher notes

The source bundle does not provide CVSS, CWE, or detailed patch identifiers. Analysis should stay scoped to Xen HVM soft reset and libxl toolstack crash behavior. Avoid assuming all Xen deployments have equal impact; xl and daemon-based toolstacks differ materially.

Mitigation direction

  • Review Xen XSA-368 and distribution guidance for fixed Xen packages.
  • Apply relevant Xen or Gentoo security updates where available.
  • Ensure daemon-based toolstacks restart automatically after crashes.
  • Assess whether libvirt or another daemon-based libxl consumer is in use.
  • Plan remediation before deploying new HVM workloads on affected hosts.

Validation and detection

  • Inventory Xen versions across virtualization hosts.
  • Identify whether hosts use xl, libvirt, or another libxl-based toolstack.
  • Check logs for toolstack assertion crashes around HVM soft reboots.
  • Confirm vendor advisory status for each installed Xen package.
  • Verify operational monitoring alerts on libvirt or toolstack daemon restarts.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-28687 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Xenxenxen-unstableListed
Xenxenunspecified, 4.12.x, next of 4.13.xListed
Xenxen4.14.xListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.