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

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.

Classification

CVE ID: CVE-2025-40325

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 3.27% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-40325
https://git.kernel.org/stable/c/31d3156efe909b53ba174861a3da880c688f5edc
https://git.kernel.org/stable/c/3db4404435397a345431b45f57876a3df133f3b4

Timeline