Linux KVM Flaw Let AMD Guest VMs Read Host Memory; Fixes Available

· Original article ↗

Summary

Researchers demonstrated that CVE-2026-99312 lets a root-controlled guest on AMD KVM hosts with nested virtualization read host memory and, in a separate test, write to it. Fixed kernels are available; disable nested virtualization until hosts are patched and rebooted.

Key points

  • The flaw affects AMD KVM hosts with nested virtualization enabled; Intel-based KVM hosts are not affected.
  • After an INIT reset, KVM could leave a pointer to freed memory. A guest could influence the reused page and forge nested page-table entries.
  • A test on a DigitalOcean Droplet read about 127 GB of host RAM. In a separate test on researchers’ bare-metal AMD server, a guest wrote 32 chosen bytes to host-kernel memory.
  • Both tests required root access inside a researcher-controlled VM; the write test did not involve other customers.
  • Upstream fixes shipped in kernels 7.3.5, 6.18.64, and 6.12.118. The host must be updated and rebooted; updating guest operating systems does not fix the host.
  • Until patched, disabling nested virtualization blocks this path but prevents VMs from running their own VMs.
  • VirtFusion reported no known exploitation outside research and no published exploit code. Severity assessments differ, ranging from Moderate to critical.

Article Details

Attack Vectors
  • An attacker needs root access inside a guest VM on a vulnerable host; network access alone is insufficient.
  • The host must use an AMD processor, have nested virtualization enabled, and run a vulnerable host kernel.
  • Resetting a nested VM with INIT can leave a page-table pointer referencing freed memory. After the kernel reuses that page, the guest can supply entries that let the processor access host physical memory.
Defensive Notes
  • Install a fixed host kernel and reboot the host. Upstream fixes are in kernel versions 7.3.5, 6.18.64, and 6.12.118.
  • Until a fixed kernel is installed and the host rebooted, disable nested virtualization. Warn tenants who rely on running VMs inside their VMs, since disabling it prevents that use.
  • Updating operating systems inside guest VMs does not fix the host vulnerability.
  • The article reports no known exploitation outside research, no published exploit code, and no guidance for detecting past attempts.

MITRE ATT&CK

CVE

People

Vendors

Products

Related Articles