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-37738

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

CVE-2025-37738 is a use-after-free vulnerability in the Linux Kernel ext4 filesystem that can lead to memory corruption. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Updated: May 16, 2026

CVE-2025-37738 Overview

CVE-2025-37738 is a use-after-free vulnerability [CWE-416] in the Linux kernel's ext4 filesystem. The flaw resides in the ext4_xattr_inode_dec_ref_all function, which fails to ignore extended attribute (xattr) entries past the end entry. A local attacker with low privileges can trigger out-of-bounds reads against freed slab memory by crafting a malicious ext4 filesystem image and performing an unlinkat syscall on an inode containing malformed xattrs. The issue was detected by Kernel Address Sanitizer (KASAN) and reproduced on Linux 6.13.0-rc2. Debian Linux 11 is also affected, with patches issued through Debian LTS announcements.

Critical Impact

Local low-privileged attackers can trigger kernel memory corruption in ext4 xattr handling, potentially leading to denial of service or local privilege escalation through use-after-free exploitation.

Affected Products

  • Linux kernel (multiple stable branches, including 6.13.0-rc2 and earlier)
  • Debian Linux 11
  • Distributions shipping unpatched ext4 with the vulnerable ext4_xattr_inode_dec_ref_all code path

Discovery Timeline

  • 2025-05-01 - CVE-2025-37738 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-37738

Vulnerability Analysis

The vulnerability exists in the ext4 extended attribute teardown path. When the kernel evicts an inode and calls ext4_xattr_delete_inode, it iterates over xattr entries to decrement reference counts on associated xattr inodes via ext4_xattr_inode_dec_ref_all. The iteration loop does not validate that the current entry pointer remains within the end boundary of the xattr block. A crafted ext4 image can place malformed xattr entries that cause the loop to read past valid memory, accessing freed struct file slab memory (cache filp, 360-byte region).

The KASAN report shows a slab-use-after-free read of size 4 at offset 196 inside a freed object. The call chain originates from do_unlinkat through evict and ext4_evict_inode, ultimately reaching the unbounded xattr iteration in ext4_xattr_inode_dec_ref_all.

Root Cause

The root cause is missing bounds checking inside the xattr iteration loop in ext4_xattr_inode_dec_ref_all. The function continues processing entries beyond the declared end pointer when xattr metadata is malformed. This permits the kernel to dereference attacker-influenced memory addresses that may correspond to freed slab objects, producing a use-after-free condition.

Attack Vector

Exploitation requires local access and the ability to mount or interact with a malicious ext4 filesystem image, or to manipulate xattrs on an existing filesystem in a way that bypasses validation. The attacker triggers an unlink operation on an inode with crafted xattrs. The resulting use-after-free read can be developed into an information leak or, with additional heap grooming, a write primitive enabling privilege escalation. The vulnerability does not require user interaction or network access.

No public proof-of-concept exploit is currently available. See the Linux kernel commit fix for the patch implementing the end boundary check.

Detection Methods for CVE-2025-37738

Indicators of Compromise

  • KASAN reports referencing ext4_xattr_inode_dec_ref_all slab-use-after-free reads in kernel logs
  • Unexpected kernel oopses or panics during unlinkat syscalls on ext4 volumes
  • Mount events for untrusted or removable ext4 filesystem images by non-administrative users
  • Repeated process crashes immediately following filesystem operations on suspicious inodes

Detection Strategies

  • Enable KASAN on test or staging kernels to surface use-after-free triggers during filesystem fuzzing or regression testing
  • Audit dmesg and /var/log/kern.log for stack traces containing ext4_xattr_inode_dec_ref_all or ext4_xattr_delete_inode
  • Monitor auditd for mount syscalls referencing user-supplied filesystem images and correlate with subsequent kernel warnings

Monitoring Recommendations

  • Forward kernel ring buffer events to a centralized logging platform and alert on KASAN, BUG, or Oops markers
  • Track installed kernel package versions across the fleet and flag hosts running unpatched ext4 code
  • Watch for non-root users invoking mount, unshare, or container runtimes that expose ext4 image mounting capabilities

How to Mitigate CVE-2025-37738

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the kernel.org stable commits and reboot affected hosts
  • Update Debian 11 systems per the Debian LTS announcement and the follow-up advisory
  • Restrict unprivileged users from mounting arbitrary filesystem images by tightening CAP_SYS_ADMIN, user namespace, and FUSE/loop device permissions

Patch Information

The Linux kernel maintainers issued fixes across multiple stable branches. The corrective commits add bounds validation so that ext4_xattr_inode_dec_ref_all stops processing entries past the end marker. Refer to the upstream commits including 362a90cecd36, 3bc6317033f3, 6aff941cb0f7, 76c365fa7e2a, 836e625b03a6, c8e008b60492, cf9291a3449b, eb59cc31b6ea, and f737418b6de3 on git.kernel.org. Debian users should install the latest linux package from security updates.

Workarounds

  • Disable automatic mounting of removable ext4 media for non-administrative accounts via udev and polkit policies
  • Set kernel.unprivileged_userns_clone=0 to limit user namespace abuse that enables unprivileged filesystem mounting
  • Avoid exposing loopback or FUSE mount capabilities to untrusted workloads and container tenants
bash
# Configuration example: restrict unprivileged mounting and verify kernel version
sudo sysctl -w kernel.unprivileged_userns_clone=0
echo 'kernel.unprivileged_userns_clone=0' | sudo tee /etc/sysctl.d/99-cve-2025-37738.conf

# Debian: apply security updates
sudo apt update && sudo apt install --only-upgrade linux-image-$(uname -r | cut -d- -f3-)

# Verify running kernel after reboot
uname -r

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Debian LTS Announcement

  • Debian LTS Announcement
  • Vendor Resources
  • Linux Kernel Commit Fix

  • Linux Kernel Commit Fix

  • Linux Kernel Commit Fix

  • Linux Kernel Commit Fix

  • Linux Kernel Commit Fix

  • Linux Kernel Commit Fix

  • Linux Kernel Commit Fix

  • Linux Kernel Commit Fix

  • Linux Kernel Commit Fix
  • 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