CVE-2025-40325

md/raid10: wait barrier before returning discard request with REQ_NOWAIT

MEDIUM
5.5
CVSS Score
Published: April 18, 2025 at 07:01 AM UTC
Updated: October 30, 2026 at 01:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: md/raid10: wait barrier before returning discard request with REQ_NOWAIT raid10_handle_discard should wait barrier before returning a discard bio which has REQ_NOWAIT. And there is no need to print warning calltrace if a discard bio has REQ_NOWAIT flag. Quality engineer usually checks dmesg and reports error if dmesg has warning/error calltrace.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15.111 ≤ v < 5.165.17 ≤ v < 6.14.239db562b3fedb93978a7e42dd216b306740959f85.15.1115.17c9aa889b035fca4598ae985a0f0c76ebbb547ad2
Vendor states this is fixed in 31d3156efe909b53ba174861a3da880c688f5edc (fixed)
Vendor states this is fixed in 31ff67982c5fa39c0093b9d9f429fef91c2494b7 (fixed)
Vendor states this is fixed in 3db4404435397a345431b45f57876a3df133f3b4 (fixed)
Affected range stops below 5.16, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 6.12.64 (unaffected)
Vendor states this is fixed in 6.14.2 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.160 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card