The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-68810

CVE-2025-68810: Linux Kernel Use-After-Free Vulnerability

CVE-2025-68810 is a use-after-free vulnerability in the Linux kernel's KVM subsystem that occurs when toggling KVM_MEM_GUEST_MEMFD on existing memslots. This post explains its technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-68810 Overview

A use-after-free vulnerability has been identified in the Linux kernel's KVM (Kernel-based Virtual Machine) subsystem. The flaw exists in the handling of KVM_MEM_GUEST_MEMFD flag toggling on existing memory slots. When a memslot is initially created with a guest_memfd binding, KVM incorrectly allows the KVM_MEM_GUEST_MEMFD flag to be cleared on subsequent operations, even though KVM properly prevents enabling this flag on existing slots. This inconsistent validation leads to a use-after-free condition when KVM fails to unbind from the guest_memfd instance during the flag change.

Critical Impact

This vulnerability can lead to memory corruption through a use-after-free condition in kvm_gmem_release(), potentially allowing an attacker with local VM management privileges to crash the system or achieve code execution in kernel context.

Affected Products

  • Linux Kernel (KVM subsystem with guest_memfd support)

Discovery Timeline

  • 2026-01-13 - CVE CVE-2025-68810 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2025-68810

Vulnerability Analysis

The vulnerability resides in KVM's memory slot management code, specifically in the validation logic for FLAGS_ONLY changes to existing memslots. When a memory slot is created with KVM_MEM_GUEST_MEMFD enabled, KVM establishes a binding to a guest_memfd file descriptor. The validation logic correctly prevents adding this flag to an existing memslot, but fails to prevent clearing the flag from a memslot that was originally created with it.

When the flag is cleared without proper unbinding, the guest_memfd instance maintains stale references to the memslot. Upon the guest_memfd file being released (via kvm_gmem_release()), it attempts to access the already-freed memslot memory, resulting in a slab-use-after-free condition as detected by KASAN.

Root Cause

The root cause is incomplete input validation in the memslot update path. While KVM's code path includes logic to prevent enabling KVM_MEM_GUEST_MEMFD on existing memslots, it lacks symmetric validation to prevent disabling the flag. This asymmetric check allows an attacker to modify memslot flags in a way that creates dangling references between the memslot and its associated guest_memfd binding.

Attack Vector

The attack requires local access to a system with KVM virtualization and the ability to manage virtual machines. An attacker would:

  1. Create a memory slot with KVM_MEM_GUEST_MEMFD enabled, establishing a binding to a guest_memfd instance
  2. Issue a KVM_SET_USER_MEMORY_REGION ioctl with FLAGS_ONLY change to clear the KVM_MEM_GUEST_MEMFD flag
  3. The memslot is freed and reallocated, but the guest_memfd binding remains
  4. When the guest_memfd file is closed, kvm_gmem_release() accesses the freed memslot, triggering the use-after-free

The KASAN report from the kernel trace shows the vulnerability manifests through the following call chain:

  • kvm_vm_ioctl → kvm_set_memory_region → kvm_set_memslot (frees the memslot)
  • Later: __fput → kvm_gmem_release (accesses freed memory)

Detection Methods for CVE-2025-68810

Indicators of Compromise

  • KASAN slab-use-after-free reports in kernel logs involving kvm_gmem_release function
  • Kernel crashes or panics during VM shutdown or guest_memfd file descriptor cleanup
  • Unexpected write operations to freed memory addresses in KVM module context
  • System instability when managing VMs with guest memory file descriptor bindings

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) to detect use-after-free conditions in the KVM subsystem
  • Monitor system logs for kernel oops or BUG reports referencing kvm_gmem_release, kvm_set_memslot, or related KVM memory management functions
  • Implement audit logging for KVM_SET_USER_MEMORY_REGION ioctl calls with flags modifications
  • Deploy endpoint detection solutions capable of monitoring kernel-level memory corruption events

Monitoring Recommendations

  • Configure kernel crash dump collection to capture debugging information for KVM-related crashes
  • Monitor for unusual patterns of memslot flag modifications through VM management interfaces
  • Implement alerting on KASAN reports in production environments where the sanitizer is enabled
  • Review audit logs for processes making frequent memslot modification calls

How to Mitigate CVE-2025-68810

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the fix for this vulnerability
  • Review and audit any custom or third-party code that manages KVM memory slots with guest_memfd bindings
  • Consider disabling guest_memfd functionality if not required in your virtualization environment
  • Restrict access to KVM management interfaces to trusted users and processes only

Patch Information

The Linux kernel development team has released patches to address this vulnerability. The fix adds proper validation to reject attempts to clear the KVM_MEM_GUEST_MEMFD flag on memslots that were originally created with a guest_memfd binding.

The following kernel commits contain the fix:

  • Kernel Git Commit 89dbbe6ff323
  • Kernel Git Commit 9935df5333aa
  • Kernel Git Commit cb51bef465d8

Workarounds

  • Restrict access to /dev/kvm device to minimize the attack surface
  • Apply mandatory access control (SELinux/AppArmor) policies to limit which processes can perform KVM ioctls
  • Avoid using guest_memfd functionality until the system is patched
  • Consider running VMs in isolated environments where untrusted users cannot access VM management interfaces
bash
# Restrict access to KVM device as a temporary measure
chmod 600 /dev/kvm
chown root:kvm /dev/kvm

# Verify current kernel version
uname -r

# Check for available kernel updates (Debian/Ubuntu)
apt update && apt list --upgradable | grep linux-image

# Check for available kernel updates (RHEL/CentOS)
yum check-update kernel

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit Update

  • Kernel Git Commit Update

  • Kernel Git Commit Update
  • Related CVEs
  • CVE-2026-23462: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23458: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23435: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23456: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English