CVE-2026-53345·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.13
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.12% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.13
Fixed in: 7.0.13
How to fix this CVE
Update your Linux kernel to version 7.0.13 or later to resolve this KVM memory-dirtying issue that affects SEV-ES virtual machines. This fix prevents false-positive warnings when KVM unmaps guest pages during VM destruction, eliminating a potential memory leak in encrypted AMD guest scenarios. Apply the update through your distribution's package manager to ensure your virtualization infrastructure handles guest memory correctly.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check kernel version: uname -r — compare output against affected range 6.19 to 7.0.12
- Verify KVM is in use: grep -i kvm /proc/cpuinfo or lsmod | grep kvm
- Check for SEV-ES guests: virsh list --all && virsh dumpxml <vm-name> | grep -i 'launchSecurity\|sev'
- Confirm patch applied: grep -A2 'Don.t WARN if memory is dirtied' /boot/config-$(uname -r) or verify kernel version >= 7.0.13 with uname -r
FAQ
What is CVE-2026-53345?
This vulnerability affects the Linux KVM hypervisor's handling of guest memory dirtying during SEV-ES (Secure Encrypted Virtualization - Encrypted State) guest teardown. When a vCPU is destroyed while holding a writable mapping of an encrypted guest page, KVM incorrectly triggers a false-positive warning instead of allowing graceful unmapping, potentially causing memory leaks in AMD SEV-ES environments.
Is CVE-2026-53345 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. It is primarily a stability and memory management issue affecting virtualized encrypted workloads.
What versions of Kernel are affected by CVE-2026-53345?
Linux kernel versions 6.19 through 7.0.12 are affected. The fix was integrated in kernel version 7.0.13 and later.
How do I check if my server is vulnerable to CVE-2026-53345?
Run 'uname -r' to check your kernel version. If it displays a version between 6.19 and 7.0.12 and you are running KVM with SEV-ES guests, your system is vulnerable and requires a kernel update.
Does Defensia detect CVE-2026-53345?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel package is installed on a monitored server and its version falls within the vulnerable range, CVE-2026-53345 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/033d39e41fc30f484f4e4f37fb4cd76b12cbb18e
- https://git.kernel.org/stable/c/21b880f040bd0e8b50ff30c5a40db7bf3384ff48
- https://git.kernel.org/stable/c/343e95c8ecc40e0738975ef4ee24c0c35e800e6b
- https://git.kernel.org/stable/c/66a8e7ddd901023c89a2733494d827eca3f9c1b0
- https://git.kernel.org/stable/c/8618004d3e897c0f1b71d9a9ab860461289bb89a
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-53345. Free for 1 server.
Get started free