---
title: Tip: on AMD KVM hosts, check /sys/module/kvm_amd/parameters/nested and remember the CVE-2026-99312 fix only counts after a reboot | ctxsec
url: https://ctxsec.com/items/tip-check-kvm-amd-nested-parameter-on-every-amd-hypervisor-and-reboot-after-kernel-update
description: "Nested virtualization is on by default in kvm_amd, so most AMD KVM hosts are exposed to CVE-2026-99312 unless someone deliberately turned it off, and an installed kernel update does nothing until the host reboots."
status: "guide (based on the CVE-2026-99312 disclosures by DigitalOcean, Terra Security and VirtFusion)"
published: 2026-11-20
---

> Nested virtualization is on by default in kvm_amd, so most AMD KVM hosts are exposed to CVE-2026-99312 unless someone deliberately turned it off, and an installed kernel update does nothing until the host reboots.

[← Tips & Guides](/tips) · [markdown](/items/tip-check-kvm-amd-nested-parameter-on-every-amd-hypervisor-and-reboot-after-kernel-update.md)

guide (based on the CVE-2026-99312 disclosures by DigitalOcean, Terra Security and VirtFusion)

2026-11-20 11:44 AM ET

### Tip: on AMD KVM hosts, check /sys/module/kvm_amd/parameters/nested and remember the CVE-2026-99312 fix only counts after a reboot

- **Check:** `cat /sys/module/kvm_amd/parameters/nested` (1 or Y = on) across Proxmox, OpenStack, oVirt and plain libvirt hosts.
- **If tenants don't need nested VMs:** add `options kvm_amd nested=0` to `/etc/modprobe.d/`, migrate or stop VMs, reboot; the parameter can't change while VMs run.
- **Verify:** `uname -r` shows a fixed kernel and the nested value reads 0/N or the kernel is patched.

Sources: [DigitalOcean: Virtualization, Responsible Disclosure, and CVE-2026-99312 (Nov 19, 2026)](https://www.digitalocean.com/blog/cve-2026-99312-kvm-patch) · [VirtFusion operator guide: CVE-2026-99312](https://www.docs.virtfusion.com/6.2/security/cve-2026-99312/) · [CVE-2026-99312 announcement (Linux kernel CNA, linux-cve-announce, Nov 18, 2026): KVM: x86: Unconditionally reset MMU context when emulating INIT](https://lists.openwall.net/linux-cve-announce/2026/11/18/2)
