One Cloud Live-Patched the KVM Escape. Every Self-Managed Host Still Needs a Reboot.
The number that travelled was 127 GB. It is not the number that matters.
Terra Security's write-up says the forged page table on a DigitalOcean Droplet pointed at "about 127 GB of host RAM, mapped read-only." The first thing that came back was the host's kernel version banner. That is a demonstration of reach, not a measurement of how much data left the building. DigitalOcean's own account is just as careful: the banner, then about 127 GB of host RAM, read-only. No one has claimed a byte of customer data was taken, and the write test happened on the researchers' own hardware with no other tenants attached.
The number worth holding onto is 32. That is how many bytes Terra's guest wrote into a live page of a host kernel, verified by a witness module loaded into that kernel. Thirty-two bytes proves control. After that, what you write is a choice.
And the number that decides whether any of this reaches your estate is not in the CVE at all. It is the gap between a fixed kernel and a rebooted host. That gap looked very different last week depending on who owned the hypervisor.
What one reset signal forgot
KVM confines a virtual machine with a nested page table, a second layer of translation underneath the page tables the guest manages for itself. The processor finds the top of that table through a pointer in the virtual CPU's control block, and it trusts whatever page the pointer names. As Terra puts it: "Our VM stays confined only as long as the NPT pointer names a page KVM still owns."
Nested virtualisation breaks that arrangement on purpose. While the inner VM runs, the processor uses the inner VM's tables. When it stops, KVM restores the outer VM's pointer. One way of stopping it skipped that step: an INIT reset, delivered while the inner VM was running with paging disabled. KVM's reset path only refreshed the memory-management context when paging had been on, so the outer VM resumed with a context that still belonged to the inner one, pointing at a page whose root the kernel had already dropped.
The rest is a two-step reclaim. The guest touches fresh memory, KVM allocates new nested page table pages, and the freed page comes back as a bottom-level table full of host addresses of the guest's own pages. The stale pointer still reads it as the top level. So the entry the processor picks is the host address of an ordinary guest page, which Terra calls Page A. Page A is guest memory, so the guest writes its own entries into it, and those entries can name any physical page on the host. From then on the processor walks a table the attacker wrote.
None of that needs a network path to the hypervisor. It needs root inside a guest on a host that has nested virtualisation switched on, which is the default for the kvm_amd module. Intel hosts are not affected: on VMX, INIT is an unconditional intercept, so KVM never emulates one while an inner VM is active. The same default that made this reachable also explains why many providers were never exposed. Terra says many of the clouds it surveyed were safe because they had not enabled nested virtualisation on AMD in the first place.
The bug was created by the fix for the last bug
In 2022, KVM had a different nested-virtualisation flaw, CVE-2022-3344. A reset pulled a virtual CPU out of an inner VM but left it running on the inner VM's control block, which was then freed. The fix switched the CPU back to the outer VM's control block before anything was released. It did not rewrite the page-table pointer, and it leaned on a reset routine that only ran when paging was enabled.
The kernel's CVE announcement puts the introduction in 6.1, with the fix commit carried into 5.15.81 and 6.0.11. Terra's summary is blunt: "It sat in the kernel for just under four years, and it was opened by a security fix."
This is the part that should bother anyone who treats patch uptake as a proxy for safety. The 2022 change was itself a security fix, shipped to close an escape, backported to long-term kernels and picked up by every distribution that tracks them. Four years of hosts have been running it. Terra's earlier PatchSlop work found that 3.2% of kernel CVEs were introduced by the fix for another CVE. DigitalOcean's post lands on the operational version of that finding: "Fixes deserve the same scrutiny as the code they patch."
Twenty-seven days upstream, then the fleet clock starts
The upstream timeline is genuinely fast. Terra reported to the KVM maintainers on 21 October, after DigitalOcean validated the finding through its bug bounty programme. The fix was merged on 2 November, first tagged in 7.4-rc2 on 9 November, and released in stable 7.3.5 and the 6.18.64 and 6.12.118 long-term kernels on 17 November. The CVE was published on 18 November, the same day Terra went public. DigitalOcean published its disclosure on 19 November.
Twenty-seven days from report to stable release, with a CVE number, a technical write-up and a provider statement inside 48 hours of each other. That is close to a model disclosure, and it is worth saying so plainly, because the messy part came afterwards.
DigitalOcean, for its part, did not wait for a reboot window. "We validated the exploit on our own hosts and prepared a live patch," the company wrote, "which lets us fix a running hypervisor kernel without waiting on a full reboot cycle." When the upstream fix landed it rebuilt the patch from it and rolled it across the fleet. Droplet customers were told they needed to do nothing.
Everyone else needs a kernel, a reboot and a maintenance window, in that order.
Four readings of one severity
The scoring on this bug is a case study in how much a CVSS number depends on who is holding the pen.
The kernel CVE team scored it 8.8, attack vector local, attack complexity low, scope changed, with high impact on confidentiality, integrity and availability. Red Hat's page now carries 7.8, with attack complexity marked high, and the same high impact across all three. Red Hat flags its own numbers as "preliminary and subject to review," and its Bugzilla entry for the flaw still reads "Denial of service via stale MMU context during INIT emulation" with a medium priority. Reporting on 20 November described Red Hat's position as Moderate at 5.6, denial of service only. The public number moved within three days.
Red Hat's statement is not wrong on its own terms: "Successful exploitation requires nested virtualization on AMD-based KVM hosts and specific guest execution conditions, limiting the overall attack surface." Both halves are true. The condition is uncommon in the general population of Linux hosts and completely ordinary in the specific population that runs a public cloud.
Ubuntu rates it High. DigitalOcean treated it as critical for its own shared fleet, which is the only rating in the set made by someone who could see the neighbours.
The "local" attack vector is where the argument really sits. Local is a topology claim, and on a multi-tenant host the local attacker is the customer. A bug that requires root in a guest is a privilege escalation on a laptop and an isolation failure on a hypervisor, and the same string describes both.
Nothing suggests anyone has used it. There is no public exploit code, VirtFusion says it has seen no reports outside research, and FIRST's exploitation score, as republished in the GitHub advisory on 19 November, sat at 0.188%, the eighth percentile. That is not much comfort for a four-year exposure window, but it is the honest state of the evidence.
Detection is close to nonexistent. VirtFusion says there is no guidance for spotting a past attempt, and exploitation happens entirely inside the attacker's own VM. Corgea's analysis notes the one host-side symptom the CVE record describes: a vCPU thread livelocked in npf_interception until the freed root is reused, which would present as a guest vCPU pinned at 100% without making progress.
The fleet clock is slower than the kernel clock
By the weekend, the distribution picture had started to move, and it is still uneven. As of Monday morning, 23 November, this is where it sits.
Oracle published kernel errata for Oracle Linux 8, 9 and 10 on 19 November. Debian published DSA-6652-1 on 22 November, 32 days after the report, with the usual flat language: "For the stable distribution (trixie), these problems have been fixed in version 6.12.118-1." The advisory references 181 CVEs in one kernel package. It does not cover bookworm, where the tracker still lists the 6.1 kernel as vulnerable, and 6.1 is one of the long-term lines that had no upstream fix as of 20 November, according to Corgea's tracker.
Ubuntu's tracker, last updated on 20 November, lists jammy, noble, resolute and stonking as vulnerable, and focal as not affected. Red Hat's page lists the Enterprise Linux 9 and 10 kernels as affected with no advisory attached, and Enterprise Linux 8 as not affected because the vulnerable code is not present.
Read those together and the shape of the problem is clear. The upstream kernel fixed this in a week and a half. The distributions fixed it on their own release trains, which is to say when the next kernel update was due anyway. Debian's fix arrived inside a batch of 181 CVEs, not as a standalone emergency, and it arrived for one release.
Then the second clock starts. A kernel package on disk does nothing until the host reboots. For a hypervisor, that means draining and migrating every tenant on the machine, or accepting a window where the fix is installed and not running. DigitalOcean skipped that step because it maintains live-patching capability for its hypervisor kernel. Most operators, including plenty of people running private clouds on hardware they own, do not.
The stopgap costs a feature
The only mitigation that works before a reboot is to turn nested virtualisation off. That closes the path completely, and it costs exactly the capability the bug lives in. Nested CI runners stop working. Android emulators inside guests stop working. Windows guests using virtualisation-based security or WSL2 on AMD hosts stop working. The setting cannot be changed while VMs are running, so it needs the same maintenance window as the reboot it was supposed to avoid.
That is the trade in its entirety: a four-year-old stale pointer on one side, and a feature your tenants may have bought on the other. Operators who never enabled nested virtualisation paid nothing at all this month. That was almost certainly a product decision made years ago, and it turned out to be a security control.
What to ask before the next host refresh
If you rent virtual machines, you cannot see the answer from inside the guest. You can check whether your provider exposes AMD's virtualisation extensions to you, which tells you nested virtualisation is at least possible on the host. It tells you nothing about the host kernel's patch level. The only reliable move is to ask in writing: were your AMD hosts exposed, when were they fixed, was the fix a live patch or a reboot, and can you show the evidence.
If you run the hosts yourself, the inventory is the work. Which machines are AMD, which have kvm_amd loaded, which have nested virtualisation enabled, which kernels are installed, which kernels are actually running, and how many of those machines can be rebooted without a customer conversation. The last question is the one that decides your real exposure, and it is usually the one nobody has written down.
None of that is settled when the CVE lands. It is settled when the platform is specified: whether nested virtualisation ships on by default, whether the hypervisor can be patched without draining tenants, and whether the kernel lifecycle belongs to you or to somebody else's release train. Those look like performance and feature decisions on a spec sheet. Four years later they are the blast radius.
We work with hardware teams on exactly this kind of platform and lifecycle planning, including the unglamorous question of what happens on the Tuesday a hypervisor bug goes public and half the fleet cannot be rebooted until the weekend. If you are specifying the next generation of hosts and want the patch story stress-tested before the CVE lands rather than after, let's talk.