A flaw in Linux KVM, tracked as CVE-2026-99312, lets a guest VM read host memory on AMD systems with nested virtualization enabled. Operators running their own KVM hosts need to patch the host kernel or disable nested virtualization.
A flaw in Linux's Kernel-based Virtual Machine (KVM) lets a guest virtual machine read host memory on AMD systems with nested virtualization enabled, according to a disclosure by DigitalOcean and a Terra Security researcher.
Oren Yomtov, a Terra Security researcher, found the flaw and reported it through DigitalOcean's bug bounty program. DigitalOcean confirmed the exploit worked on its own hosts and treated it as critical.
DigitalOcean patched its fleet with a live patch and told Droplet customers: "No action needed on your part." Operators who run their own KVM hosts on AMD hardware need to update the host kernel or turn nested virtualization off. Upstream maintainers shipped fixed kernels on Tuesday, the day before the research went public.
The flaw, tracked as CVE-2026-99312, affects hosts with AMD processors and nested virtualization enabled. The vulnerable code exists in KVM's support for nested virtualization on AMD, so Intel-based KVM hosts do not carry it. Many cloud providers surveyed by the researchers had not enabled nested virtualization on AMD, so the flaw did not reach them.
An attacker needs control of a guest on a vulnerable host, not network access to it. Both tests started with root access inside a VM controlled by the researchers.
In DigitalOcean's test on one of its Droplets, the first result was the host's kernel version banner, followed by 127 GB of the host's RAM, mapped read-only. DigitalOcean described those results in a disclosure post published the day before. The write test ran on the researchers' own bare-metal AMD server, without other customers attached. There, the guest wrote 32 chosen bytes into a live page of the host kernel's memory, and a witness module loaded into that kernel confirmed the change.
Severity ratings disagree. The Linux kernel's CVE team scores the flaw 8.8 out of 10, with high impact on confidentiality, integrity, and availability. Red Hat's preliminary security assessment rates it Moderate at 5.6 and treats the impact as denial-of-service only. DigitalOcean treated it as critical for its own shared cloud.
KVM confines each VM with a table, the nested page table, that translates the VM's memory addresses into the host's real memory. The processor finds that table through a pointer kept for each virtual CPU. Some hosts let a VM run a VM of its own, a nested VM. A reset signal called INIT stops the nested VM, and KVM skips restoring the outer VM's pointer. That leaves the pointer aimed at a page of memory the kernel has freed. Once the kernel reused that freed page, the guest could fill it with entries of its own choosing, and the processor followed them as if they were the real table. The forged entries could name any physical page on the host, which is how 127 GB of the server's RAM came into reach of a guest that had not received it. The fix makes KVM reset that memory-management state on every INIT.
A 2022 patch for a different nested-virtualization bug, CVE-2022-3344, created the flaw. That patch switched a reset path back to the outer VM's control block but missed the page-table pointer, the researchers say. The error remained in the kernel from 2022 until the November fix. In earlier work called PatchSlop, the team found that the fix for another flaw introduced 3.2% of kernel vulnerabilities.
The fix lives in the host kernel. Updating the operating systems inside the VMs changes nothing, and a host keeps running its old kernel until it reboots. Upstream, the fix shipped on Tuesday in stable kernel 7.3.5 and in the long-term kernels 6.18.64 and 6.12.118, according to the kernel team's CVE announcement. The affected code entered the 6.1 kernel in 2022 and reached the 5.15.81 and 6.0.11 releases, so older kernel lines and the distribution kernels built on them fall in range.
Distribution kernels lack the fix. As of publication, Debian's security tracker lists the kernels in all of its releases as vulnerable, with a fix only in unstable. Ubuntu's CVE tracker rates the flaw High and lists its kernels as vulnerable; it has not released a fixed package. Red Hat lists the Enterprise Linux 9 and 10 kernels as affected and deferred the fix. Red Hat does not list the Enterprise Linux 8 kernel as affected.
Until an operator installs a fixed host kernel and reboots the host, the available protection is to turn nested virtualization off. That closes this path, but VMs cannot then run VMs of their own, so warn tenants who depend on that before making the change. The kvm_amd module turns nested virtualization on by default, according to VirtFusion's operator guide, so an unpatched host exposes tenants unless an operator changed the setting.
To check and change it:
Check the setting with cat /sys/module/kvm_amd/parameters/nested. A value of 1 or Y means nested virtualization is on. If the host cannot be updated yet, add options kvm_amd nested=0 to the host's module configuration. Reboot the host. An operator cannot change the setting while VMs run, and a newly installed kernel does not protect the host until the reboot. Confirm with uname -r and by reading the nested setting again.
VirtFusion, a virtualization platform vendor tracking the issue for its operators, reports no use of the flaw outside research. Exploit code remains unpublished, and guidance for detecting a past attempt does not exist.
The flaw is the latest in a series of KVM isolation failures disclosed this year, after a 16-year-old flaw in KVM's shadow memory management that hit both Intel and AMD systems, and the PwnEscape flaw in Linux's networking code, which let a guest read host memory in Vercel's live sandboxes in October.
Source : Linux KVM Flaw CVE-2026-99312 Lets Guest VMs Access Host Memory on AMD Hosts , by The Hacker News , The Hacker News , Nov 20, 2026
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
