What happened
According to the Linux kernel CVE announcement published on 18 November 2026, CVE-2026-99312 is a flaw in KVM, the hypervisor built into the Linux kernel. The fix is titled "KVM: x86: Unconditionally reset MMU context when emulating INIT". Researchers at Terra Security found the bug and reported it through DigitalOcean's bug bounty program. DigitalOcean's disclosure post says the researchers read about 127 GB of host RAM, read-only, from a guest on one of its Droplets. On their own bare-metal AMD server they also wrote 32 chosen bytes into a live host kernel page.
The cause, as described by DigitalOcean and Terra, is a stale pointer. When an INIT reset signal pulls a virtual CPU out of a nested VM, KVM skipped refreshing the pointer to the guest's page table. The pointer kept naming a page the kernel had already freed. Once the kernel reused that page, a guest able to fill it with entries of its choosing could make the processor treat them as the real translation table, and those entries can name physical pages on the host.
Per the kernel announcement, the bug only affects nested SVM, which is AMD's virtualization extension. On Intel (VMX), INIT is an unconditional intercept, so the scenario cannot occur. The issue was introduced in kernel 6.1, with the same code carried into 5.15.81 and 6.0.11. Fixes landed in 7.3.5, 6.18.64, 6.12.118 and 7.4-rc2. DigitalOcean and Terra note the flaw originated in a 2022 fix for CVE-2022-3344.
Why it matters
The isolation between tenants is the foundation of any shared virtualization platform. A guest-to-host escape means one compromised or malicious VM can potentially see or alter its neighbours, including their memory and credentials.
The attacker still needs a starting position: root inside a guest on a vulnerable host. Network access alone is not enough. As of the sources we reviewed, no exploit code has been published and VirtFusion reports no use outside research. Severity ratings disagree: the kernel CVE team scores it 8.8, while Red Hat's preliminary assessment, as reported by The Hacker News, rated it Moderate at 5.6 and treated the impact as denial of service. One tracker now reports Red Hat at Important, 7.8, so check Red Hat's own page for its current rating. DigitalOcean treated it as critical for its own shared cloud. Treat the rating that matches your threat model, which for multi-tenant hosts means the higher one.
What defenders should check
- Is the host AMD? Intel hosts are not affected. Check with
lscpu | grep -i 'model name'. - Is nested virtualization on? Run
cat /sys/module/kvm_amd/parameters/nested. A value of1orYmeans nested virtualization is enabled. VirtFusion's operator guide states it is on by default in kvm_amd. - Which kernel is the host running? Compare
uname -rwith the fixed releases above. Remember that a host keeps running its old kernel until it is rebooted. - Is your host on an older long-term kernel? The upstream fixes cover the 6.12, 6.18 and 7.3 lines. The flaw dates back to kernel 6.1 and was carried into 5.15.81 and 6.0.11, and as of November 21 the kernel announcement lists no upstream fix for the 5.15, 6.1 or 6.6 lines (one tracker says the same; we did not find a statement from the kernel team). Hosts on those kernels should check their distribution for a backport and otherwise use the nested=0 workaround below.
- Do your distribution kernels carry the fix? At the time of the Hacker News report, Debian and Ubuntu trackers listed their kernels as vulnerable with no fixed package, and Red Hat listed Enterprise Linux 9 and 10 as affected with the fix deferred. Check your own vendor tracker today, as this changes quickly.
- Who needs nested virtualization? Many environments enable it without a business reason. Inventory the workloads that actually run VMs inside VMs.
Patching the operating systems inside the guests changes nothing. The fix is in the host kernel.
Detection ideas
The sources say no guidance exists for detecting a past attempt. The snippets below are our own starting points to adapt and test, not vendor-published indicators and not production-ready.
Inventory exposed hosts across a fleet (run through your configuration management tool):
# Prints CPU vendor, kernel and nested setting for each host
vendor=$(lscpu | awk -F: '/Vendor ID/{gsub(/ /,"",$2); print $2}')
nested=$(cat /sys/module/kvm_amd/parameters/nested 2>/dev/null || echo n/a)
echo "$(hostname) $vendor $(uname -r) nested=$nested"
Look for unexpected nested-VM activity in your hypervisor logs, for example libvirt or QEMU logs showing a guest that started its own KVM workload:
grep -iE 'nested|vmx|svm' /var/log/libvirt/qemu/*.log | tail -50
In a SIEM, alert on guests that were never approved for nested virtualization but show hypervisor-like processes (qemu, libvirtd, kvm modules loaded) inside them, and on unexpected host kernel crashes or panics, since a failed exploitation attempt on a memory-corruption bug can crash the host.
Investigation
If you suspect a guest attacked its host, act on the host first, because the guest is no longer a trustworthy witness.
- Preserve host kernel logs (
journalctl -k,dmesg) and any crash dumps before rebooting. - Capture a host memory image if your tooling supports it, then collect the module state (
lsmod,/sys/module/kvm_amd/parameters/*). - Identify the guest in question and snapshot or export its disk and memory for later analysis.
- Review who had root inside that guest and how they obtained it, since root in a guest is the stated precondition.
- Review other guests on the same host for signs of tampering or credential access, and rotate secrets that were present in host or neighbour memory if you find evidence of compromise.
Our digital forensics and compromise assessment teams treat a hypervisor as a high-value asset: evidence from the host often outlasts evidence from any single guest.
Mitigation
- Patch the host kernel to 7.3.5, 6.18.64, 6.12.118 or later, or install your distribution's backport once published.
- If you cannot patch yet, disable nested virtualization on AMD hosts. Add
options kvm_amd nested=0to the host module configuration. Warn tenants who depend on nested VMs first. - Reboot the host. The nested setting cannot change while VMs are running, and a new kernel does not protect the host until it is booted.
- Verify with
uname -rand by reading/sys/module/kvm_amd/parameters/nestedagain. - Reduce the precondition. Limit who holds root inside guests on shared hosts, and avoid mixing high-trust and untrusted workloads on the same hypervisor where you can.
This flaw follows other KVM isolation bugs disclosed this year, so it is worth keeping hypervisor kernel updates on a faster cadence than ordinary servers. Sources: the Linux kernel CVE announcement, DigitalOcean's disclosure post, Terra Security's analysis and The Hacker News coverage.