Skip to main content

Linux Kernel KVM CVE-2026-53345

| EUVDEUVD-2026-40979 MEDIUM
Memory Leak (CWE-401)
2026-07-01 Linux GHSA-m28w-5q4v-5m48
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain KVM device access (local, PR:L)
  2. Delivery
    Create SEV-ES guest VM
  3. Exploit
    Trigger VM-Exit retaining writable page mapping
  4. Install
    Terminate process without KVM_RUN
  5. C2
    vCPU destruction leaks mapping
  6. Execute
    Repeat to exhaust host kernel memory
  7. Impact
    Host availability impact

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires local access to a Linux host with AMD EPYC hardware, the KVM kernel module loaded and SEV-ES support enabled, and user-level permissions to open /dev/kvm and create VMs (typically membership in the 'kvm' group or equivalent). The vulnerable condition is triggered specifically when: (1) an SEV-ES guest executes a VM-Exit that causes KVM to retain a writable guest page mapping, and (2) the controlling userspace process terminates without issuing a subsequent KVM_RUN ioctl. Normal VM lifecycle (including graceful shutdown with KVM_RUN calls) does not trigger the leak. Systems without AMD EPYC hardware, systems not running KVM, or systems not using SEV-ES guest configurations are entirely unaffected. The limiting factors - hardware specificity, SEV-ES configuration requirement, and the need for abnormal VM termination - substantially reduce real-world exploitability beyond what the CVSS AV:L/PR:L vector alone suggests.

Impact

CVSS 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) correctly reflects a local, low-privilege vector with no confidentiality or integrity impact, but high availability impact from the memory leak. EPSS 0.16% at the 5th percentile confirms very low real-world exploitation probability. There is no CISA KEV listing and no public proof-of-concept. The attack requires not only local access but also the ability to create and manage KVM VMs with SEV-ES - a capability requiring AMD EPYC hardware, kernel KVM support, and typically elevated or delegated virtualization permissions, making the PR:L designation generous. Practically, this affects cloud providers and enterprises running AMD-based KVM hypervisors; consumer Linux systems are unaffected. The CVSS S:U (unchanged scope) is consistent: the leak is in the host kernel but does not cross into guest trust boundaries. The tag 'Information Disclosure' in source metadata appears incorrect - the CWE (401) and CVSS impact metrics (C:N/I:N/A:H) confirm this is a memory leak / availability issue only; no information disclosure is described or implied.

Exploit ScenarioDerived

A local user with permissions to create and manage KVM virtual machines on an AMD EPYC host configures an SEV-ES guest, runs it until a VM-Exit occurs that causes KVM to retain a writable guest page mapping, then terminates the VM management process without issuing a subsequent KVM_RUN call. On vCPU teardown, KVM's dirty page tracking path leaks the retained mapping, gradually consuming host kernel memory. Repeated VM creation and abnormal termination cycles could exhaust host memory, triggering an availability impact on the hypervisor host. No public exploit or proof-of-concept has been identified.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Memory leak in the Linux kernel KVM subsystem exposes x86 SEV-ES (Secure Encrypted Virtualization-Encrypted State) guest environments to resource exhaustion when userspace terminates a VM without calling KVM_RUN after a VM-Exit. KVM retains writable page mappings across exits to userspace for certain SEV-ES VM-Exits, and when vCPU destruction must release these mappings, the kernel incorrectly emits a WARN about dirtying memory without a running vCPU - masking the real defect and complicating the fix. No public exploit exists and EPSS is 0.16% (5th percentile), placing this firmly as a low-exploitation-probability availability defect; patches are confirmed across multiple stable kernel branches.

RemediationAI

The primary fix is to upgrade the Linux kernel to a patched stable release: 6.6.143 or later for the 6.6.x branch, 6.12.94 or later for 6.12.x, 6.18.36 or later for 6.18.x, 7.0.13 or later for 7.0.x, or 7.1 for the 7.x series. Upstream fix commits are available at https://git.kernel.org/stable/c/033d39e41fc30f484f4e4f37fb4cd76b12cbb18e, https://git.kernel.org/stable/c/66a8e7ddd901023c89a2733494d827eca3f9c1b0, https://git.kernel.org/stable/c/343e95c8ecc40e0738975ef4ee24c0c35e800e6b, https://git.kernel.org/stable/c/99d7d43784ae3235026581e9bf892c036e04c8e6, and https://git.kernel.org/stable/c/8618004d3e897c0f1b71d9a9ab860461289bb89a. If immediate patching is infeasible, a compensating control is to restrict access to the KVM device (/dev/kvm) to trusted administrators only, reducing the population of users who can create SEV-ES guests; this does not eliminate the vulnerability but limits exposure. Disabling SEV-ES guest support eliminates the vulnerable code path entirely, though this prevents use of AMD memory encryption for guests. No kernel parameter or runtime toggle exists to suppress the leak without patching.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <343e95c8ecc40e0738975ef4ee24c0c35e800e6b
Linux patch: 7.0.13
Linux patch: 6.18.36
Linux 0 <7.0.13
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <99d7d43784ae3235026581e9bf892c036e04c8e6
Linux 0 <6.18.36
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8618004d3e897c0f1b71d9a9ab860461289bb89a
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <033d39e41fc30f484f4e4f37fb4cd76b12cbb18e
Linux patch: 6.12.94
Linux 0 <6.6.143
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <66a8e7ddd901023c89a2733494d827eca3f9c1b0
Linux patch: 6.6.143
Linux 0 <6.12.94
Linux patch: 7.1

Affected Packages

euvd linux fix: 6.6.143, 6.12.94, 6.18.36, 7.0.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the KVM (Kernel-based Virtual Machine) hypervisor subsystem within the Linux kernel, specifically the dirty page tracking path and the vCPU lifecycle management for AMD SEV-ES guests. SEV-ES is an AMD EPYC feature that encrypts CPU register state, requiring KVM to maintain writable guest-page mappings across certain VM-Exits to handle shared state. The root cause (CWE-401: Missing Release of Memory after Effective Lifetime) is that these writable mappings are not released if userspace terminates without re-entering via KVM_RUN; the cleanup path in vCPU destruction then fires, but a WARN guard checks for a running vCPU unconditionally, treating the dying-VM teardown as an error condition and obscuring the leak. The fix conditions the WARN on VM refcount being non-zero, permitting safe page release during destruction. CPE cpe:2.3:a:linux:linux:* covers the full kernel tree; only configurations using KVM with SEV-ES guests on AMD EPYC hardware trigger the defect.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local vector confirmed by kernel context; PR:L reflects KVM device group membership requirement; A:H reflects memory leak DoS; no C or I impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 2.5 LOW
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 22, 2026 - 19:22 NVD
5.5 (MEDIUM)
Patch available
Jul 01, 2026 - 15:16 EUVD
CVE Published
Jul 01, 2026 - 13:32 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 01, 2026 - 13:32 nvd
MEDIUM 5.5

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
Linux kernel deployed in most servers and cloud infrastructure worldwide
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Low
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy