You rent a VPS or run your own virtualised servers, and you assume every virtual machine is a sealed box. The KVM flaw tracked as CVE-2026-99312, made public on 20 November 2026, shows that assumption can fail: from inside a VM of their own, researchers read about 127 GB of a physical host's RAM on DigitalOcean's infrastructure.
The good news is that the conditions are fairly narrow. The less good news is that, at the time the sources were published, Ubuntu had no patched kernel package yet.
What the flaw is and who is affected
KVM is the hypervisor built into the Linux kernel, and it underpins a large share of VPS and private cloud services. The bug sits in the support for nested virtualization on AMD CPUs. Intel hosts are not affected, because the faulty code exists only in the AMD path.
According to The Hacker News, Terra Security reported the issue through DigitalOcean's bug bounty program. The KVM maintainers were told on 21 October and merged a fix on 2 November. DigitalOcean patched its own fleet with a live patch and told Droplet customers no action was needed.
Exploitation also has a precondition: the attacker needs root inside a VM running on a vulnerable host. Network access alone is not enough.
The mechanism: a pointer to freed memory
Each VM is confined by a memory-translation table, and the CPU finds that table through a pointer. When a nested VM receives an INIT reset signal, KVM skips restoring the outer VM's pointer, leaving it aimed at a kernel page that has already been freed.
Once the kernel reuses that page, the guest can fill it with entries of its own choosing. The CPU trusts them, so the guest reaches host RAM pages it was never granted.
There is a lesson for engineering teams here. The bug was introduced by a 2022 security fix for CVE-2022-3344, which missed one pointer, and the error sat in the kernel for almost four years. Security patches deserve the same testing as new features.
Severity: the sources disagree
The Linux kernel CVE team scores it 8.8 out of 10. Red Hat's preliminary assessment is Moderate at 5.6, treating the impact as denial of service. Ubuntu rates it High. For a multi-tenant cloud provider, DigitalOcean treated it as critical.
There are no reports of exploitation outside research and no public exploit code. There is also no guidance for detecting a past attempt.
What to check on your infrastructure
First, work out which group you fall into.
- You use a third-party VPS or cloud: the flaw is on the provider's physical hosts, so updating the OS inside your VM changes nothing. Ask the provider whether they have patched, or disabled nested virtualization on AMD machines.
- You run your own KVM hosts (Ubuntu or another distro) on AMD CPUs: you need to act directly.
- You only run Docker inside an ordinary VM: you are not the KVM host, so you are not the party that patches, but it is still worth asking your provider.
For self-managed AMD KVM hosts, follow these steps, based on The Hacker News article and VirtFusion's operator guide:
# 1. Check whether nested virtualization is on (1 or Y means enabled)
cat /sys/module/kvm_amd/parameters/nested
# 2. If no patched kernel is available yet, add this option to the host's module config
# (for example the file /etc/modprobe.d/kvm-amd.conf)
options kvm_amd nested=0
# 3. Reboot the host, then check again
uname -r
cat /sys/module/kvm_amd/parameters/nestedA few practical notes:
- The option cannot change while VMs are running, so schedule a maintenance window and warn the people who use those VMs.
- Disabling nested virtualization means VMs can no longer run VMs of their own. Find out first which teams rely on it, for example for CI environments or emulators.
- A new kernel only protects the host after a reboot. Run
uname -rto confirm what is actually running. - The upstream fixes are in 7.3.5, 6.18.64 and 6.12.118. Distribution kernels mostly lacked the fix at publication, so watch Ubuntu's CVE page for the patched package.
What it means for companies that commission software
Most web and mobile applications never touch this layer, yet their data lives on it. If your system holds customer data, add virtualization to the checklist you use with your infrastructure provider: is nested virtualization enabled, how quickly are host kernels patched, and do they use live patching?
We have covered other layers of the same picture recently: the 10-year-old NGINX HTTP/2 flaw, Node.js fixing 16 vulnerabilities and API keys leaked in Docker Hub images. If you want to review the whole chain from kernel to application, browse the projects Besoft has delivered and get in touch to talk about the infrastructure you run.
The job for today is short: run the check in step 1 on every AMD host, record the result, and ask your provider one question, whether nested virtualization on their AMD machines has been patched or switched off.
References
- The Hacker News, "Linux KVM Flaw CVE-2026-99312 Lets Guest VMs Access Host Memory on AMD Hosts", 20 Nov 2026: https://thehackernews.com/2026/11/new-linux-kvm-flaw-cve-2026-99312-lets.html
- DigitalOcean, "Virtualization, Responsible Disclosure, and CVE-2026-99312": https://www.digitalocean.com/blog/cve-2026-99312-kvm-patch
- Terra Security, "KVM Guest-to-Host Escape": https://www.terra.security/blog/kvm-guest-to-host-escape
- Ubuntu CVE tracker: https://ubuntu.com/security/CVE-2026-99312






