Skip to main content
Vulnerability Database/CVE-2026-102916

CVE-2026-102916: illumos bhyve DOS Vulnerability

CVE-2026-102916 is a denial of service flaw in illumos bhyve that lets guest VMs crash the host system through instruction emulation. This post covers technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-102916 Overview

CVE-2026-102916 is a reachable assertion vulnerability [CWE-617] in the illumos bhyve hypervisor's instruction emulator. A privileged user inside a guest virtual machine can issue a REP MOVS or REP STOS instruction against the local Advanced Programmable Interrupt Controller (APIC) page to trigger a VERIFY assertion failure in the host kernel. The failed assertion panics the host, taking down every guest running on the hypervisor. The flaw has existed since illumos-gate commit e0c0d44e in 2020 and affects any illumos distribution prior to commit 696ecf8d.

Critical Impact

An authenticated guest user can panic the illumos host and cause a denial of service for all co-located guest VMs on the hypervisor.

Affected Products

  • illumos-gate prior to commit 696ecf8d
  • illumos bhyve hypervisor (instruction emulator in usr/src/uts/intel/io/vmm/vmm_instruction_emul.c)
  • Any illumos-based distribution shipping bhyve from commit e0c0d44e (2020) onward

Discovery Timeline

  • 2026-10-09 - CVE-2026-102916 published to the National Vulnerability Database
  • 2026-10-09 - Last updated in NVD database

Technical Details for CVE-2026-102916

Vulnerability Analysis

The bhyve instruction emulator handles memory-mapped I/O (MMIO) accesses that cannot be executed directly by the guest. When the guest issues a string instruction prefixed with REP, the emulator iterates the operation and advances the instruction pointer when the repeat count reaches zero.

The functions vie_emulate_movs() and vie_emulate_stos() fail to clear the VIES_REPEAT status flag on the final iteration. For MMIO regions emulated inside the kernel, specifically the local APIC, the I/O APIC, and the High Precision Event Timer (HPET), the stale flag causes a VERIFY assertion in vie_advance_pc() to fail. The assertion failure panics the host.

Root Cause

The root cause is incorrect state management of the repeat flag in the instruction emulation state machine. The emulator sets VIES_REPEAT on each iteration but never clears it when the count register reaches zero. On the terminal iteration, vie_advance_pc() is invoked while the flag is still set, violating an invariant enforced by VERIFY. Because kernel-mode MMIO emulation paths run in the host kernel, the assertion failure translates directly into a host panic rather than a contained guest fault.

Attack Vector

Exploitation requires a privileged user inside a guest VM. The attacker crafts a REP MOVS or REP STOS instruction that targets the guest's local APIC page. The emulator processes the repeated string operation, and on the final iteration the stale VIES_REPEAT flag triggers the assertion. The host panics and every guest running on that hypervisor loses availability.

c
 	return (error);
 }
 
+/*
+ * Check if this instruction needs to repeat and set the emulation's status
+ * appropriately.
+ */
 static int
-vie_repeat(struct vie *vie)
+vie_needs_repeat(uint64_t rcx, struct vie *vie)
 {
+	/*
+	 * The count register may be %rcx, %ecx, or %cx depending on the address
+	 * size of the instruction.
+	 */
+	if ((rcx & vie_size2mask(vie->addrsize)) == 0) {
+		vie->status &= ~VIES_REPEAT;
+		return (false);
+	}
+
 	vie->status |= VIES_REPEAT;
 
+	return (true);
+}
+
+static int
+vie_repeat(uint64_t rcx, struct vie *vie)
+{
+	if (!vie_needs_repeat(rcx, vie)) {
+		return (0);

Source: GitHub commit 696ecf8d in illumos-gate. The patch introduces vie_needs_repeat(), which explicitly clears VIES_REPEAT when the count register has reached zero before vie_advance_pc() runs.

Detection Methods for CVE-2026-102916

Indicators of Compromise

  • Unexpected host panics on illumos bhyve hypervisors with crash dumps referencing vie_advance_pc, vie_emulate_movs, or vie_emulate_stos.
  • Multiple guest VMs on the same host transitioning to a stopped state simultaneously due to host reboot.
  • Kernel panic strings containing VERIFY failures from vmm_instruction_emul.c.

Detection Strategies

  • Review illumos crash dumps (/var/crash/) and savecore output for stack traces that include bhyve instruction emulation functions.
  • Correlate host panic events with guest workload activity to identify guests issuing REP-prefixed MMIO accesses to the local APIC.
  • Monitor hypervisor uptime and reboot cadence to spot anomalous availability loss across tenant guests.

Monitoring Recommendations

  • Alert on unplanned reboots of bhyve hosts and ingest kernel panic telemetry into a centralized logging pipeline.
  • Track bhyve process termination events alongside host dmesg output for correlation.
  • Flag guest VMs that issue repeated unusual MMIO patterns against emulated APIC regions where runtime inspection is available.

How to Mitigate CVE-2026-102916

Immediate Actions Required

  • Update illumos-gate to a build that includes commit 696ecf8d or later.
  • Rebuild and redeploy any downstream distributions (OmniOS, OpenIndiana, SmartOS, Tribblix) once vendor packages incorporating the fix are available.
  • Restrict administrative access inside guest VMs on unpatched hosts, since exploitation requires guest-side privilege.

Patch Information

The upstream fix is tracked as illumos issue #18491 and merged in illumos-gate commit 696ecf8d. The patch refactors vie_repeat() into vie_needs_repeat() and explicitly clears the VIES_REPEAT status flag when the count register reaches zero, preventing the stale flag from reaching vie_advance_pc(). Additional background is available in the illumos developer discussion and the Openwall oss-security notification.

Workarounds

  • Limit root or equivalent privilege inside guest VMs to trusted operators until the host is patched.
  • Consolidate untrusted or multi-tenant workloads onto patched hypervisors first to reduce blast radius.
  • Where feasible, migrate critical guests off unpatched bhyve hosts to limit availability impact from a potential host panic.
bash
# Verify the running illumos-gate build includes the fix
uname -v
pkg info -r system/kernel | grep -i version

# After updating, confirm the bhyve kernel module reflects the patched build
modinfo | grep vmm

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.