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

CVE record · `CVE-2025-40325`

- **Identifiers:** `CVE-2025-40325`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Apr 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Apr 2025, 07:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to before 9fd04328b37b6b911c2556f6dd2625a58c3c30db` (git)
  - affected: `c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to before 29c742ff222dd39335b927a6909c23b8752a053c` (git)
  - affected: `c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to before 31ff67982c5fa39c0093b9d9f429fef91c2494b7` (git)
  - affected: `c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to before 31d3156efe909b53ba174861a3da880c688f5edc` (git)
  - affected: `c9aa889b035fca4598ae985a0f0c76ebbb547ad2 to before 3db4404435397a345431b45f57876a3df133f3b4` (git)
  - affected: `39db562b3fedb93978a7e42dd216b306740959f8` (git)
  - affected: `5.15.111 to before 5.16` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.17`
  - unaffected: `before 5.17` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.160 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.64 to 6.12.*, inclusive` (semver)
  - unaffected: `6.14.2 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> CVE-2025-40325 affects the Linux kernel's md/raid10 driver in versions from commit c9aa889b035fca4598ae985a0f0c76ebbb547ad2 until the fixes listed by the CNA, and is fixed in 6.1.191, 6.6.160, 6.12.64, and 6.14.2 and later stable releases. The source gives few details: a discard request marked REQ_NOWAIT was returned without waiting on the barrier, and a warning trace was printed for it. No attack requirements or impact are described, and no severity is given. Upgrade to a fixed kernel version for your branch.

Written 13 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0029, the 22nd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 18 Apr 2025, 07:01 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-40325)
- 18 Apr 2025, 07:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-40325)

## Sources

- [CVE List: CVE-2025-40325](https://www.cve.org/CVERecord?id=CVE-2025-40325)
- [NVD: CVE-2025-40325](https://nvd.nist.gov/vuln/detail/CVE-2025-40325)

### References from the CNA

- <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>
- <https://git.kernel.org/stable/c/3db4404435397a345431b45f57876a3df133f3b4>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-40325>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-40325/>. Everything for agents: <https://agentprime.io/llms.txt>.
