{"id":"CVE-2025-40325","summary":"md/raid10: wait barrier before returning discard request with REQ_NOWAIT","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: wait barrier before returning discard request with REQ_NOWAIT\n\nraid10_handle_discard should wait barrier before returning a discard bio\nwhich has REQ_NOWAIT. And there is no need to print warning calltrace\nif a discard bio has REQ_NOWAIT flag. Quality engineer usually checks\ndmesg and reports error if dmesg has warning/error calltrace.","modified":"2026-04-02T12:48:22.401374Z","published":"2025-04-18T07:01:41.619Z","related":["CGA-4wr9-8wph-76r4","SUSE-SU-2025:01919-1","SUSE-SU-2025:01951-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:01967-1","SUSE-SU-2025:01972-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40325.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/31d3156efe909b53ba174861a3da880c688f5edc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/31ff67982c5fa39c0093b9d9f429fef91c2494b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3db4404435397a345431b45f57876a3df133f3b4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40325.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40325"},{"type":"PACKAGE","url":"https://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"},{"last_affected":"39db562b3fedb93978a7e42dd216b306740959f8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40325.json"}}],"schema_version":"1.7.5"}