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-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 filesystem that creates dangling pointers during xattr repair operations. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-68784 Overview

CVE-2025-68784 is a Use-After-Free (UAF) vulnerability in the Linux kernel's XFS filesystem subsystem, specifically within the extended attribute (xattr) repair functionality. The vulnerability occurs in the xchk_setup_xattr_buf function, which can allocate a new value buffer during xattr scrub operations. When this reallocation occurs, any existing reference to ab->value that was obtained before the function call becomes a dangling pointer, potentially leading to memory corruption or system instability.

Critical Impact

Local attackers with access to XFS filesystem repair operations could potentially exploit this Use-After-Free condition to cause system crashes, corrupt memory, or potentially achieve privilege escalation through memory manipulation.

Affected Products

  • Linux kernel with XFS filesystem support
  • Systems running XFS filesystem scrub/repair utilities
  • Linux distributions with affected kernel versions

Discovery Timeline

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

Technical Details for CVE-2025-68784

Vulnerability Analysis

This Use-After-Free vulnerability exists within the XFS filesystem's online scrub and repair mechanism. The XFS scrub infrastructure (xchk) provides runtime verification and repair capabilities for XFS filesystem metadata. During extended attribute repair operations, the xchk_setup_xattr_buf function manages buffer allocation for storing xattr values.

The core issue stems from improper memory reference management. When code obtains a reference to the ab->value buffer and subsequently calls xchk_setup_xattr_buf, the function may determine that a larger buffer is needed and allocate new memory. This reallocation invalidates the previously stored pointer, creating a classic dangling pointer scenario. Any subsequent access through the original reference accesses freed memory, constituting a Use-After-Free condition.

Root Cause

The root cause is an incorrect ordering of operations in the xattr repair code path. A pointer assignment to ab->value was performed before the call to xchk_setup_xattr_buf, which could reallocate the underlying buffer. The fix involves moving the assignment to occur after the buffer setup completes, ensuring the pointer always references valid, current memory.

Attack Vector

The attack vector requires local access to trigger XFS filesystem scrub operations. An attacker would need to:

  1. Have access to a system with XFS filesystems mounted
  2. Be able to trigger xattr scrub/repair operations (typically requires elevated privileges or specific filesystem conditions)
  3. Craft or encounter filesystem conditions that cause buffer reallocation during xattr repair

The vulnerability is exploitable during filesystem maintenance operations. While direct exploitation is constrained by the requirement for filesystem repair triggers, UAF vulnerabilities in kernel code can potentially be leveraged for privilege escalation through memory corruption techniques such as heap spraying or object reuse attacks.

Detection Methods for CVE-2025-68784

Indicators of Compromise

  • Unexpected kernel panics or system crashes during XFS filesystem operations
  • Memory corruption errors in kernel logs related to XFS or xattr subsystems
  • Unusual behavior during xfs_scrub or xfs_repair operations
  • Kernel oops messages referencing XFS scrub functions

Detection Strategies

  • Monitor system logs for XFS-related kernel warnings or errors using dmesg filtering
  • Deploy kernel address sanitizer (KASAN) builds in test environments to detect UAF conditions
  • Implement file integrity monitoring on critical XFS filesystems
  • Use SentinelOne's behavioral AI to detect anomalous kernel memory access patterns

Monitoring Recommendations

  • Enable kernel audit logging for filesystem maintenance operations
  • Configure alerting on unexpected kernel module crashes or restarts
  • Monitor for unusual xfs_scrub or repair process behavior
  • Review kernel ring buffer logs regularly for XFS subsystem anomalies

How to Mitigate CVE-2025-68784

Immediate Actions Required

  • Update to a patched Linux kernel version containing the fix
  • Limit access to XFS filesystem repair utilities to trusted administrators only
  • Consider temporarily disabling automatic XFS scrub operations until patched
  • Review and restrict CAP_SYS_ADMIN capabilities on affected systems

Patch Information

The vulnerability has been resolved through commits to the Linux kernel stable branches. The fix relocates the ab->value assignment to occur after the xchk_setup_xattr_buf function call, ensuring pointer validity. Patches are available through the following kernel git commits:

  • Kernel Git Commit 1e2d3aa19c79
  • Kernel Git Commit 5990fd756943
  • Kernel Git Commit d29ed9ff972a

System administrators should update to kernel versions containing these commits or apply distribution-specific security updates.

Workarounds

  • Restrict execution of xfs_scrub and xfs_repair utilities to essential maintenance windows
  • Implement access controls to prevent unauthorized users from triggering filesystem repair
  • Consider using alternative filesystems for highly sensitive workloads until patching is complete
  • Enable kernel lockdown mode where applicable to limit kernel attack surface
bash
# Restrict xfs_scrub execution to root only
chmod 700 /usr/sbin/xfs_scrub
chmod 700 /usr/sbin/xfs_repair

# 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 Change

  • Kernel Git Commit Change

  • Kernel Git Commit Change
  • 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