Skip to main content

Linux Kernel EUVDEUVD-2026-38837

| CVE-2026-52969 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-06-24 Linux GHSA-gpq6-rrxf-v33x
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Open /dev/kvm and create VM
  2. Delivery
    Enable dirty-ring logging (MAP_SHARED)
  3. Exploit
    Craft wrapping offsets 0xffffffffffffffc1 and 0
  4. Install
    Race KVM_RESET_DIRTY_RINGS to bypass bounds check
  5. C2
    Drive near-U64_MAX gfn into gfn_to_rmap()
  6. Execute
    Out-of-bounds rmap load and PT_WRITABLE clear
  7. Impact
    Kernel memory corruption / privilege escalation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local code execution as a process that holds an open handle to /dev/kvm (PR:L - not root, but not an anonymous remote attacker). The VM must be using the KVM dirty-ring logging interface (KVM_DIRTY_LOG_PAGE_OFFSET MAP_SHARED ring with KVM_RESET_DIRTY_RINGS), and the attacker must win the race to rewrite ring entry slot/offset payloads before reset consumes them. Critically, reaching the vulnerable gfn_to_rmap() indexing requires the legacy/rmap MMU path (kvm_memslots_have_rmaps()==true): shadow paging, a VM that has allocated shadow roots, or a write-tracked slot - hosts exclusively on the TDP MMU do not reach this exact path. Limiting factors: no network vector (local only), a low-privilege but real prerequisite (/dev/kvm access), a timing race, and a non-default MMU precondition all reduce realistic exploitability below the raw 7.8 score.

Impact

The vendor CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 7.8) is consistent with the description: exploitation is local, requires only that the attacking process hold an open /dev/kvm handle (a low-privilege prerequisite, not root), needs no user interaction, and yields high confidentiality/integrity/availability impact through kernel memory corruption. The corroborating signals point toward low real-world urgency rather than an emergency: EPSS is 0.19% (9th percentile), the issue is NOT on CISA KEV, and no public exploit was identified - so this is a genuine kernel bug but not an actively-exploited one. The one caveat is that reaching the vulnerable code requires the legacy shadow-paging/rmap MMU path to be active; on modern deployments using the TDP (two-dimensional paging) MMU with hardware EPT/NPT this specific rmap indexing is not the default path, which further narrows practical exposure. Net: a legitimate, patch-worthy local memory-corruption flaw, but a routine prioritization (schedule the stable-kernel update) rather than a drop-everything item, given low EPSS, no KEV, no known exploit, and the non-default MMU precondition.

Exploit ScenarioDerived

A low-privilege local user or container/VM-management process that can open /dev/kvm creates a VM using dirty-ring logging, then races the shared MAP_SHARED ring to craft two entries with offsets 0xffffffffffffffc1 and 0 so the reset path's bounds check wraps and passes. On the shadow-paging MMU path this drives a near-U64_MAX gfn into gfn_to_rmap(), producing an out-of-bounds kvm_rmap_head load and a conditional clear of PT_WRITABLE_MASK in attacker-influenced kernel memory, corrupting kernel state toward privilege escalation or denial of service. No public exploit is identified at time of analysis, and success requires the local AV:L/AC:L/PR:L conditions plus an active legacy rmap MMU.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

AnalysisAIv2 – Jul 14, 2026

Local privilege-relevant memory corruption in the Linux kernel's KVM subsystem (kvm_reset_dirty_gfn) lets any process holding /dev/kvm bypass a dirty-ring bounds check via a u64 integer overflow, driving a near-U64_MAX guest frame number into gfn_to_rmap() for an out-of-bounds kvm_rmap_head load and a conditional write-flag clear. Affected are kernels from 5.11 through the 7.x line running VMs on the shadow-paging (legacy/rmap) MMU path. This is a local (AV:L), low-privilege (PR:L) issue rated CVSS 7.8; there is no public exploit identified at time of analysis, EPSS is low at 0.19% (9th percentile), and it is not on CISA KEV.

Earlier versions of this analysis (1)
v1 Jun 30, 2026 - 05:30 CVSS 7.0

Out-of-bounds kernel memory access in the Linux kernel's KVM dirty ring subsystem allows a local user holding /dev/kvm to corrupt host kernel state via an unchecked u64 integer overflow (CWE-190) in kvm_reset_dirty_gfn(). Because the dirty ring is MAP_SHARED into userspace, a malicious VMM can rewrite the slot/offset payload fields after the kernel pushes them but before KVM_RESET_DIRTY_RINGS consumes them, defeating the bounds check and steering a near-U64_MAX gfn into gfn_to_rmap(). No public exploit is identified at time of analysis, EPSS is low (0.19%, 9th percentile), and vendor patches are available across all affected stable branches.

RemediationAI

Vendor-released patch: upgrade to a fixed stable kernel - 5.15.209, 6.1.175, 6.6.141, 6.12.91, 7.0.10, or 6.18.33 (mainline 7.1) - matching your maintained series, and consume your distribution's backported build (track Red Hat's advisory at https://access.redhat.com/security/cve/CVE-2026-52969 and CSAF VEX at https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52969.json). The upstream fix range-checks offset on its own first (offset < npages) so the later addition cannot wrap. Where patching must wait, the practical compensating control is to restrict who can open /dev/kvm - the entire attack surface is reachable only from processes with a KVM handle, so limit KVM access to trusted virtualization services and untrusted tenants' hypervisor daemons rather than general users; the trade-off is that any workload legitimately needing nested/user virtualization loses it. Because the vulnerable code path is the legacy shadow-paging rmap MMU, ensuring hosts run with the TDP MMU (hardware EPT/NPT) reduces reachability, though this is a mitigation of exposure, not a guaranteed fix and depends on guest/host configuration.

Affected VersionsENISA

Linux patch: 6.1.175
Linux fb04a1eddb1a65b6588a021bdc132270d5ae48bb <577a8d3bae0531f0e5ccfac919cd8192f920a804
Linux fb04a1eddb1a65b6588a021bdc132270d5ae48bb <ecf9b3ea7847fe14f34b8c41f00de1eb95c747da
Linux patch: 6.6.141
Linux fb04a1eddb1a65b6588a021bdc132270d5ae48bb <0d419c23bb11b5c9664de777c47c1f04a235882d
Linux patch: 6.12.91
Linux patch: 5.15.209
Linux patch: 7.1
Linux fb04a1eddb1a65b6588a021bdc132270d5ae48bb <b315b033a877b1ee6d827810b5d7bb4392ffcf8d
Linux fb04a1eddb1a65b6588a021bdc132270d5ae48bb <0eb281eb95b2d4eea4db1da5fe91023aecc97095
Linux fb04a1eddb1a65b6588a021bdc132270d5ae48bb <74f1a22f7a80f03d28ad8551a2d25d563433addf
Linux 5.11
Linux patch: 7.0.10
Linux patch: 6.18.33
Linux fb04a1eddb1a65b6588a021bdc132270d5ae48bb <01b71b930f15728aa8599478a7ce90c19dcd9fc2
Linux patch: 0

Affected Packages

euvd linux no fix

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 flaw lives in KVM's dirty-ring logging, a mechanism where the VMM shares a MAP_SHARED ring at KVM_DIRTY_LOG_PAGE_OFFSET of the vCPU fd to learn which guest pages were dirtied. Because the ring is writable by userspace, the VMM can race the kernel and rewrite the slot/offset payload of ring entries between kernel push and KVM_RESET_DIRTY_RINGS consumption; only the flags field is treated as the handover, so slot/offset are trusted. In kvm_reset_dirty_gfn() the guard 'offset + __fls(mask) >= memslot->npages' adds an unchecked u64 offset, so a crafted offset such as 0xffffffffffffffc1 combined with the coalescing loop's delta computation (folding a second entry into bit 63 of the mask) makes the sum wrap to 0 and pass the bound. The corrupt offset then flows into kvm_arch_mmu_enable_log_dirty_pt_masked() and, on the legacy rmap MMU path (kvm_memslots_have_rmaps()==true - shadow paging, allocated shadow roots, or a write-tracked slot), into gfn_to_rmap() which indexes slot->arch.rmap[0][] with a near-U64_MAX gfn. Root cause is CWE-190 (integer overflow/wraparound), which the tags also characterize as leading to an out-of-bounds (buffer overflow) access.

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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local /dev/kvm access gives PR:L; the required race and non-default rmap-MMU precondition raise AC to H; kernel memory corruption yields high C/I/A with no scope change.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.0 HIGH

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

6
Analysis Updated
Jul 14, 2026 - 20:31 vuln.today
v2 - CVSS changed
CVSS changed
Jul 14, 2026 - 20:22 NVD
7.0 (HIGH) 7.8 (HIGH)
CVSS changed
Jun 30, 2026 - 03:24 NVD
7.0 (HIGH)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:28 cve.org
HIGH 7.0
CVE Published
Jun 24, 2026 - 16:28 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

KVM: Reject wrapped offset in kvm_reset_dirty_gfn()

kvm_reset_dirty_gfn() guards the gfn range with

if (!memslot || (offset + __fls(mask)) >= memslot->npages) return;

but offset is u64 and the addition is unchecked. The check can be silently bypassed by a u64 wrap.

The dirty ring backing those entries is MAP_SHARED at KVM_DIRTY_LOG_PAGE_OFFSET of the vcpu fd, so the VMM can rewrite the slot and offset fields of any entry between when the kernel pushes them and when KVM_RESET_DIRTY_RINGS consumes them. On reset, kvm_dirty_ring_reset() re-reads the values via READ_ONCE() and feeds them straight back into this check; only the flags handshake is treated as the handover, the slot/offset payload is taken on trust.

Crafting two entries

entry[i].offset = 0xffffffffffffffc1 entry[i+1].offset = 0

makes the coalescing loop in kvm_dirty_ring_reset() compute

delta = (s64)(0 - 0xffffffffffffffc1) = 63

which falls in [0, BITS_PER_LONG), so it folds entry[i+1] into the existing mask by setting bit 63. The trailing kvm_reset_dirty_gfn() call then sees offset = 0xffffffffffffffc1 and __fls(mask) = 63; the sum is 0 in u64 and the bounds check passes.

That offset propagates into kvm_arch_mmu_enable_log_dirty_pt_masked() unchanged. On the legacy MMU path -- kvm_memslots_have_rmaps() == true, i.e. shadow paging, any VM that has allocated shadow roots, or a write-tracked slot -- it reaches gfn_to_rmap(), which indexes slot->arch.rmap[0][] with a near-U64_MAX gfn. That is an out-of-bounds load of a kvm_rmap_head, followed by a conditional clear of PT_WRITABLE_MASK in whatever the loaded pointer points at. The path is reachable from any process holding /dev/kvm.

Range-check offset on its own first, so the addition cannot wrap. memslot->npages is bounded well below U64_MAX, so once offset < npages holds, offset + __fls(mask) (with __fls(mask) < BITS_PER_LONG) stays in range.

Executive ViewAI

Why It Matters

Linux virtual machine infrastructure contains a kernel-level vulnerability (CVE-2026-52969, CVSS 7.8) affecting kernel versions 5.11 through 7.x. Low-privilege local users can trigger the vulnerability through the kernel's virtual machine management interface, potentially causing VM instability or hypervisor compromise. With no public exploit identified at time of analysis, this critical infrastructure vulnerability should still be prioritized for immediate patching to maintain virtualization security.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
Linux kernel with KVM underpins most Linux virtualization and cloud hosts
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.168 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.149 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.197 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.145 Affected
Container suse/sle-micro-rancher/5.3:latest Container suse/sle-micro-rancher/5.4:5.4.4.5.149 Affected
Container suse/sle-micro/base-5.5:2.0.4-5.8.296 Affected
Container suse/sle-micro/kvm-5.5:2.0.4-3.5.570 Affected

References

Advisories & patches
ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-52969 ADVISORY https://ubuntu.com/security/notices/USN-8566-1 ADVISORY https://ubuntu.com/security/notices/USN-8567-1 ADVISORY https://ubuntu.com/security/notices/USN-8568-1 ADVISORY https://vuldb.com/vuln/373303 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22511/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22512/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22521/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22522/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22665/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22666/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:22699/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2799/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2800/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2840/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:2841/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:3044/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:3089/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:3156/ REF https://access.redhat.com/security/cve/CVE-2026-52969 REF https://bugzilla.redhat.com/show_bug.cgi?id=2492434 REF https://git.kernel.org/stable/c/01b71b930f15728aa8599478a7ce90c19dcd9fc2 REF https://git.kernel.org/stable/c/0d419c23bb11b5c9664de777c47c1f04a235882d REF https://git.kernel.org/stable/c/0eb281eb95b2d4eea4db1da5fe91023aecc97095 REF https://git.kernel.org/stable/c/577a8d3bae0531f0e5ccfac919cd8192f920a804 REF https://git.kernel.org/stable/c/74f1a22f7a80f03d28ad8551a2d25d563433addf REF https://git.kernel.org/stable/c/b315b033a877b1ee6d827810b5d7bb4392ffcf8d REF https://git.kernel.org/stable/c/ecf9b3ea7847fe14f34b8c41f00de1eb95c747da REF https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52969.json

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