{"id":"CVE-2025-40325","title":"md/raid10: wait barrier before returning discard request with REQ_NOWAIT","summary":"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.…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 29c742ff222dd39335b927a6909c23b8752a053c","Linux >= c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 31ff67982c5fa39c0093b9d9f429fef91c2494b7","Linux >= c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 31d3156efe909b53ba174861a3da880c688f5edc","Linux >= c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 3db4404435397a345431b45f57876a3df133f3b4","Linux 39db562b3fedb93978a7e42dd216b306740959f8","Linux >= 5.15.111 < 5.16","Linux 5.17"],"published":"2025-04-18","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:37:56.007Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-40325","references":[{"url":"https://git.kernel.org/stable/c/29c742ff222dd39335b927a6909c23b8752a053c"},{"url":"https://git.kernel.org/stable/c/31ff67982c5fa39c0093b9d9f429fef91c2494b7"},{"url":"https://git.kernel.org/stable/c/31d3156efe909b53ba174861a3da880c688f5edc"},{"url":"https://git.kernel.org/stable/c/3db4404435397a345431b45f57876a3df133f3b4"}],"tags":["cve.org"],"epss":0.00284,"epssPercentile":0.20784,"ingestedAt":"2026-10-21T12:48:53.680Z","slug":"CVE-2025-40325","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `Linux >= c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 29c742ff222dd39335b927a6909c23b8752a053c`\n- `Linux >= c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 31ff67982c5fa39c0093b9d9f429fef91c2494b7`\n- `Linux >= c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 31d3156efe909b53ba174861a3da880c688f5edc`\n- `Linux >= c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 3db4404435397a345431b45f57876a3df133f3b4`\n- `Linux 39db562b3fedb93978a7e42dd216b306740959f8`\n- `Linux >= 5.15.111 < 5.16`\n- `Linux 5.17`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}