In the Linux kernel, the following vulnerability has been resolved:
KVM: Don't WARN if memory is dirtied without a vCPU when the VM is dying
When marking a page dirty, complain about not having a running/loaded vCPU if and only if the VM is still alive, i.e. its refcount is non-zero. This will allow fixing a memory leak for x86 SEV-ES guests without hitting what is effectively a false positive on the WARN.
For some SEV-ES VM-Exits, KVM keeps a writable mapping of a guest page across an exit to userspace, and typically unmaps the page on the next KVM_RUN. But if userspace never calls KVM_RUN after such an exit, then KVM needs to unmap the page when the vCPU is destroyed, which in turn triggers the WARN about not having a running vCPU.
Alternatively, SEV-ES could temporarily load the vCPU to suppress the WARN, as is done in nested_vmx_free_vcpu() (but for completely unrelated reasons; suppressing WARN from nested_put_vmcs12_pages() is pure happenstance). But loading a vCPU during destruction is gross (ideally nVMX code would be cleaned up), risks complicating the SEV-ES code (KVM would need to ensure the temporarily load()+put() only runs when the vCPU isn't already loaded), and is ultimately pointless.
The motivation for the WARN is to guard against KVM dirtying guest memory without pushing the corresponding GFN to the active vCPU's dirty ring, e.g. to ensure userspace doesn't miss a dirty page. But for the VM's refcount to reach zero, there can't be _any_ userspace mappings to the dirty ring, as mapping the dirty ring requires doing mmap() on the vCPU FD. I.e. if userspace had a valid mapping for the dirty ring, then the vCPU file and thus the owning VM would still be alive. And so since userspace can't possibly reach the dirty ring, whether or not KVM technically "misses" a push to the dirty ring is irrelevant.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade kernel6.18-debuginfo-common-x86_64Upgrade kernel6.18-toolsUpgrade kernel6.12-tools-debuginfoUpgrade kernel6.12-debuginfoUpgrade kernel6.18-tools-develUpgrade kernel6.18-debuginfoUpgrade kernel6.12-toolsUpgrade python3-perf6.18-debuginfoUpgrade kernel6.18-headersUpgrade kernel-livepatch-6.12.94-123.174Upgrade kernel6.18-modules-extraUpgrade bpftool6.18-debuginfoUpgrade kernel-livepatch-6.18.36-69.134Upgrade kernel6.18-develUpgrade python3-perf6.12-debuginfoUpgrade bpftool6.12Upgrade microvm-kernel6.18Upgrade perf6.12-debuginfoUpgrade kernel6.12-headersUpgrade kernel6.12-modules-extra-commonUpgrade kernel6.12-debuginfo-common-x86_64Upgrade kernel6.18-debuginfo-common-aarch64Upgrade perf6.18-debuginfoUpgrade kernel6.18-modules-extra-commonUpgrade kernel6.18Upgrade kernel6.12Upgrade kernel6.12-tools-develUpgrade perf6.18Upgrade kernel6.12-develUpgrade bpftool6.18Upgrade kernel6.12-modules-extraUpgrade bpftool6.12-debuginfoUpgrade kernel6.12-debuginfo-common-aarch64Upgrade python3-perf6.12Upgrade kernel6.18-tools-debuginfoUpgrade python3-perf6.18Upgrade perf6.12 | Jul 23, 2026 | Jul 1, 2026 |
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Ubuntu | — | Upgrade linux-image-7.0.0-1018-nvidia-64kUpgrade linux-image-realtime-7.0Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-gcp-64kUpgrade linux-image-7.0.0-1012-awsUpgrade linux-image-realtime-64kUpgrade linux-image-gke-7.0Upgrade linux-image-7.0.0-1013-oemUpgrade linux-image-7.0.0-2018-nvidia-bosUpgrade linux-image-7.0.0-31-realtimeUpgrade linux-image-awsUpgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-realtime-64k-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-7.0.0-1014-azureUpgrade linux-image-7.0.0-1019-raspi-realtimeUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-nvidia-bos-64kUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-realtimeUpgrade linux-image-7.0.0-1011-oracle-64kUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-gke-64kUpgrade linux-image-raspiUpgrade linux-image-azureUpgrade linux-image-nvidia-bosUpgrade linux-image-nvidia-7.0Upgrade linux-image-7.0.0-1019-raspiUpgrade linux-image-gkeUpgrade linux-image-generic-7.0Upgrade linux-image-oem-7.0Upgrade linux-image-aws-64k-7.0Upgrade linux-image-raspi-7.0Upgrade linux-image-7.0.0-31-generic-64kUpgrade linux-image-gke-64k-7.0Upgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-oem-26.04aUpgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-virtual-7.0Upgrade linux-image-nvidia-64kUpgrade linux-image-gcpUpgrade linux-image-nvidia-64k-7.0Upgrade linux-image-azure-lts-26.04Upgrade linux-image-genericUpgrade linux-image-gcp-7.0Upgrade linux-image-7.0.0-2018-nvidia-bos-64kUpgrade linux-image-7.0.0-1018-nvidiaUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-realtime-hwe-26.04Upgrade linux-image-oracle-7.0Upgrade linux-image-oracle-64k-7.0Upgrade linux-image-oem-26.04bUpgrade linux-image-virtualUpgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-31-genericUpgrade linux-image-oracleUpgrade linux-image-7.0.0-1006-gkeUpgrade linux-image-ibm-7.0Upgrade linux-image-ibmUpgrade linux-image-oem-26.04Upgrade linux-image-7.0.0-1011-oracleUpgrade linux-image-virtual-hwe-26.04Upgrade linux-image-generic-64kUpgrade linux-image-7.0.0-31-realtime-64kUpgrade linux-image-7.0.0-1013-ibmUpgrade linux-image-7.0.0-1006-gke-64kUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-gke-hwe-26.04Upgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-azure-7.0Upgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-aws-64kUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-oracle-64kUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-nvidiaUpgrade linux-image-generic-64k-7.0Upgrade linux-image-7.0.0-1012-aws-64kUpgrade linux-image-7.0.0-1011-gcp | Sep 14, 2026 | Sep 7, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub