What’s Vulnerable › Vulnerabilities
CVE-2025-40325: md/raid10: wait barrier before returning discard request with REQ_NOWAIT
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-18 · updated 2026-10-30
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 products
- Linux kernel: from 5.15.111 before 5.16; from 5.17 before 6.14.2 — fixed in 5.16, 6.14.2
- Linux: from 5.15.111 before 5.16 — fixed in 5.16
How to fix
Upgrade to a fixed version: Linux kernel 5.16, 6.14.2; Linux 5.16. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/29c742ff222dd39335b927a6909c23b8752a053c
- https://git.kernel.org/stable/c/31d3156efe909b53ba174861a3da880c688f5edc
- https://git.kernel.org/stable/c/31ff67982c5fa39c0093b9d9f429fef91c2494b7
- https://git.kernel.org/stable/c/3db4404435397a345431b45f57876a3df133f3b4
- https://git.kernel.org/stable/c/9fd04328b37b6b911c2556f6dd2625a58c3c30db
Get alerted when CVE-2025-40325 or the next vulnerability affects your stack