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

CVE-2025-71225: Linux Kernel Privilege Escalation Flaw

CVE-2025-71225 is a privilege escalation vulnerability in the Linux kernel's md subsystem affecting RAID array management. The flaw can lead to memory corruption during disk updates. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: February 20, 2026

CVE-2025-71225 Overview

A race condition vulnerability has been identified in the Linux kernel's MD (Multiple Devices) RAID1 subsystem. The vulnerability exists in the raid1_reshape() function where improper synchronization between array freeze operations and I/O error handling can lead to out-of-bounds memory access and memory pool corruption. When updating raid_disks via sysfs, the freeze_array() function may unblock prematurely while queued r1bios allocated with old raid_disks values are still pending release.

Critical Impact

Exploitation of this vulnerability could lead to out-of-bounds memory access in put_all_bios() and memory pool corruption, potentially causing system instability, denial of service, or kernel memory corruption on systems utilizing MD RAID1 arrays.

Affected Products

  • Linux Kernel (MD RAID1 subsystem)
  • Systems utilizing software RAID1 arrays managed via sysfs
  • Linux distributions with affected kernel versions

Discovery Timeline

  • 2026-02-18 - CVE CVE-2025-71225 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2025-71225

Vulnerability Analysis

The vulnerability stems from a race condition in the Linux kernel's MD RAID1 implementation during array reshape operations. When raid1_reshape() is invoked, it calls freeze_array() before modifying the r1bio memory pool (conf->r1bio_pool) and conf->raid_disks, with unfreeze_array() called after the update completes. However, the synchronization mechanism is insufficient because freeze_array() only waits until nr_sync_pending and the difference between nr_pending and nr_queued across all buckets reaches zero.

The problem manifests when I/O errors occur during this window. When an I/O error happens, nr_queued is incremented and the corresponding r1bio structure is queued to either retry_list or bio_end_io_list. This allows freeze_array() to return before these queued r1bios are properly released, creating a dangerous race condition.

Root Cause

The root cause is improper synchronization in the array freeze mechanism. The freeze_array() function does not account for r1bios that have been queued due to I/O errors but not yet released. This oversight means that when conf->raid_disks and the memory pool are updated, there may still be outstanding r1bios allocated with the old raid_disks value. When free_r1bio() is subsequently called on these stale structures, it accesses memory out of bounds in put_all_bios() and returns incorrectly sized r1bios to the new memory pool.

Attack Vector

The vulnerability can be triggered through the sysfs interface when updating raid_disks on an active RAID1 array, particularly when I/O errors occur simultaneously. While updating raid_disks via ioctl SET_ARRAY_INFO already suspends the array, the sysfs path did not implement this protection, leaving a window for exploitation.

The attack scenario involves:

  1. An attacker or normal system operation triggers raid_disks update via sysfs on a RAID1 array
  2. Concurrent I/O operations encounter errors, causing r1bios to be queued
  3. freeze_array() returns prematurely while queued r1bios are pending
  4. The memory pool and raid_disks configuration are updated
  5. When the stale r1bios are freed, out-of-bounds memory access occurs

This vulnerability requires local access and the ability to manipulate RAID array configurations, limiting the attack surface to privileged users or processes with sysfs access to MD device configurations.

Detection Methods for CVE-2025-71225

Indicators of Compromise

  • Kernel panic or oops messages referencing free_r1bio(), put_all_bios(), or MD RAID functions
  • Slab corruption warnings or memory pool errors in kernel logs related to r1bio_pool
  • Unexpected system crashes or hangs when modifying RAID1 array configurations
  • Memory corruption indicators in dmesg output during RAID reshape operations

Detection Strategies

  • Monitor kernel logs for memory corruption messages involving MD RAID subsystem functions
  • Implement audit rules to track sysfs writes to /sys/block/md*/md/raid_disks
  • Deploy kernel tracing to detect concurrent I/O errors during array reshape operations
  • Use memory debugging tools like KASAN to detect out-of-bounds access in kernel memory

Monitoring Recommendations

  • Enable kernel memory debugging features in development and test environments
  • Monitor system logs for MD RAID-related errors during configuration changes
  • Implement alerting for unexpected RAID array state changes or degradation
  • Track kernel module and subsystem errors that may indicate memory corruption

How to Mitigate CVE-2025-71225

Immediate Actions Required

  • Apply the kernel patches provided in the referenced git commits
  • Use ioctl SET_ARRAY_INFO instead of sysfs for updating raid_disks as it already implements proper array suspension
  • Avoid modifying raid_disks on active arrays during high I/O load periods
  • Schedule RAID configuration changes during maintenance windows with reduced I/O activity

Patch Information

The Linux kernel maintainers have released patches that suspend the array when updating raid_disks via sysfs, aligning the behavior with the ioctl SET_ARRAY_INFO path. The fix ensures that normal I/O operations that might increase nr_queued during I/O errors are properly blocked before the memory pool and configuration are modified.

Relevant patches are available at:

  • Kernel Git Commit Update
  • Kernel Git Commit Change
  • Kernel Git Commit Fix

Workarounds

  • Use ioctl interface via mdadm for RAID configuration changes instead of direct sysfs manipulation
  • Implement administrative controls to prevent concurrent I/O and configuration changes on MD arrays
  • Consider temporarily disabling sysfs-based RAID management on production systems until patched
  • Quiesce I/O to the array before making any configuration changes via sysfs

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

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

  • Kernel Git Commit Change

  • Kernel Git Commit Fix
  • Related CVEs
  • CVE-2026-31411: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-23438: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-23439: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-23437: Linux Kernel Privilege Escalation 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