A newly discovered security flaw in the Linux KVM hypervisor has raised concerns about cloud server security. The vulnerability, tracked as CVE-2026-99312, could allow a virtual machine to access memory belonging to its host system.
Security researchers demonstrated the issue on a DigitalOcean cloud server, where they were able to read approximately 127 GB of host memory from a virtual machine.
The flaw affects systems running AMD processors with nested virtualization enabled. This is particularly concerning for cloud providers that run multiple customers’ virtual machines on shared hardware.
How Does the Linux KVM Vulnerability Work?
KVM (Kernel-based Virtual Machine) is a virtualization technology built into the Linux kernel. It allows a physical server to run multiple virtual machines independently.
The problem comes from a memory-management error in KVM’s support for nested virtualization. Researchers found that when a nested virtual machine was reset, KVM failed to properly update a memory pointer.
This left the pointer connected to memory that had already been freed. After the kernel reused that memory, a guest virtual machine could manipulate its contents and create incorrect memory mappings.
As a result, the guest could access physical memory belonging to the host.
Researchers demonstrated both reading host memory and writing selected data to host memory in controlled tests.
Which Systems Are Affected?
The vulnerability does not affect every Linux server. Its impact depends on the processor type and virtualization configuration.

| System Configuration | Impact |
|---|---|
| AMD processors with nested virtualization enabled | Vulnerable |
| AMD processors with nested virtualization disabled | Protected against this attack path |
| Intel-based KVM hosts | Not affected |
| Cloud servers without AMD nested virtualization | Not affected by this flaw |
An attacker would also need root access inside a virtual machine running on a vulnerable host. Simply having internet access to the server is not enough.
Linux KVM CVE-2026-99312: Available Security Fixes
Linux kernel maintainers have released fixes for the vulnerability. The patched versions include:
- Linux kernel 7.3.5
- Linux kernel 6.18.64
- Linux kernel 6.12.118
Cloud providers and system administrators should check their Linux distributions for updated security packages.
One important point is that updating the operating system inside a virtual machine will not fix this issue. The vulnerable code runs on the host system, so administrators must update the host kernel and reboot the physical server.
What Should Server Administrators Do?
Administrators who cannot install the security update immediately should disable nested virtualization on affected AMD hosts.
They can check the current setting using:
cat /sys/module/kvm_amd/parameters/nested
If the output is 1 or Y, nested virtualization is enabled.
To disable it, administrators can add the following configuration:
options kvm_amd nested=0
The host must then be rebooted for the change to take effect. Before disabling nested virtualization, administrators should inform customers who depend on running virtual machines inside their own VMs.
Why This Vulnerability Matters

The Linux KVM vulnerability CVE-2026-99312 highlights the security risks of shared cloud infrastructure. If a guest virtual machine can access host memory, sensitive information belonging to other workloads could potentially be exposed.
There are currently no reported cases of this vulnerability being exploited outside security research, and no public exploit code has been released.
However, the issue shows why regular kernel updates and proper virtualization security are important. Cloud providers and independent server operators should review their configurations and apply the available patches as soon as possible.
For businesses running Linux-based cloud infrastructure, keeping the host kernel updated is essential to maintaining strong security.
