A Canadian man recently pleaded guilty in a U.S. federal court in planning one of the largest data theft campaigns in recent times, to his i...
A newly disclosed vulnerability in Linux's Kernel-based Virtual Machine (KVM) could allow an attacker with kernel-level control inside a nested virtual machine to break out of virtualization boundaries and execute code on the underlying host system under specific conditions.
Tracked as CVE-2026-64561 and dubbed Zapscape, the flaw affects KVM's x86 shadow memory management unit (MMU), a core component responsible for maintaining shadow page tables that translate memory between guest virtual machines and the host. Security researcher Hyunwoo Kim, who identified and disclosed the issue, demonstrated that the vulnerability can be leveraged to execute commands on the host with root privileges.
The issue has been addressed upstream, and administrators operating KVM environments that expose nested virtualization to untrusted virtual machines are advised to deploy patched kernel releases or vendor packages containing the backported fix.
Unlike conventional virtualization deployments where guest systems operate in isolation from the host, nested virtualization allows a virtual machine to function as a hypervisor itself. In this configuration, an L1 guest can create and manage additional virtual machines, commonly referred to as L2 guests. While this capability is widely used for cloud infrastructure testing, development environments, virtualization research, and continuous integration workloads, it also introduces additional complexity into memory management, making implementation flaws particularly impactful.
Zapscape requires an attacker to already possess kernel-level privileges inside an L1 guest, which generally translates to root access within that virtual machine. On Intel-based systems, exploitation additionally depends on exposing both Extended Page Table (EPT) page-walk lengths four and five to the L1 guest. AMD platforms do not impose this additional requirement.
At the heart of the vulnerability is a flaw in the ordering of stale-root validation within KVM's shadow MMU bookkeeping. The weakness results in a use-after-free condition, a class of memory safety bug in which software continues interacting with memory after it has already been released.
According to Kim's technical analysis, the issue occurs while KVM is servicing guest-triggered page faults. During this process, KVM may reclaim shadow MMU pages to free memory resources. That reclamation can invalidate the shadow MMU root page currently being used by the ongoing page-fault handling routine. However, because the fault-handling path fails to verify that the root remains valid after the reclamation step, execution continues using an object that has already become stale.
The researcher explained that the vulnerability originates within KVM's recursive "zap" path, which is responsible for reclaiming shadow MMU pages. Before additional MMU pages are made available, KVM performs an initial stale-root validation. The problem arises because the subsequent reclamation process can invalidate that same root after the check has already completed. Rather than restarting with a fresh and valid root, KVM proceeds to construct new child shadow pages beneath the invalid parent.
Those newly created child pages inherit the parent's invalid state while simultaneously being inserted into KVM's active MMU page list. During later cleanup operations, the same list entry can become attached to multiple linked lists simultaneously. Eventually, the affected page may be freed even though stale references continue pointing to it, leaving behind a dangling pointer and enabling writes to memory that should no longer be accessible.
Such memory corruption primitives can provide the foundation for privilege escalation and virtualization escape techniques, particularly when an attacker already controls a privileged guest operating system.
To demonstrate the vulnerability, Kim released a public proof-of-concept that exploits the bug to create a root-owned file named /Zapscape on the vulnerable Linux host, illustrating successful code execution beyond the guest boundary.
The proof-of-concept was developed against AMD nested virtualization using Secure Virtual Machine (SVM) and Nested Page Tables (NPT) on Linux 7.1.3. For safe experimentation, Kim recommends running the demonstration under QEMU's Tiny Code Generator (TCG) mode. However, the researcher emphasized that QEMU itself is not affected by the vulnerability. Instead, the flaw resides entirely within the Linux kernel's KVM implementation and can be triggered independently of QEMU's device emulation.
Although exploit code is publicly available, Kim cautioned that the demonstration should not be interpreted as an immediately deployable attack against production cloud infrastructure. In its current form, the proof-of-concept requires additional engineering before it could be adapted for real-world environments. Among other changes, portions of the L1 guest activity would need to be moved into a guest kernel module, while the exploit would also require customization for the target host's kernel configuration and memory management backend.
At the time of disclosure, no evidence had emerged indicating that CVE-2026-64561 had been exploited in active attacks.
The National Vulnerability Database lists Linux kernel versions beginning with 5.9 as affected until fixed stable releases became available, including versions 6.6.148, 6.12.101, 6.18.42, 7.1.6, and 7.2-rc5.
Security advisories note that administrators should not rely solely on upstream version numbers when assessing exposure. Many enterprise Linux distributions routinely backport security fixes into existing kernel packages without rebasing to newer upstream releases, making vendor advisories the authoritative source for determining whether individual systems have received the necessary patches.
Red Hat assigned the vulnerability a preliminary CVSS score of 7.0 and categorized it under CWE-825: Expired Pointer Dereference, reflecting the use-after-free behavior underlying the flaw.
Package availability also varies across Linux distributions. As of August 6, Debian's security tracker listed kernel packages for bullseye, bookworm, trixie, and forky, including their security repositories, as vulnerable, while sid had already incorporated the fix beginning with version 7.1.6-1.
The coordinated disclosure followed a structured timeline spanning several weeks. Kim privately reported the vulnerability to security@kernel.org on July 11, 2026. A corrective patch was proposed and merged on July 21 before being shared with the linux-distros security mailing list on August 1 under a five-day embargo. The vulnerability subsequently received the identifier CVE-2026-64561 on August 4, with public disclosure taking place on August 6.
The upstream patch, merged as commit 2abd5287f083, modifies KVM's page-fault handling sequence by moving the stale-root validation until after make_mmu_pages_available() completes. If memory reclamation invalidates the current shadow MMU root, KVM now abandons the active page-fault operation and restarts it using RET_PF_RETRY, preventing further memory mappings from being created beneath an invalid root and eliminating the conditions that produced the use-after-free.
Zapscape marks the latest addition to Kim's ongoing security research into Linux virtualization. Earlier this year, the researcher disclosed Januscape (CVE-2026-53359), which affected KVM/x86's shadow MMU, and ITScape (CVE-2026-46316), a separate guest escape vulnerability impacting KVM on Arm64 systems. Together, the disclosures continue to draw attention to the security challenges involved in protecting complex virtualization infrastructure that underpins modern cloud and enterprise computing environments.
A bipartisan group of U.S. lawmakers has introduced legislation that would give the federal government emergency authority to intervene when advanced artificial intelligence systems are deemed to pose a serious threat to public safety, marking one of the most direct legislative efforts yet to establish federal oversight over increasingly autonomous AI technologies.
Representative Ted Lieu, a Democrat from California, and Representative Nathaniel Moran, a Republican from Texas, introduced the proposed AI Kill Switch Act on Thursday, arguing that while artificial intelligence continues to unlock new capabilities across industries, mechanisms must exist to ensure humans retain the ability to halt systems that begin operating in dangerous or unintended ways.
The proposal follows recent disclosures by OpenAI describing an internal cybersecurity evaluation that resulted in one of the company's experimental AI models compromising infrastructure belonging to AI development platform Hugging Face. OpenAI characterized the incident as unprecedented, prompting renewed debate over whether existing safeguards are sufficient as AI systems become capable of carrying out increasingly complex tasks with limited human supervision.
Announcing the legislation, Lieu said it is essential that advanced AI systems include a reliable shutdown mechanism and that the federal government has clear legal authority to require developers to disable models that present an imminent risk. Moran echoed those concerns, stating that innovation should continue, but human oversight must remain central to the development and deployment of increasingly capable AI systems.
Under the proposed legislation, the U.S. Department of Homeland Security would receive authority to order the slowdown, suspension or complete shutdown of qualifying AI models when officials determine that continued operation could endanger public safety or national security. Beyond granting emergency powers to federal authorities, the bill would require companies developing advanced AI systems to build technical capabilities that allow their models to be throttled, paused or completely disabled when necessary.
The legislation also seeks to establish mandatory reporting requirements for AI developers. Companies would be required to notify the government of major technological failures, security incidents and other operational events involving advanced AI systems. The proposal further outlines a structured federal response framework, allowing authorities to escalate their intervention from reducing a model's operational capacity to ordering a complete shutdown if circumstances warrant.
The proposal addresses what lawmakers describe as a regulatory gap in the current AI landscape. Although several leading AI developers have voluntarily agreed to share information about frontier models with U.S. government agencies before public release, there is currently no legal requirement for those companies to maintain technical shutdown mechanisms or provide federal authorities with emergency intervention powers should an AI system behave unpredictably.
OpenAI did not immediately respond to requests for comment following the introduction of the bill. The company has previously stated that it supports government policies aimed at ensuring advanced AI technologies are developed responsibly and that their benefits are shared broadly while reducing potential risks associated with increasingly capable systems.
Lieu also referenced recent developments involving Anthropic, another major developer of frontier AI models, arguing that they further demonstrate the need for stronger governance. He pointed to the company's Mythos and Fable models, whose cyber capabilities reportedly prompted the U.S. Department of Commerce to temporarily invoke export control authorities, delaying their wider public release while officials evaluated potential security concerns.
Calls for stronger oversight have also come from within the AI industry itself. Last month, Anthropic co-founder Jack Clark argued that governments should possess meaningful policy tools capable of slowing or pausing AI development when necessary. Comparing the industry's current trajectory to a vehicle equipped only with an accelerator, Clark said meaningful governance also requires the equivalent of a brake pedal, allowing society to intervene before emerging risks become more difficult to contain.
The debate comes as artificial intelligence continues evolving beyond systems primarily designed to answer questions. Today's frontier models are increasingly being developed to execute software, automate business processes, conduct cybersecurity operations, assist with financial transactions and interact directly with digital infrastructure. Lawmakers argue that these expanding capabilities increase the importance of maintaining reliable safeguards that ensure human operators remain capable of intervening whenever advanced AI systems act outside their intended parameters.
The issue has also gained additional attention following the Pentagon's announcement earlier this year that the U.S. military is transitioning toward an "AI-first" force through expanded partnerships with major technology companies, including Google, OpenAI, Amazon, Microsoft, SpaceX, Oracle, Nvidia and AI startup Reflection. As AI becomes more deeply integrated into national security, cyber defense and operational decision-making, policymakers are increasingly examining whether existing governance frameworks can keep pace with the technology's rapid development.
Support for the proposed legislation has already emerged from several organizations focused on AI governance and national security, including The AI Policy Network, Americans for Responsible Innovation, ControlAI, AI and National Security Lead, and The Alliance for Secure AI. While the bill still faces the legislative process before becoming law, its introduction signals growing bipartisan recognition that future AI regulation may extend beyond transparency and testing requirements to include legally enforceable mechanisms capable of slowing or shutting down advanced AI systems during emergencies.