Skip to main content
Published on November 29, 2026
CVE-2026-99312 “KVM AMD nested” — Linux kernel, KVM hypervisor on AMD processors. On an AMD KVM host with nested virtualization enabled, a root user inside a guest VM can, according to Red Hat, read and write host memory. The fix belongs on the hypervisor, not in the VMs. If you run KVM, Proxmox VE or libvirt on an AMD server that hosts untrusted VMs, install the fixed kernel or turn nested virtualization off.

The bug in two sentences

When KVM emulates an INIT signal, it does not always reset the virtual CPU’s MMU context. If the INIT arrives while a nested guest (L2) runs with paging disabled, KVM resumes the first-level guest (L1) with a stale context that points to a page table already freed. Red Hat describes the result as a use-after-free of the nested page table (NPT) pointer: a freed and reallocated page lets the guest forge page table entries and reach host memory. DigitalOcean, which received the report from Oren Yomtov (Terra Security), says the team read about 127 GB of a host’s memory, and wrote 32 bytes into a kernel page on an AMD bare-metal server with no other customers. Only SVM, AMD’s virtualization, is affected: on Intel (VMX), INIT is always intercepted and cannot be emulated while a nested guest is running. Affected versions:
  • Linux kernels since 6.1, plus the 5.15 branch from 5.15.81 and the 6.0 branch from 6.0.11;
  • fixed upstream by commit c7c288d178cb (7.4-rc2), and in stable branches 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, and 7.3.5.
According to DigitalOcean, the bug had been there for almost four years: the 2022 fix for CVE-2022-3344 did not cover it. The NVD record carries the CVSS 3.1 score of 8.8 (AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) assigned by kernel.org, which Ubuntu also uses, with high priority. Red Hat scores it 7.8, with high attack complexity.
As of November 29, 2026, neither NVD, Red Hat, Debian nor Ubuntu references public exploit code. DigitalOcean says the exploit was validated internally with the researcher, and does not report any exploitation by attackers.

Sizing your exposure

The question to ask: do you run a KVM hypervisor on an AMD processor, with nested virtualization enabled, for VMs you do not fully control? The attacker must be root inside a guest VM. Red Hat notes that Intel KVM hosts and AMD hosts without nested virtualization are not affected. To check whether a server is an AMD KVM host with nested virtualization on:
If lsmod prints nothing, the kvm_amd module is not loaded: the machine runs no KVM guests on AMD. On distribution kernels, trust the tables below rather than the version number alone: fixes are backported.

Updating the host kernel, distro by distro

The fix is a kernel update on the hypervisor, followed by a reboot. Until the host reboots, the old kernel stays loaded. Shut down or migrate the VMs before rebooting.

Debian

As of November 29, 2026, the Debian tracker marks bookworm as vulnerable. Apply the mitigation below in the meantime, and follow Debian’s CVE page.

Ubuntu

Ubuntu has not published a USN for this CVE yet. Follow Ubuntu’s CVE page and apply the mitigation below in the meantime. Once the package is out:

RHEL, AlmaLinux, Rocky Linux

As of November 29, 2026, Red Hat’s CVE page lists no RHSA. Red Hat provides the mitigation below. Once a fixed kernel is released for your distribution:

Proxmox VE

Proxmox VE ships its own kernel. No Proxmox source we checked lists a fixed version for this CVE yet: follow Proxmox’s security announcements, and apply the mitigation below on every AMD node in the meantime.

Mitigation until the fix lands

Red Hat and DigitalOcean give the same mitigation: turn off nested virtualization in the kvm_amd module. It closes the attack path on every distribution, including Debian 12, Ubuntu and RHEL, which have no fixed kernel yet. The module cannot be reloaded while VMs are running: shut down every VM on the host first.
Then start the VMs again. Its limits:
  • VMs that run VMs of their own lose that ability while the setting is in place;
  • it does not replace the host kernel update.
On a production host, take a snapshot of your VMs before the change. If a VPS acting as a hypervisor does not come back on the network after the reboot, the KVM console gives you the boot screen.

Checking the mitigation

The first command must print 0, the second options kvm_amd nested=0. The check that matters is still the kernel: after the reboot, uname -v (Debian) or uname -r (Ubuntu, RHEL, AlmaLinux) must show a version equal to or later than the ones in the tables.

Rolling back the mitigation

Once the fixed kernel is loaded, you can bring nested virtualization back if your VMs need it. Shut down every VM on the host again.
If none of your VMs uses nested virtualization, keep nested=0: it is one less attack surface.

What next?

Turning off nested virtualization is only a stopgap: the target is the fixed kernel, loaded on the host after a reboot. For another recent kernel flaw, read userfaultfd (CVE-2026-99580); also turn on automatic security updates. For any technical question, open a ticket from your OnetSolutions customer area.