CVE-2025-40325
md/raid10: wait barrier before returning discard request with REQ_NOWAIT
Check your servers for CVE-2025-40325
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40325 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c9aa889b035fca4598ae985a0f0c76ebbb547ad2, before 9fd04328b37b6b911c2556f6dd2625a58c3c30db affected from c9aa889b035fca4598ae985a0f0c76ebbb547ad2, before 29c742ff222dd39335b927a6909c23b8752a053c affected from c9aa889b035fca4598ae985a0f0c76ebbb547ad2, before 31ff67982c5fa39c0093b9d9f429fef91c2494b7 affected from c9aa889b035fca4598ae985a0f0c76ebbb547ad2, before 31d3156efe909b53ba174861a3da880c688f5edc affected from c9aa889b035fca4598ae985a0f0c76ebbb547ad2, before 3db4404435397a345431b45f57876a3df133f3b4 affected 39db562b3fedb93978a7e42dd216b306740959f8 affected from 5.15.111, before 5.16
Other versions: unaffected
|
| Linux |
affected 5.17 unaffected before 5.17 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.64 up to and including 6.12.* unaffected from 6.14.2 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40325 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40325
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-40325
trivy image --scanners vuln IMAGE | grep CVE-2025-40325
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9fd04328b37b6b911c2556f6dd2625a58c3c30db git.kernel.org
- https://git.kernel.org/stable/c/29c742ff222dd39335b927a6909c23b8752a053c git.kernel.org
- https://git.kernel.org/stable/c/31ff67982c5fa39c0093b9d9f429fef91c2494b7 git.kernel.org
- https://git.kernel.org/stable/c/31d3156efe909b53ba174861a3da880c688f5edc git.kernel.org
- https://git.kernel.org/stable/c/3db4404435397a345431b45f57876a3df133f3b4 git.kernel.org
Source: the record CVE-2025-40325 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse