CVE-2025-40325

Source
https://cve.org/CVERecord?id=CVE-2025-40325
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40325.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40325
Downstream
Related
Published
2025-04-18T07:01:41.619Z
Modified
2026-03-11T07:46:39.875508Z
Summary
md/raid10: wait barrier before returning discard request with REQ_NOWAIT
Details

In the Linux kernel, the following vulnerability has been resolved:

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

raid10handlediscard should wait barrier before returning a discard bio which has REQNOWAIT. And there is no need to print warning calltrace if a discard bio has REQNOWAIT flag. Quality engineer usually checks dmesg and reports error if dmesg has warning/error calltrace.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40325.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c9aa889b035fca4598ae985a0f0c76ebbb547ad2
Fixed
31ff67982c5fa39c0093b9d9f429fef91c2494b7
Fixed
31d3156efe909b53ba174861a3da880c688f5edc
Fixed
3db4404435397a345431b45f57876a3df133f3b4
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
39db562b3fedb93978a7e42dd216b306740959f8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40325.json"