A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI 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-68784

CVE-2025-68784: Linux Kernel XFS Use-After-Free Flaw

CVE-2025-68784 is a use-after-free vulnerability in the Linux kernel XFS file system affecting xattr repair operations. This dangling pointer issue could lead to system instability. This article covers technical details, impact, and mitigations.

Updated: May 15, 2026

CVE-2025-68784 Overview

CVE-2025-68784 is a use-after-free (UAF) vulnerability in the Linux kernel's XFS filesystem code, specifically within the extended attribute (xattr) repair routine. The flaw resides in how xchk_setup_xattr_buf allocates a new value buffer. Any reference to ab->value captured before this allocation can become a dangling pointer once the buffer is reallocated. The upstream fix moves the assignment to occur after the buffer setup, eliminating the stale reference. The issue was addressed via three stable kernel commits.

Critical Impact

Triggering the XFS xattr scrub/repair path on a crafted or corrupted filesystem could dereference a freed pointer, leading to kernel memory corruption or denial of service.

Affected Products

  • Linux kernel (XFS filesystem subsystem)
  • Distributions shipping vulnerable XFS scrub/repair code prior to the fix commits
  • Systems using XFS online filesystem repair (xfs_scrub)

Discovery Timeline

  • 2026-01-13 - CVE-2025-68784 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-68784

Vulnerability Analysis

The vulnerability lives in the XFS online repair code path responsible for fixing extended attributes. The xchk_setup_xattr_buf helper is responsible for ensuring a sufficiently large value buffer (ab->value) is available for xattr operations. When the existing buffer is too small, the function frees the old buffer and allocates a new one. The original code captured a pointer to ab->value before invoking this setup function. After reallocation, the captured pointer references freed memory. Subsequent use of the stale pointer constitutes a classic use-after-free condition [CWE-416] within kernel context. The exploitation surface is limited to local actors capable of invoking XFS scrub or mounting a crafted XFS image, but successful triggering corrupts kernel heap state.

Root Cause

The root cause is a stale pointer assignment ordering bug. The code cached ab->value before xchk_setup_xattr_buf could reallocate the buffer. The patch reorders the assignment so the local reference is taken only after buffer setup completes, ensuring the pointer is always valid for the lifetime of its use.

Attack Vector

Exploitation requires local access with the ability to trigger the XFS online repair functionality, typically through xfs_scrub on a mounted XFS filesystem. An attacker who can mount an attacker-controlled XFS image, or influence xattr layout to force buffer expansion during repair, can drive the kernel into the vulnerable code path. Network-based exploitation is not applicable.

No public proof-of-concept exploit is available. The fix is published across kernel stable branches in commits 1e2d3aa19c79, 5990fd756943, and d29ed9ff972a.

Detection Methods for CVE-2025-68784

Indicators of Compromise

  • Unexpected kernel oops or panic messages referencing xchk_setup_xattr_buf or XFS xattr repair functions in dmesg and /var/log/messages.
  • KASAN (Kernel Address Sanitizer) reports flagging use-after-free in the XFS scrub code path on debug kernels.
  • Repeated invocations of xfs_scrub by non-administrative users or unexpected processes.

Detection Strategies

  • Compare installed kernel package versions against distribution security advisories that reference the three upstream commit hashes listed in the kernel.org references.
  • Audit kernels for the presence of the corrected commit (d29ed9ff972afe17c215cab171761d7a15d7063f and backports) using git log against vendor source trees.
  • Run vulnerability scanners with up-to-date OVAL or distribution-specific definitions covering CVE-2025-68784.

Monitoring Recommendations

  • Forward kernel logs to a centralized logging or SIEM platform and alert on XFS subsystem crashes and KASAN traces.
  • Monitor for unauthorized mounts of external XFS images, particularly from removable media or user-writable paths.
  • Track invocations of xfs_scrub and correlate with the executing user identity and host context.

How to Mitigate CVE-2025-68784

Immediate Actions Required

  • Apply the latest stable kernel update from your Linux distribution that includes the fix commits referenced on kernel.org.
  • Reboot affected hosts after kernel updates to load the patched kernel image.
  • Restrict the ability to mount untrusted XFS filesystems by non-root users via udev and mount policy controls.

Patch Information

The vulnerability is resolved upstream in the Linux kernel via the following commits, which move the ab->value assignment to occur after xchk_setup_xattr_buf completes:

  • Kernel commit 1e2d3aa19c79
  • Kernel commit 5990fd756943
  • Kernel commit d29ed9ff972a

Consult your distribution's security tracker (Red Hat, SUSE, Debian, Ubuntu, Oracle) for backported package versions.

Workarounds

  • Disable or restrict execution of xfs_scrub and online XFS repair operations until kernels are patched.
  • Prohibit mounting of untrusted or attacker-supplied XFS images on production hosts.
  • Limit local user access on multi-tenant systems where unprivileged users could trigger filesystem repair logic.
bash
# Check current kernel version and verify patch status
uname -r

# Debian/Ubuntu: update kernel package
sudo apt update && sudo apt upgrade linux-image-$(uname -r | sed 's/-generic//')

# RHEL/CentOS/Rocky/Alma
sudo dnf update kernel

# Restrict xfs_scrub execution to root only
sudo chmod 750 /usr/sbin/xfs_scrub

# Reboot to activate the patched kernel
sudo reboot

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

  • EPSS Probability0.03%

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

  • Kernel Git Commit Log

  • Kernel Git Commit Log
  • Related CVEs
  • CVE-2026-46330: Linux Kernel Use-After-Free Vulnerability

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

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

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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