ShieldPack SHIELD PACK
From 1401 onwards.

Where would you like to start?

Services, updates, and ways to contact us, all in one place

Pricing and orders →

Use the bot or chat with us—whichever you prefer

ShieldPack posts

Linux KVM Flaw CVE-2026-99312 Lets Guest VMs Access Host Memory on AMD Hosts

About 4 min read

A new vulnerability in Linux’s built‑in hypervisor, KVM, was exposed by researchers from Terra Security and publicly disclosed on DigitalOcean’s cloud platform. The flaw, identified as CVE‑2026‑99312, lets a guest virtual machine read roughly 127 GB of the host’s physical memory when the host runs an AMD processor with nested virtualization enabled. On a shared server, that memory can contain data from other customers’ virtual machines, creating a serious cross‑tenant leakage risk.
The defect is confined to AMD‑based hosts that have nested virtualization turned on. KVM uses a nested page‑table structure to map guest addresses to host memory, and the bug leaves a pointer to a freed page after a nested VM reset. When the host reuses that page, the guest can forge page‑table entries that reference any physical page on the host, effectively exposing the entire RAM allocation to the attacker.
Oren Yomtov, a security researcher at Terra Security, discovered the issue and reported it through DigitalOcean’s bug‑bounty program. DigitalOcean confirmed the exploit worked on its own infrastructure and labeled it critical. The Linux KVM maintainers received the report on October 21 and merged a patch on November 2. Upstream kernels were updated the following Tuesday, and DigitalOcean applied a live patch to its fleet, notifying Droplet customers that no action was required on their part.
In the read‑only test performed on a DigitalOcean Droplet, the guest first received the host kernel’s version banner, then a read‑only mapping of about 127 GB of host RAM. A separate write test on the researchers’ own bare‑metal AMD server, which had no other tenants, showed the guest could write 32 bytes into a live page of the host kernel’s memory; a witness module inside the kernel confirmed the modification. Both tests required root privileges inside the guest, meaning an attacker would need to control a guest on a vulnerable host rather than merely network access.
Intel‑based KVM hosts are not affected because the vulnerable code exists only in AMD’s nested‑virtualization support. Many cloud providers surveyed by the researchers had disabled nested virtualization on AMD hardware, leaving them safe. No external exploitation has been reported, and no exploit code has been released. VirtFusion, a virtualization platform vendor, is monitoring the issue but has not seen any attacks beyond the research tests.
Linux KVM Flaw CVE-2026-99312 Lets Guest VMs Access Host Memory on AMD Hosts
Severity assessments vary. The Linux kernel CVE team rates the flaw 8.8 out of 10, citing high impact on confidentiality, integrity, and availability. Red Hat’s preliminary assessment rates it 5.6, describing it as a moderate denial‑of‑service issue. DigitalOcean treated it as critical for its shared‑cloud customers, reflecting the potential for widespread data exposure.
The root cause stems from a 2022 patch for a different nested‑virtualization bug (CVE‑2022‑3344). That patch switched a reset path back to the outer VM’s control block but omitted the page‑table pointer, leaving the pointer dangling for almost four years. The fix for CVE‑2026‑99312 restores the memory‑management state on every INIT reset, preventing the pointer from pointing to freed memory.
The patch lives in the host kernel. Updating the operating systems inside guest VMs does not mitigate the issue; the host must run a kernel that includes the fix and be rebooted. Upstream kernels 7.3.5, 6.18.64, and 6.12.118 contain the fix, but many distribution kernels remain vulnerable. Debian’s security tracker lists all releases as vulnerable, with a fix only in unstable. Ubuntu’s CVE tracker marks the flaw high and notes no fixed package yet. Red Hat’s Enterprise Linux 9 and 10 kernels are affected with the fix deferred, while Enterprise Linux 8 is not affected.
Until a host kernel is updated and rebooted, the only available protection is disabling nested virtualization. This action closes the attack vector but also prevents guests from running nested VMs, so operators should warn tenants who rely on that capability before making the change. Nested virtualization is enabled by default in the kvm_amd module, so unpatched hosts are exposed unless the setting is deliberately altered.
CVE‑2026‑99312 is the latest in a series of KVM isolation failures disclosed this year. Earlier incidents included a 16‑year‑old flaw in KVM’s shadow memory management that affected both Intel and AMD systems, and the PwnEscape vulnerability in Linux networking code that let a guest read host memory in Vercel’s live sandboxes in October. The recurrence of such bugs underscores the ongoing challenge of maintaining strong isolation guarantees in virtualized environments.

Source: The Hacker News · Cybersecurity

ShieldPack media