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

CVE-2025-40325: Linux Kernel RAID10 DOS Vulnerability

CVE-2025-40325 is a denial of service flaw in Linux Kernel RAID10 affecting discard request handling with REQ_NOWAIT. This article covers the technical details, affected kernel versions, impact, and mitigation strategies.

Published: May 26, 2026

CVE-2025-40325 Overview

CVE-2025-40325 affects the Linux kernel's md/raid10 subsystem. The vulnerability resides in the raid10_handle_discard function, which fails to wait on a barrier before returning a discard bio carrying the REQ_NOWAIT flag. The flaw also produces spurious warning call traces in dmesg for discard bios that legitimately carry REQ_NOWAIT, polluting kernel logs and triggering quality engineering alarms during validation.

Linux kernel maintainers have merged fixes in commits 31d3156efe90, 31ff67982c5f, and 3db440443539 on git.kernel.org. The issue requires local access and impacts availability of RAID10 storage operations.

Critical Impact

Local users issuing discard operations against RAID10 devices can trigger improper barrier handling and noisy warning traces, undermining storage stack reliability and observability.

Affected Products

  • Linux Kernel (md/raid10 subsystem) prior to fix commit 31d3156efe909b53ba174861a3da880c688f5edc
  • Linux Kernel stable branches patched by commit 3db4404435397a345431b45f57876a3df133f3b4
  • Linux Kernel stable branches patched by commit 31ff67982c5fa39c0093b9d9f429fef91c2494b7

Discovery Timeline

  • 2025-04-18 - CVE-2025-40325 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-40325

Vulnerability Analysis

The vulnerability resides in raid10_handle_discard, the function that processes discard (TRIM/UNMAP) requests on multi-device RAID10 arrays. When a discard bio enters this path with the REQ_NOWAIT flag set, the caller indicates it cannot tolerate blocking. The original implementation returned the bio without first waiting on the raid10 barrier, leaving the request in an inconsistent state relative to in-flight reconfiguration or reshape operations.

The code path additionally emitted a warning call trace whenever a discard bio carried REQ_NOWAIT. Because quality engineering pipelines parse dmesg for warning and error traces, the noise generated false-positive failures during routine storage testing and obscured legitimate kernel issues. The defect is classified under [NVD-CWE-noinfo] pending further categorization.

Root Cause

The root cause is missing synchronization between the REQ_NOWAIT discard return path and the raid10 personality barrier. The wait_barrier call was not invoked before completion, breaking the invariant that discard bios participate in barrier ordering. The unconditional WARN on REQ_NOWAIT discards compounded the problem by treating an expected condition as anomalous.

Attack Vector

Exploitation requires local access with privileges sufficient to issue discard operations against an md RAID10 device. An attacker, or an unprivileged workload using filesystems that propagate REQ_NOWAIT discards, can trigger the unsynchronized return path and cause availability impact on the storage subsystem. The CVSS vector AV:L/AC:L/PR:L/UI:N reflects local, low-complexity access with low privileges. The vulnerability mechanism is described in the upstream kernel commits referenced below; no public proof-of-concept exploit code is available.

See the kernel fix commit 31d3156e and kernel fix commit 3db44044 for the authoritative technical change.

Detection Methods for CVE-2025-40325

Indicators of Compromise

  • Warning call traces in dmesg referencing raid10_handle_discard paired with discard bios carrying REQ_NOWAIT.
  • Unexpected I/O latency or stalls on md RAID10 arrays during discard-heavy workloads such as fstrim or filesystem mount-time discard.
  • Kernel log entries from the md/raid10 subsystem coinciding with reshape, resync, or reconfiguration activity.

Detection Strategies

  • Parse /var/log/kern.log and journalctl -k output for raid10 warning traces and correlate them with discard activity.
  • Compare running kernel versions against distribution advisories that incorporate commits 31d3156e, 31ff6798, and 3db44044.
  • Audit storage stacks for filesystems and block devices issuing REQ_NOWAIT discards on top of md RAID10.

Monitoring Recommendations

  • Forward kernel logs from Linux fleets into a centralized analytics platform and alert on raid10_handle_discard warning patterns.
  • Track md array health metrics through /proc/mdstat and mdadm --detail to identify availability degradation.
  • Monitor block layer counters via iostat and blktrace for anomalous discard completion behavior.

How to Mitigate CVE-2025-40325

Immediate Actions Required

  • Inventory all Linux hosts running md/raid10 arrays and identify kernels that predate the upstream fix commits.
  • Schedule patching for affected hosts using the stable kernel update provided by your Linux distribution.
  • Restrict local shell access on systems hosting RAID10 storage until patches are deployed.

Patch Information

Apply the upstream fixes merged in the following commits on git.kernel.org:

  • Commit 31d3156efe90 - mainline fix adding a wait_barrier call before returning a REQ_NOWAIT discard bio.
  • Commit 31ff67982c5f - stable backport.
  • Commit 3db440443539 - stable backport.

Consult your Linux distribution's security tracker for the exact package version containing these commits and update via the standard package manager.

Workarounds

  • Disable filesystem-level discard (nodiscard mount option) on filesystems backed by md RAID10 until kernels are patched.
  • Avoid issuing fstrim against RAID10-backed volumes on unpatched systems.
  • Where feasible, migrate workloads requiring REQ_NOWAIT discard semantics to patched hosts.
bash
# Verify running kernel and check for the fix commits
uname -r

# Debian/Ubuntu: install the patched kernel package
sudo apt update && sudo apt install --only-upgrade linux-image-generic

# RHEL/CentOS/Rocky: install the patched kernel
sudo dnf update kernel

# Temporary workaround: remount filesystem without discard
sudo mount -o remount,nodiscard /mnt/raid10-volume

# Inspect kernel log for raid10 warning traces
sudo journalctl -k | grep -i raid10_handle_discard

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Kernel Code Change Commit
  • Vendor Resources
  • Kernel Code Change Commit

  • Kernel Code Change Commit
  • Related CVEs
  • CVE-2026-46206: Linux Kernel batman-adv DoS Vulnerability

  • CVE-2026-43492: Linux Kernel MPI Integer Underflow DoS

  • CVE-2026-43491: Linux Kernel QRTR NS DoS Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS 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