Linux KVM bug let a cloud VM read 127 GB of its AMD host's memory
CVE-2026-99312 affects AMD hosts with nested virtualization on. Fixed upstream kernels are out, but several distros have not shipped them yet. Disabling nested virtualization is the stopgap.
A flaw in the Linux kernel's KVM hypervisor lets a guest virtual machine read, and in some cases write, memory belonging to its host on AMD servers with nested virtualization enabled. It is tracked as CVE-2026-99312.
What the researcher showed
Oren Yomtov of Terra Security found the bug and reported it through DigitalOcean's bug bounty. In a test on a DigitalOcean host he read about 127 GB of host RAM from inside a VM. On his own bare-metal server he also wrote 32 bytes into live host kernel memory. DigitalOcean confirmed the issue and rated it critical for its shared cloud.
Root cause
A 2022 fix for an older bug, CVE-2022-3344, did not reset a nested page-table pointer when a virtual CPU is reinitialized. That leaves a pointer to freed memory. The faulty code dates to kernel 6.1 and was backported to 5.15.81 and 6.0.11. Intel hosts are not affected.
Who can exploit it
An attacker needs root inside a VM running on a vulnerable host. Network access alone is not enough, but that is exactly the position any customer has on a shared cloud. There is no known exploitation outside the research and no public exploit code.
Patch status
- KVM maintainers were told October 21 and merged a fix November 2.
- Fixed upstream kernels: 7.3.5, 6.18.64 and 6.12.118.
- At publication, Debian had a fix only in unstable, Ubuntu listed no fixed package, and Red Hat said EL9 and EL10 are affected with the fix deferred. EL8 is not affected.
- Scores differ: the kernel CNA rates it 8.8, while Red Hat treats it as denial of service and rates it 5.6.
The fix is in the host kernel and needs a reboot.
Who's affected
Cloud and hosting providers, and any organization running untrusted or multi-tenant VMs on AMD hosts with KVM nested virtualization enabled.
What to do
Move hosts to a fixed kernel and reboot. Until then, check /sys/module/kvm_amd/parameters/nested and set 'options kvm_amd nested=0' if you don't need nested virtualization, then reboot.