A newly discovered kernel vulnerability, dubbed Zapscape, could allow privileged code running inside a Level‑1 virtual machine to escape KVM isolation and execute on the host system.
The flaw originates in the shadow memory management unit (MMU) used by KVM on x86, which translates guest page accesses into host page tables.
When a VM hosts another VM (nested virtualization), the shadow MMU is responsible for mapping the inner guest’s memory to the outer host. Zapscape exploits a flaw in that mapping logic.
An attacker who can run arbitrary code inside an L1 guest can manipulate the shadow page tables to gain access to the host’s address space, effectively bypassing the isolation that KVM provides.
The vulnerability is identified as CVE‑2026‑64561 and is currently tracked by the Linux kernel security team.
The impact is limited to scenarios where nested virtualization is enabled and the inner guest is untrusted. In typical production workloads, nested virtualization is rarely exposed to untrusted code.
The flaw does not allow privilege escalation from a normal user process; it requires kernel‑level execution inside the guest, which is already a high‑privilege context.
Mitigation steps include disabling nested virtualization for VMs that do not need it, or applying the latest kernel patch that addresses the shadow MMU logic.
Cloud providers that use nested KVM for testing or multi‑tenant workloads should review their configurations and apply the patch as soon as possible.
Kernel maintainers have released a patch that corrects the shadow page table handling and prevents the malicious manipulation of the MMU.
The patch is available for all supported x86 kernels and can be applied via the standard distribution channels.
Security teams are advised to audit their KVM deployments for the presence of nested virtualization and to verify that the kernel version includes the patch.
The discovery was made by a research team that has been monitoring kernel security for several years and has provided a detailed technical report on the issue.
While the vulnerability is technically complex, the practical risk is confined to environments that intentionally expose nested virtualization to guests.
The Linux community has responded with a coordinated patch effort, and the kernel maintainers have provided guidance on how to update.
In summary, Zapscape does not affect ordinary guest workloads but represents a new attack surface for cloud and virtualization providers that run nested VMs.