Skip to main content

Linux Kernel CVE-2025-68810

HIGH
2026-01-13 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Obtain local KVM ioctl access
  2. Delivery
    Create memslot with KVM_MEM_GUEST_MEMFD
  3. Exploit
    Issue flags-only update clearing the flag
  4. Execution
    Old memslot freed without gmem unbind
  5. Persist
    Close gmem fd triggers UAF write
  6. Impact
    Corrupt kernel heap for escalation or host crash

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access to the host and the ability to invoke KVM ioctls (PR:L) - i.e. a process that can open /dev/kvm and create/modify memslots, the position normally held by a hypervisor/VMM such as QEMU. The specific trigger is a memslot originally created with the KVM_MEM_GUEST_MEMFD flag (guest_memfd binding), followed by a flags-only memslot update that clears that flag; kernels lacking guest_memfd support are not affected. No user interaction is needed (UI:N). Limiting factors: the attacker must already be able to drive the KVM API (not reachable from a network or from an unprivileged, non-virtualization user context), the kernel must be built with and using guest_memfd, and the target slot must have been created with the flag set - so realistic exposure is concentrated on virtualization hosts, especially multi-tenant ones where untrusted workloads can reach KVM.

Impact

This is a genuine memory-corruption bug but a low-urgency one for most fleets. The CVSS vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects local access with low privileges and high impact - an attacker who can issue KVM ioctls (already a privileged position on any host running VMs) can corrupt kernel heap memory, potentially escalating to full kernel compromise or crashing the host. However, EPSS is only 0.02% (6th percentile) and the CVE is not in CISA KEV, indicating no observed exploitation and low predicted risk. There is a tension in the input data worth flagging: the record is tagged 'Information Disclosure', but the described primitive is a controllable use-after-free write, which is far more consistent with the CVSS I:H/A:H (integrity/availability) rating and typically leads to privilege escalation or denial of service rather than pure info-leak - treat the 'Information Disclosure' tag with skepticism. No SSVC decision data was supplied. Practical priority is highest for multi-tenant virtualization hosts where untrusted tenants can reach the KVM API; on single-tenant or non-virtualization hosts the exposed attack surface is minimal.

Exploit ScenarioDerived

A local user or a compromised/low-privilege process that can issue KVM ioctls on a virtualization host creates a memslot with KVM_MEM_GUEST_MEMFD, then issues a flags-only update clearing that flag; KVM frees the old memslot without unbinding the guest_memfd, and when the gmem file descriptor is later closed the kernel writes into freed slab memory. With careful heap grooming this use-after-free can be shaped into kernel privilege escalation or, more easily, a host crash (DoS). No public exploit is identified at time of analysis, and the low attack complexity (AC:L) means a working reproducer would be reliable once developed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv3 – Jul 30, 2026

Local privilege escalation and memory corruption in the Linux kernel's KVM subsystem allows a user with VM control (e.g. a QEMU/hypervisor process) to trigger a use-after-free by clearing the KVM_MEM_GUEST_MEMFD flag on a memslot that was created with a guest_memfd binding. KVM blocks enabling the flag on an existing memslot but never blocked disabling it, leaving the guest_memfd instance bound to freed memory that is later written during kvm_gmem_release. The flaw carries a CVSS of 7.8 and has a vendor-released fix; it is not in CISA KEV and no public exploit has been identified at time of analysis, with an EPSS of 0.02%.

Earlier versions of this analysis (2)
v2 Jul 30, 2026 - 07:07 cvss changed CVSS 7.8

Local privilege escalation via use-after-free in the Linux kernel's KVM subsystem allows a low-privileged user with /dev/kvm access to corrupt kernel memory. The flaw stems from KVM permitting the KVM_MEM_GUEST_MEMFD flag to be cleared on a memslot originally created with a guest_memfd binding, which leaves a dangling reference that is later dereferenced in kvm_gmem_release() when the VM tears down. Rated CVSS 7.8 (High); EPSS is negligible (0.02%, 6th percentile) and it is not in CISA KEV, so there is no public exploit identified at time of analysis, though the upstream bug report includes a KASAN-triggering reproducer.

v1 Mar 12, 2026 - 21:54

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

KVM: Disallow toggling KVM_MEM_GUEST_MEMFD on an existing memslot

Reject attempts to disable KVM_MEM_GUEST_MEMFD on a memslot that was initially created with a guest_memfd binding, as KVM doesn't support toggling KVM_MEM_GUEST_MEMFD on existing memslots.

RemediationAI

Patch available per vendor advisory: apply the fixed kernel from your distribution. The upstream fix rejects clearing KVM_MEM_GUEST_MEMFD on an existing memslot and is carried in the stable commits 89dbbe6ff323fc34659621a577fe0af913f47386, 9935df5333aa503a18de5071f53762b65c783c4c, and cb51bef465d8ec60a968507330e01020e35dc127. Ubuntu users should upgrade to the kernel versions listed in USN-8177-1 (https://ubuntu.com/security/notices/USN-8177-1) and reboot; other distributions should apply their equivalent errata (cross-reference https://vuldb.com/?id.340648). If immediate patching is not possible on a virtualization host, the meaningful compensating control is to restrict who can reach the KVM API: ensure only trusted hypervisor processes hold access to /dev/kvm (tighten group/permissions), avoid granting untrusted or low-trust tenants direct KVM ioctl access, and where guest_memfd/confidential-VM features are not needed, keep them out of the guest configuration - the trade-off is that these controls reduce exposure but do not remove the code path, and locking down /dev/kvm can break legitimate local virtualization tooling. Because exploitation requires an already-privileged VM-control context, hardening the hypervisor process boundary is the most effective interim measure.

Affected ProductsAI

The Linux kernel's KVM module is affected on builds that support guest_memfd (KVM_MEM_GUEST_MEMFD), a feature present in recent mainline kernels; the KASAN reproducer was captured on 6.18.0-rc6. No CPE strings were provided in the input, so an exact affected-version range cannot be enumerated from this data. Fixes were committed to stable trees per the kernel.org stable commits (89dbbe6ff323fc34659621a577fe0af913f47386, 9935df5333aa503a18de5071f53762b65c783c4c, cb51bef465d8ec60a968507330e01020e35dc127). Ubuntu has published security notice USN-8177-1 (https://ubuntu.com/security/notices/USN-8177-1) covering its kernel packages, and VulDB tracks the issue at https://vuldb.com/?id.340648. Distribution-specific fixed package versions should be taken from each vendor's advisory.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The bug lives in KVM (Kernel-based Virtual Machine), the Linux hypervisor infrastructure exposed through /dev/kvm ioctls. guest_memfd (KVM_MEM_GUEST_MEMFD) is a relatively new mechanism that backs guest memory with an anonymous, hypervisor-owned file descriptor rather than ordinary userspace mappings, primarily to support confidential-computing / private guest memory. When a memslot is created via KVM_SET_USER_MEMORY_REGION2 with the guest_memfd flag, KVM binds the memslot to that gmem instance. The root cause is a missing state-transition check: KVM correctly rejects turning the flag ON for an existing slot but failed to reject turning it OFF during a FLAGS_ONLY update, so the old memslot (and its gmem binding) is kfree'd without unbinding. The stale gmem reference is later dereferenced in kvm_gmem_release() when the file is closed, producing a slab-use-after-free (KASAN write-of-size-8). Although CWE is listed as N/A, this is a classic CWE-416 (Use After Free) arising from an incomplete invariant on an object lifecycle.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local KVM-ioctl access (AV:L, PR:L) with a simple deterministic trigger (AC:L); the UAF write threatens kernel integrity and host availability with potential info exposure, so C/I/A:H.

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

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

Lifecycle Timeline

4
Analysis Updated
Jul 30, 2026 - 07:08 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 07:07 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
CVE Published
Jan 13, 2026 - 16:16 nvd
N/A

DescriptionCVE.org

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

KVM: Disallow toggling KVM_MEM_GUEST_MEMFD on an existing memslot

Reject attempts to disable KVM_MEM_GUEST_MEMFD on a memslot that was initially created with a guest_memfd binding, as KVM doesn't support toggling KVM_MEM_GUEST_MEMFD on existing memslots. KVM prevents enabling KVM_MEM_GUEST_MEMFD, but doesn't prevent clearing the flag.

Failure to reject the new memslot results in a use-after-free due to KVM not unbinding from the guest_memfd instance. Unbinding on a FLAGS_ONLY change is easy enough, and can/will be done as a hardening measure (in anticipation of KVM supporting dirty logging on guest_memfd at some point), but fixing the use-after-free would only address the immediate symptom.

============== BUG: KASAN: slab-use-after-free in kvm_gmem_release+0x362/0x400 [kvm] Write of size 8 at addr ffff8881111ae908 by task repro/745

CPU: 7 UID: 1000 PID: 745 Comm: repro Not tainted 6.18.0-rc6-115d5de2eef3-next-kasan #3 NONE Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015 Call Trace: <TASK> dump_stack_lvl+0x51/0x60 print_report+0xcb/0x5c0 kasan_report+0xb4/0xe0 kvm_gmem_release+0x362/0x400 [kvm] __fput+0x2fa/0x9d0 task_work_run+0x12c/0x200 do_exit+0x6ae/0x2100 do_group_exit+0xa8/0x230 __x64_sys_exit_group+0x3a/0x50 x64_sys_call+0x737/0x740 do_syscall_64+0x5b/0x900 entry_SYSCALL_64_after_hwframe+0x4b/0x53 RIP: 0033:0x7f581f2eac31 </TASK>

Allocated by task 745 on cpu 6 at 9.746971s: kasan_save_stack+0x20/0x40 kasan_save_track+0x13/0x50 __kasan_kmalloc+0x77/0x90 kvm_set_memory_region.part.0+0x652/0x1110 [kvm] kvm_vm_ioctl+0x14b0/0x3290 [kvm] __x64_sys_ioctl+0x129/0x1a0 do_syscall_64+0x5b/0x900 entry_SYSCALL_64_after_hwframe+0x4b/0x53

Freed by task 745 on cpu 6 at 9.747467s: kasan_save_stack+0x20/0x40 kasan_save_track+0x13/0x50 __kasan_save_free_info+0x37/0x50 __kasan_slab_free+0x3b/0x60 kfree+0xf5/0x440 kvm_set_memslot+0x3c2/0x1160 [kvm] kvm_set_memory_region.part.0+0x86a/0x1110 [kvm] kvm_vm_ioctl+0x14b0/0x3290 [kvm] __x64_sys_ioctl+0x129/0x1a0 do_syscall_64+0x5b/0x900 entry_SYSCALL_64_after_hwframe+0x4b/0x53

Executive ViewAI

Why It Matters

A local privilege escalation vulnerability in the Linux kernel's KVM virtualization subsystem allows hypervisor operators to trigger memory corruption and bypass privilege boundaries. Organizations running KVM-based virtual infrastructure-common in enterprise Linux virtualization and cloud environments-require immediate kernel updates to prevent unauthorized privilege elevation. A vendor patch is available.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel with KVM underpins the vast majority of virtualization and cloud hosts
Data Quality
4 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.0%
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

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.105 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.124 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.1/baremetal-os-container:latest Affected
Container suse/sl-micro/6.1/base-os-container:2.2.1-5.90 Affected

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