Skip to content

A Linux KVM bug let one VM read 127GB of host memory

A bug bounty researcher used a four-year-old stale pointer in nested virtualization to read host kernel memory from inside an ordinary cloud VM. DigitalOcean disclosed and patched it as CVE-2026-99312.

Source: DigitalOcean

A security researcher found a bug in KVM, the hypervisor built into the Linux kernel, that let a guest virtual machine read the memory of the physical host underneath it. DigitalOcean disclosed the details on its own blog after validating and patching the issue, tracked as CVE-2026-99312.

The flaw only hits AMD hosts running nested virtualization. When an INIT reset signal pulled a virtual CPU out of a nested VM, KVM skipped refreshing the pointer to the guest’s page table, leaving it pointing at memory the kernel had already freed. Researcher Oren Yomtov, working through DigitalOcean’s bug bounty programme, used that stale pointer to read the host kernel’s version banner and around 127GB of host RAM from inside an ordinary Droplet, and separately showed 32-byte writes to live host kernel pages on an isolated test server. The bug had been in the kernel for roughly four years, introduced while fixing an unrelated issue, CVE-2022-3344, back in 2022.

The fix landed in Linux 7.4-rc2 on 9 November, and was backported to the stable 7.3.5, 6.18.64 and 6.12.118 releases on 17 November. DigitalOcean says it live-patched its fleet and customers need do nothing. Anyone running their own KVM hosts with nested virtualization enabled on AMD hardware should update to one of those kernels, or set the kvm_amd module’s nested parameter to 0 until they can.

Why it matters: if you rent compute from a provider running KVM with nested virtualization on, for CI runners or sandboxed dev environments say, this was a path from your own VM into every other tenant’s memory on the same host. It was caught by responsible disclosure, not exploited in the wild, but a four-year gap is a reminder that hypervisor isolation bugs sit quietly until someone looks.

Share

Related reading

More from The Wire

All briefs