CVE-2025-40325: Linux kernel · md/raid10: wait barrier before returning discard request with REQ_NOWAIT
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1052.55~22.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1052.55~22.04.1, 6.8.0-1059.65~22.04.1, 6.8.0-1054.57~22.04.1 +26
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde@6.17.0-1017.17?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux@6.8.0-110.110?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws@6.8.0-1052.55?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure@6.8.0-1054.60?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11@6.11.0-1018.18~24.04.1?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azure-fdepkg:deb/ubuntu/linux-azure-fde@6.8.0-1061.68?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied to affected Linux kernel versions as provided by the vendor. The Ubuntu security advisory USN-7594-1 confirms that this and other kernel vulnerabilities have been fixed. Users should update to the fixed kernel versions to remediate this issue.
Description
A medium severity vulnerability in the Linux kernel's md/raid10 subsystem was resolved, involving improper handling of discard requests with the REQ_NOWAIT flag. The issue could cause a denial of service (system instability or crash) due to not waiting on a barrier before returning a discard bio. This flaw has been fixed in updated Linux kernel versions.
References
- ubuntu.com/security/CVE-2025-40325 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40325 (opens in a new tab)
- git.kernel.org/linus/3db4404435397a345431b45f57876a3df133f3b4 (opens in a new tab)
- git.kernel.org/stable/c/31d3156efe909b53ba174861a3da880c688f5edc (opens in a new tab)
- git.kernel.org/stable/c/3db4404435397a345431b45f57876a3df133f3b4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8179-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8184-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8179-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8185-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8179-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8203-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8204-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8185-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8179-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8258-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8260-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8261-1 (opens in a new tab)