home › Forums › Device, App & Web Security › Other Web, App Security › Linux KVM Flaw Exposes 127GB RAM on DigitalOcean
- This topic has 0 replies, 1 voice, and was last updated 1 week, 6 days ago by
MW Contributor.
- Posts
- A security vulnerability in the Linux KVM hypervisor allowed researchers to access approximately 127GB of physical server memory from a DigitalOcean virtual machine, potentially exposing sensitive data belonging to other cloud hosting customers.

The vulnerability, identified as CVE-2026-99312, affects Linux servers using AMD processors with nested virtualisation enabled. It allows a virtual machine to bypass security protections that normally prevent customers from accessing the underlying physical server’s memory.
Security researcher Oren Yomtov from Terra Security discovered the flaw and reported it through DigitalOcean’s bug bounty programme.
DigitalOcean confirmed the vulnerability on its own infrastructure and classified it as critical. The company has since deployed a live kernel patch across its cloud hosting fleet.
The Linux kernel developers also released security fixes on 17 November 2026, with the vulnerability publicly disclosed on 18 November.
Linux KVM Vulnerability Allowed Access to 127GB of Host RAM
The vulnerability affects Kernel-based Virtual Machine (KVM), a virtualisation technology built into the Linux kernel that allows multiple virtual machines to operate independently on a single physical server.
Cloud hosting providers commonly use virtualisation to offer virtual private servers (VPS), allowing customers to run their own operating systems and applications without having direct access to the physical hardware.
Each virtual machine is supposed to operate within an isolated environment, with memory access controlled by the hypervisor.
However, researchers at Terra Security demonstrated that CVE-2026-99312 could bypass this isolation on vulnerable AMD-based systems.
During testing on a DigitalOcean Droplet, the researchers successfully mapped approximately 127GB of the physical host’s RAM with read-only access.
The first information retrieved was the host’s Linux kernel version, followed by access to other areas of physical memory.
According to DigitalOcean’s official disclosure, the vulnerability could allow a customer with root access to their own virtual machine to access memory belonging to the host server.
In a shared cloud hosting environment, that memory may contain information processed by other customers’ virtual machines.
The researchers also demonstrated that the vulnerability could be used to modify host memory.
In a separate test on their own physical AMD server, they successfully wrote 32 bytes of data into a memory page belonging to the running host kernel.
The write test was not performed on DigitalOcean’s shared production servers.
There is no confirmed public report that the vulnerability was exploited to steal other customers’ data.
How CVE-2026-99312 Bypasses Virtual Machine Isolation
According to Terra Security’s technical research, the vulnerability is caused by incorrect memory management in KVM’s support for nested virtualisation.
Nested virtualisation allows a virtual machine to operate another virtual machine within itself.
For example, a customer running a virtual server may use nested virtualisation to test another operating system or run a separate virtualisation environment.
KVM uses memory mapping tables to control which areas of physical memory each virtual machine can access.
The vulnerability occurs when a processor reset operation, known as INIT, interrupts a nested virtual machine under specific conditions.
During this operation, KVM fails to reset part of its memory management state correctly.
This leaves a pointer referencing a memory page that has already been released by the kernel.
If that memory is reused, an attacker controlling the virtual machine can manipulate the memory mappings and potentially direct the processor to access physical memory outside the virtual machine’s assigned allocation.
This type of vulnerability is known as a guest-to-host escape because it allows software running inside a virtual machine to bypass the isolation enforced by the hypervisor.
Terra Security traced the problem to a security patch introduced in 2022 for another vulnerability, CVE-2022-3344.
That earlier patch corrected one security issue but unintentionally introduced the memory management error responsible for CVE-2026-99312.
The flaw remained in affected Linux kernels for almost four years before being discovered.
Which AMD and Linux Servers Are Vulnerable?
CVE-2026-99312 does not affect every Linux server or VPS.
The vulnerability is limited to KVM hosts using AMD processors with nested virtualisation enabled and an affected Linux kernel.
Intel-based KVM hosts are not vulnerable to this particular flaw because the affected execution path is specific to AMD’s Secure Virtual Machine (SVM) technology.
An attacker also needs sufficient control over a virtual machine running on the affected host.
In the demonstrated attack, the researchers had root access inside their own virtual machine.
This is an important distinction for cloud hosting security because VPS customers are normally given root access to their rented virtual servers.
On a vulnerable shared host, a malicious customer could potentially exploit the flaw without obtaining administrative credentials for the physical server.
However, the vulnerability cannot be exploited simply by making an unauthorised connection to a server over the internet.
Servers that do not use nested virtualisation are not exposed to this particular attack path.
The risk also depends on whether the hosting provider has installed the security fix.
A Linux VPS running on an AMD processor is therefore not automatically vulnerable. The relevant configuration is that of the physical host, which may not be visible to the VPS customer.
Linux Kernel 7.3.5, 6.18.64 and 6.12.118 Fix the Flaw
The Linux kernel security team published its official advisory for CVE-2026-99312 on 18 November 2026.
The vulnerability has been fixed in Linux kernel versions 7.3.5, 6.18.64 and 6.12.118, released on 17 November.
The fix was also included in Linux 7.4-rc2, which became available earlier in November.
However, Linux distributions do not necessarily adopt upstream kernel updates immediately.
Some distributions maintain their own kernel packages and may backport individual security fixes without changing to the latest upstream kernel version.
As of 20 November, the Debian security tracker continues to list affected Linux kernel packages in Debian 12 and Debian 13. A fixed version is available in Debian’s unstable distribution.
Ubuntu also identifies affected kernel packages in its CVE-2026-99312 security tracker, although the availability of fixes varies by package and release.
Red Hat identifies Enterprise Linux 9 and 10 as affected, while Enterprise Linux 8 is not affected by the vulnerability.
The different Linux distribution release cycles mean that administrators must verify the security status of their installed kernel packages rather than relying only on the upstream Linux version number.
Linux KVM Security Flaw Receives Different Severity Ratings
The vulnerability has received different security ratings from the Linux kernel security team and operating system vendors.
The Linux kernel CVE authority assigned CVE-2026-99312 a CVSS 3.1 severity score of 8.8 out of 10.
This rating reflects the potential impact on confidentiality, integrity and availability when a virtual machine gains unauthorised access to host memory.
However, Red Hat’s preliminary assessment assigns the vulnerability a Moderate severity rating with a CVSS score of 5.6.
Red Hat’s assessment focuses on the possibility of denial-of-service attacks and the specific conditions required for exploitation.
DigitalOcean treated the issue as critical after validating the exploit against its own infrastructure.
The differing ratings reflect how vendors assess the affected configurations and potential consequences of exploitation.
For shared cloud hosting providers, the ability of one customer’s virtual machine to access memory outside its assigned environment presents a significant isolation risk.
DigitalOcean Patches Servers Without Customer Action
DigitalOcean said it addressed CVE-2026-99312 through live kernel patching, allowing the company to update its hypervisors without requiring a complete reboot of each affected physical server.
The company confirmed that it reproduced the exploit on its own systems before preparing and deploying the security fix.
DigitalOcean subsequently rebuilt its live patch using the upstream Linux kernel correction and rolled it out across its fleet.
The cloud provider said its Droplet customers do not need to take additional action.
For customers using VPS services from other hosting providers, the situation depends on whether the underlying physical servers meet the vulnerable conditions.
Updating the operating system inside a VPS does not address a flaw in the physical host’s KVM hypervisor.
The hosting provider or server administrator must apply the fix to the host kernel.
Customers using shared VPS services should therefore seek confirmation from their providers if they are uncertain whether the affected AMD KVM configurations are in use.
How Server Administrators Can Mitigate CVE-2026-99312
Administrators operating their own AMD-based KVM servers can reduce the risk by installing a kernel update containing the security fix.
If an updated kernel is unavailable, disabling nested virtualisation prevents exploitation through the vulnerable execution path.
The configuration can be checked on the physical Linux host using the command cat /sys/module/kvm_amd/parameters/nested.
A returned value of 1 or Y indicates that nested virtualisation is enabled.
Administrators can disable the feature by configuring the kvm_amd kernel module with options kvm_amd nested=0.
The change requires a host reboot to become effective. A conventional kernel update also requires a reboot before the new kernel starts running, unless a suitable live patch has been applied.
Disabling nested virtualisation prevents customers from running additional virtual machines within their existing virtual machines. Providers should therefore assess whether any customers depend on this feature before disabling it.
According to VirtFusion’s security guidance, no public exploit code or confirmed exploitation outside security research had been reported as of 19 November 2026.
The vendor also reported that no specific guidance was available for detecting previous exploitation attempts.
For cloud hosting customers, the important security distinction is that CVE-2026-99312 affects the physical server’s virtualisation layer, not the operating system or applications installed inside an individual VPS.
0
Tagged: AMD, Cloud Security, CVE-2026-99312, DigitalOcean, Linux Kernel, Linux KVM, Virtualisation
- You must be logged in to reply to this topic.