CVE-2025-40325

published 18 Apr 2025 · updated 17 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9fd04328b37b6b911c2556f6dd2625a58c3c30db, Kernel 6.14.2, Kernel 29c742ff222dd39335b927a6909c23b8752a053c and 7 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <9fd04328b37b6b911c2556f6dd2625a58c3c30db, >=5.17 <6.14.2, >=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <29c742ff222dd39335b927a6909c23b8752a053c, >=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <31d3156efe909b53ba174861a3da880c688f5edc, >=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <31ff67982c5fa39c0093b9d9f429fef91c2494b7, >=c9aa889b035fca4598ae985a0f0c76ebbb547ad2 <3db4404435397a345431b45f57876a3df133f3b4, >=5.15.111 <5.16, =39db562b3fedb93978a7e42dd216b306740959f8, =5.179fd04328b37b6b911c2556f6dd2625a58c3c30db, 6.14.2, 29c742ff222dd39335b927a6909c23b8752a053c, 31d3156efe909b53ba174861a3da880c688f5edc, 31ff67982c5fa39c0093b9d9f429fef91c2494b7, 3db4404435397a345431b45f57876a3df133f3b4, 5.16
linux-kernel: Kernel>=5.15.111 <5.16, >=5.17.0 <6.1.191, >=6.13.0 <6.14.2, >=6.2.0 <6.6.160, >=6.7.0 <6.12.645.16, 6.1.191, 6.14.2, 6.6.160, 6.12.64

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40325 severity on Zeptric[![CVE-2025-40325](https://zeptric.io/badge/cve/CVE-2025-40325.svg)](https://zeptric.io/cve/CVE-2025-40325)