Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-71065

CVE-2025-71065: Linux Kernel Race Condition Vulnerability

CVE-2025-71065 is a race condition flaw in the Linux kernel that can cause potential deadlock scenarios in the f2fs filesystem. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-71065 Overview

A deadlock vulnerability exists in the Linux kernel's f2fs (Flash-Friendly File System) implementation. The issue arises from improper lock ordering between four distinct locks: fs_reclaim, sb_internal, cp_rwsem, and the lock used by f2fs_record_errors. When specific code paths are executed concurrently across multiple CPUs, a circular dependency can form, resulting in a system deadlock that causes denial of service.

Critical Impact

This vulnerability can cause complete system hang through deadlock conditions in the Linux kernel's f2fs filesystem, affecting system availability and requiring a hard reboot to recover.

Affected Products

  • Linux kernel with f2fs filesystem support
  • Systems using f2fs for storage (common in Android devices and flash storage)
  • Linux kernel versions prior to the security patches

Discovery Timeline

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

Technical Details for CVE-2025-71065

Vulnerability Analysis

This vulnerability is a classic deadlock condition caused by circular lock dependencies in the f2fs filesystem driver. The deadlock involves a chain of four locks that can be acquired in conflicting orders across different kernel code paths, specifically involving the checkpoint read-write semaphore (&sbi->cp_rwsem), filesystem reclaim lock (fs_reclaim), and superblock internal lock (sb_internal).

The vulnerability was identified by Jiaming Zhang and reported through the syzbot automated testing framework. The deadlock manifests when the kswapd kernel thread attempts memory reclamation while concurrent filesystem operations are in progress. The specific scenario involves inode eviction (f2fs_evict_inode), block truncation (f2fs_do_truncate_blocks), atomic write commits (f2fs_ioc_commit_atomic_write), and error handling paths (f2fs_record_errors).

Root Cause

The root cause is improper lock ordering across multiple f2fs code paths. Four distinct locks are involved in creating a circular dependency:

  1. Lock A (fs_reclaim): Acquired by kswapd during memory pressure scenarios in balance_pgdat
  2. Lock B (sb_start_intwrite/sb_internal): Acquired during inode eviction in f2fs_evict_inode
  3. Lock C (cp_rwsem via f2fs_lock_op): Acquired during block truncation operations
  4. Lock D (f2fs_down_write): Acquired during error recording which may trigger memory allocation

The circular dependency forms when these locks are acquired in different orders across concurrent code paths. For example, kswapd holds fs_reclaim then requests sb_internal, while another CPU holds sb_internal and requests cp_rwsem, creating an unresolvable wait cycle.

Attack Vector

The deadlock can be triggered through normal filesystem operations under memory pressure conditions. The attack vector involves:

  1. A system experiencing memory pressure, activating the kswapd kernel thread
  2. Concurrent filesystem operations on f2fs-mounted volumes, particularly atomic write commits or file truncation operations
  3. Error conditions that trigger the f2fs_handle_error path, which calls f2fs_record_errors

The vulnerability is primarily a denial of service condition. An attacker with local access could potentially craft specific workloads to trigger the deadlock condition, causing the system to hang. This is especially concerning for Android devices where f2fs is commonly used.

The call trace from the syzbot report shows the deadlock occurring through:

  • kswapd → shrink_slab → super_cache_scan → prune_icache_sb → f2fs_evict_inode → f2fs_truncate_blocks → f2fs_do_truncate_blocks → f2fs_lock_op

Detection Methods for CVE-2025-71065

Indicators of Compromise

  • System hangs or becomes unresponsive while performing f2fs filesystem operations
  • Kernel lockdep warnings indicating circular locking dependencies involving f2fs locks
  • Process states showing multiple kernel threads in uninterruptible sleep (D state) related to f2fs operations
  • Kernel log messages showing "possible circular locking dependency detected" with references to cp_rwsem, fs_reclaim, or sb_internal

Detection Strategies

  • Enable kernel lockdep debugging (CONFIG_LOCKDEP=y) to detect potential deadlock scenarios before they occur in production
  • Monitor for kernel log entries containing "deadlock" or "circular locking" alongside f2fs-related functions
  • Implement watchdog mechanisms to detect and alert on system hangs
  • Use SentinelOne's kernel-level monitoring capabilities to detect abnormal lock acquisition patterns

Monitoring Recommendations

  • Configure kernel logging to capture lockdep warnings and deadlock detection messages
  • Monitor system responsiveness metrics to detect potential deadlock conditions early
  • Track f2fs-related kernel process states for unusual patterns of uninterruptible sleep
  • Enable audit logging for f2fs mount operations and filesystem activities

How to Mitigate CVE-2025-71065

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the deadlock fix
  • Monitor systems using f2fs for signs of system hangs or unresponsiveness
  • Consider temporarily switching to alternative filesystems (ext4, xfs) for critical workloads if immediate patching is not possible
  • Implement system monitoring and automatic restart mechanisms to recover from potential deadlock conditions

Patch Information

The Linux kernel developers have released patches to address this deadlock vulnerability. The fix modifies the lock acquisition order in the f2fs filesystem driver to prevent the circular dependency from forming. Multiple kernel git commits address this issue:

  • Kernel Git Commit 6c3bab5c6261
  • Kernel Git Commit 86a85a7b622e
  • Kernel Git Commit 8bd6dff8b801
  • Kernel Git Commit ca8b201f2854

Organizations should apply these patches or upgrade to a kernel version that includes them as soon as possible.

Workarounds

  • Reduce memory pressure on systems using f2fs to minimize the likelihood of triggering the kswapd code path during critical filesystem operations
  • Limit concurrent filesystem operations on f2fs volumes where possible
  • Configure swap and memory management to reduce aggressive memory reclamation
  • For Android devices, consider using ext4 for critical partitions until patches are deployed
bash
# Check current kernel version for patch status
uname -r

# Monitor for deadlock-related kernel messages
dmesg | grep -i "deadlock\|circular"

# Check if f2fs is in use on the system
mount | grep f2fs

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

  • Vulnerability Details
  • TypeRace Condition

  • 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

  • Kernel Git Commit Update
  • Related CVEs
  • CVE-2026-23440: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23434: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23436: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23463: Linux Kernel QBMAN Race Condition Flaw
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