# CVE-2025-40325: md/raid10: wait barrier before returning discard request with REQ_NOWAIT

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-04-18T07:01:41.619Z
- Modified: 2026-11-05T22:17:36.417Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before 9fd04328b37b6b911c2556f6dd2625a58c3c30db; from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before 29c742ff222dd39335b927a6909c23b8752a053c; from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before 31ff67982c5fa39c0093b9d9f429fef91c2494b7; from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before 31d3156efe909b53ba174861a3da880c688f5edc; from c9aa889b035fca4598ae985a0f0c76ebbb547ad2 before 3db4404435397a345431b45f57876a3df133f3b4; 39db562b3fedb93978a7e42dd216b306740959f8; from 5.15.111 before 5.16; 5.17 (not affected: before 5.17; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.64 up to 6.12.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.15.111 before 5.16; from 5.17 before 6.14.2

## References

- <https://git.kernel.org/stable/c/9fd04328b37b6b911c2556f6dd2625a58c3c30db>
- <https://git.kernel.org/stable/c/29c742ff222dd39335b927a6909c23b8752a053c>
- <https://git.kernel.org/stable/c/31ff67982c5fa39c0093b9d9f429fef91c2494b7>
- <https://git.kernel.org/stable/c/31d3156efe909b53ba174861a3da880c688f5edc> (patch)
- <https://git.kernel.org/stable/c/3db4404435397a345431b45f57876a3df133f3b4> (patch)

## Sources

- CVE List: [CVE-2025-40325](https://www.cve.org/CVERecord?id=CVE-2025-40325), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-40325](https://nvd.nist.gov/vuln/detail/CVE-2025-40325), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-40325 · Whole record: https://cve.day/CVE-2025-40325.json · Rebuilt by cve.day 2026-11-25T22:58:56.765Z
