Skip to content

STACKIT-2026-007: High-Severity Vulnerability in Linux Kernel KVM AMD Nested Virtualization

Last updated on

A high-severity vulnerability in the Linux kernel KVM (Kernel-based Virtual Machine) implementation for AMD processors was disclosed on 2026-11-24 (CVE-2026-99312). The flaw is caused by improper MMU context management when handling INIT signals during nested SVM (Secure Virtual Machine) virtualization. When emulating an INIT signal while an L2 guest runs with paging disabled (CR0.PG=0), KVM fails to reset the MMU context unconditionally, leaving the L1 hypervisor running with a stale MMU role and context. The vulnerability affects Linux kernel versions supporting AMD nested virtualization (kvm_amd). Systems without AMD nested virtualization or configurations where the feature is disabled are not affected.

Exploitation of this vulnerability allows a malicious nested guest (L2) to trigger a use-after-free condition in host or L1 kernel memory, which can result in kernel memory corruption, privilege escalation, or hypervisor escape. As of 2026-11-27, no evidence of successful exploitation on STACKIT infrastructure is known, and no public proof of concept or in-the-wild exploitation is reported. The vulnerability is resolved in upstream Linux kernel commit c7c288d178cb and in corresponding Linux distribution security updates. If immediate kernel updating is not possible, administrators can mitigate the vulnerability on AMD hosts by disabling nested virtualization through the module configuration parameter nested=0 for kvm_amd.

STACKIT evaluated its platform services and confirmed that STACKIT-managed services are not affected by this vulnerability. Customers using STACKIT-managed services do not have to take any action; this bulletin is updated as significant changes or additional information become available. Customers who operate self-managed Linux systems with KVM on AMD hardware must install the vendor or distribution updates directly or apply the recommended configuration mitigations. In addition, customers operating self-managed systems must review their hypervisor configurations and restrict access to nested virtualization until updates are complete to strengthen protection against this vulnerability.

The vulnerability affects the following Linux kernel configurations on AMD hardware:

  • Linux kernel versions supporting AMD nested virtualization prior to upstream commit c7c288d178cb, when loaded with kvm_amd and nested=1 (or nested=Y)
  • Operating system distribution packages lacking the MMU reset backport running nested KVM on AMD processors

Systems running on Intel hardware (using kvm_intel), systems without KVM virtualization, and AMD KVM hosts where nested virtualization is disabled (nested=0 or nested=N) are not affected by this vulnerability.

The advisory addresses the following Common Vulnerabilities and Exposures (CVEs):

  • Inspect hypervisor configurations and loaded modules: Identify all virtual machines and host systems running Linux KVM on AMD processors. Determine whether the kvm_amd module is loaded and whether nested virtualization is enabled:
    Terminal window
    cat /sys/module/kvm_amd/parameters/nested
    If the command returns 1 or Y, nested virtualization is active and the host is vulnerable. If it returns 0 or N, nested virtualization is disabled.
  • Apply vendor security updates:
    • Install the latest Linux kernel security updates provided by your operating system distribution (such as Debian, Ubuntu, or Red Hat).
    • Verify installed kernel package versions against your Linux distribution security advisory.
    • Restart the system to load the updated kernel.
  • Apply temporary mitigations if patching is delayed:
    • Disable nested virtualization: If immediate kernel updates cannot be applied, disable nested virtualization for the kvm_amd module. Create or edit /etc/modprobe.d/kvm-amd.conf:
      options kvm_amd nested=0
    • Reload the kernel module: If no virtual machines are running, reload the module to apply the change:
      Terminal window
      modprobe -r kvm_amd && modprobe kvm_amd nested=0
      If virtual machines are running, restart the host at the earliest maintenance window to apply the configuration.
  • Restrict access to virtualization environments: Restrict access to hypervisor management endpoints and allow only trusted workloads on systems where nested virtualization remains active.
  • Platform services not affected: STACKIT evaluated its platform services and verified that STACKIT-managed services do not provide or expose vulnerable nested KVM virtualization configurations on AMD hardware.
  • No customer action required: Customers using STACKIT-managed services do not need to take any action.

For questions regarding this advisory or assistance with system configuration, contact STACKIT Support:

  • Open a ticket through the STACKIT Help Center.
  • Contact the support team by email at cybersecurity@stackit.cloud.