New Januscape Linux flaw allows VM escape on Intel, AMD devices

A Critical Linux Flaw Allows Attackers to Escape Virtual Machines and Take Control of Hosts

A recently patched vulnerability in the Linux kernel has been discovered to allow attackers to escape virtual machines (VMs) and execute arbitrary code on the host, potentially leading to a complete takeover. Dubbed “Januscape,” this flaw affects both Intel and AMD devices and poses a significant risk to multi-tenant public cloud environments.

According to Hyunwoo Kim, the security researcher who discovered Januscape, the vulnerability stems from a use-after-free weakness in the shadow MMU emulation of KVM/x86. This kernel-based virtual machine is built for x86 and x86_64 (AMD64) processor architectures, making it widely used across various public cloud instances.

Januscape has been present in the Linux kernel for approximately 16 years before being patched in June 2026. The vulnerability was even used as a zero-day exploit in Google’s kvmCTF vulnerability reward program. Successful exploitation allows attackers with root access inside a guest VM to execute code as root on the host, potentially crashing the host kernel and taking control of all guests running on it.

What makes Januscape particularly concerning is its ability to be triggered on both Intel and AMD processor architectures. This means that cloud providers offering multi-tenant environments, such as Google Cloud and Amazon Web Services, are vulnerable to this attack. With guest-side actions alone, an attacker can compromise the host that runs their VM, leading to a complete takeover or even a denial-of-service (DoS) scenario where all other tenant VMs on the same physical machine are knocked offline.

On some Linux distributions, such as Red Hat Enterprise Linux (RHEL), attackers without root access inside a guest VM can still exploit Januscape by exploiting the world-writable /dev/kvm file. This allows unprivileged attackers to gain root permissions on unpatched devices.

Kim has published a technical write-up and a proof-of-concept exploit that can trigger a host kernel panic, but has stated that he will not release a full guest-to-host escape exploit in the foreseeable future.

To ensure security against attacks, administrators running KVM/x86 hosts that accept multi-tenant guests should confirm that patch commit 81ccda30b4e8 has been applied to the host kernel. This is especially crucial for cloud providers and organizations relying on public cloud instances.

As we’ve seen in recent years, Linux vulnerabilities can have far-reaching consequences if not addressed promptly. It’s essential for security teams to prioritize regular updates and patches to prevent such exploits from being used by attackers. As Kim noted, chaining the Dirty Frag and Januscape flaws could lead to a complete compromise of an unpatched system.

To stay ahead of potential threats, organizations should conduct regular vulnerability assessments and penetration testing to identify weaknesses in their systems. This proactive approach will help security teams respond more effectively to emerging threats like Januscape.


Source: Bleeping Computer — 2026-07-07