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
    • 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-71069

CVE-2025-71069: Linux Kernel F2FS Cache Vulnerability

CVE-2025-71069 is a dentry cache inconsistency flaw in the Linux kernel F2FS filesystem that occurs during failed whiteout creation, causing stale cache mappings. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-71069 Overview

CVE-2025-71069 is a vulnerability in the Linux kernel's F2FS (Flash-Friendly File System) component that affects the handling of dentry cache during failed whiteout creation operations. The flaw occurs when RENAME_WHITEOUT operations are performed on directories with corrupted directory depth values, leading to inconsistencies between the on-disk state and the VFS dentry cache.

When f2fs_add_link fails during a whiteout creation operation, the function returns an error to VFS after partial directory modifications have already been committed to disk. VFS assumes the entire rename operation failed and does not update the dentry cache, leaving stale mappings that point to freed inodes. This cache inconsistency can trigger kernel warnings and potentially lead to system instability.

Critical Impact

Stale dentry cache entries can cause subsequent file operations to incorrectly reference freed inodes, triggering drop_nlink() warnings and potential system instability on systems using F2FS filesystems.

Affected Products

  • Linux kernel with F2FS filesystem support
  • Systems using F2FS filesystems with corrupted directory structures
  • Linux distributions shipping affected kernel versions

Discovery Timeline

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

Technical Details for CVE-2025-71069

Vulnerability Analysis

This vulnerability stems from a Time-of-Check Time-of-Use (TOCTOU) race condition pattern in the F2FS rename operation handling. The F2FS filesystem allows mounting of filesystems with corrupted i_current_depth values, which get runtime-clamped to MAX_DIR_HASH_DEPTH. This creates a hidden condition where subsequent operations may fail unexpectedly.

The core issue manifests when the f2fs_rename function performs a RENAME_WHITEOUT operation. The function modifies directory entries in a specific sequence: it updates the target entry, deletes the source entry, and then attempts to add the whiteout entry via f2fs_add_link. If the f2fs_add_link call fails due to the corrupted directory structure, the error is returned to VFS, but the partial modifications have already been persisted to disk.

VFS, upon receiving the error, does not invoke d_move() to update the dentry cache. This leaves new_dentry pointing to the old inode (new_inode) that has already had its i_nlink decremented to zero. Subsequent rename operations targeting the same entry attempt to decrement i_nlink on an inode that already has i_nlink=0, triggering a kernel WARNING in the drop_nlink() function.

Root Cause

The root cause is the lack of dentry cache invalidation in the error handling path of f2fs_rename when f2fs_add_link fails during whiteout creation. The function commits partial directory modifications to disk before attempting operations that may fail, without implementing proper rollback or cache synchronization mechanisms when those subsequent operations fail.

The corrupted i_current_depth value in the filesystem metadata triggers the failure in f2fs_add_link, but the fundamental issue is that F2FS does not maintain transactional consistency between the on-disk state and the VFS dentry cache during partial failure scenarios.

Attack Vector

An attacker with local filesystem access could potentially exploit this vulnerability by:

  1. Creating or mounting an F2FS filesystem image with a corrupted i_current_depth value
  2. Performing a renameat2() system call with the RENAME_WHITEOUT flag on files within the corrupted directory
  3. Performing subsequent rename operations targeting the same entry
  4. Triggering the drop_nlink() WARNING and potentially causing system instability

The attack requires local access and the ability to mount F2FS filesystems or operate on pre-corrupted F2FS images. The reproduction sequence involves:

  1. Mount F2FS image with corrupted i_current_depth
  2. Execute renameat2(file2, file1, RENAME_WHITEOUT)
  3. Execute renameat2(file3, file1, 0)
  4. System triggers WARNING in drop_nlink()

Detection Methods for CVE-2025-71069

Indicators of Compromise

  • Kernel warning messages containing drop_nlink() function references in system logs
  • F2FS filesystem errors or warnings during rename operations with RENAME_WHITEOUT flag
  • Unexpected behavior during file operations on F2FS-mounted filesystems
  • Corrupted directory structures detected during F2FS filesystem checks

Detection Strategies

  • Monitor kernel logs (dmesg, /var/log/kern.log) for WARNING messages related to drop_nlink() or F2FS rename operations
  • Audit renameat2() system calls with RENAME_WHITEOUT flag on F2FS filesystems using kernel tracing tools
  • Implement filesystem integrity checks to detect corrupted i_current_depth values in F2FS metadata
  • Use security monitoring tools to detect unusual patterns of rename operations targeting the same files

Monitoring Recommendations

  • Enable kernel audit logging for filesystem operations on F2FS mounts
  • Configure SentinelOne agents to monitor for kernel panic or warning events related to filesystem operations
  • Implement periodic F2FS filesystem integrity scans using fsck.f2fs
  • Monitor for attempts to mount potentially corrupted F2FS filesystem images

How to Mitigate CVE-2025-71069

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the fix for CVE-2025-71069
  • Run filesystem integrity checks on all F2FS filesystems using fsck.f2fs before mounting
  • Consider temporarily avoiding use of F2FS filesystems from untrusted sources
  • Review system logs for any evidence of exploitation attempts

Patch Information

The fix addresses this vulnerability by explicitly invalidating old_dentry and new_dentry when f2fs_add_link fails during whiteout creation. This forces VFS to refresh from disk on subsequent operations, ensuring cache consistency even when the rename partially succeeds.

Multiple kernel patches have been released to address this issue. The fixes are available via the following kernel Git commits:

  • Kernel Git Commit 0dde307
  • Kernel Git Commit 3d65e27
  • Kernel Git Commit 64587ab
  • Kernel Git Commit c89845f
  • Kernel Git Commit d33f89b

Workarounds

  • Avoid mounting F2FS filesystems from untrusted or potentially corrupted sources
  • Use fsck.f2fs to check and repair F2FS filesystems before mounting
  • Consider using alternative filesystems (ext4, XFS) for sensitive operations until patches are applied
  • Implement strict access controls to limit which users can mount F2FS filesystems
bash
# Check F2FS filesystem integrity before mounting
fsck.f2fs -a /dev/sdX1

# Mount F2FS with read-only option for untrusted sources
mount -t f2fs -o ro /dev/sdX1 /mnt/f2fs

# Check kernel version to verify patch status
uname -r

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

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

  • Kernel Git Commit Details

  • Kernel Git Commit Details

  • Kernel Git Commit Details

  • Kernel Git Commit Details
  • Related CVEs
  • CVE-2026-23457: Linux Kernel Integer Truncation Vulnerability

  • CVE-2026-23442: Linux Kernel IPv6 SRv6 Null Pointer Flaw

  • CVE-2026-23431: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31391: Linux Kernel Atmel SHA204A OOM 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