CVE-2025-40325
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-40325 is a vulnerability discovered in the Linux kernel, specifically affecting the md/raid10 component. The vulnerability was disclosed on April 18, 2025, and involves issues with handling discard requests with REQNOWAIT flag in the raid10handle_discard function (NVD).

Technical details

The vulnerability relates to the raid10handlediscard function's handling of discard bio operations with REQNOWAIT flag. The issue occurs when the function doesn't properly wait for barriers before returning a discard bio that has REQNOWAIT set. Additionally, there was an unnecessary warning calltrace being printed for discard bios with REQ_NOWAIT flag. The vulnerability has been assigned a CVSS v3.1 score of 3.3 (Low) with a vector string of CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L (Red Hat).

Impact

The vulnerability primarily affects system logging and quality assurance processes, as quality engineers typically check dmesg for warning/error calltraces. The impact is considered low, with no confidentiality or integrity impacts, but potential low availability impacts (Red Hat).

Mitigation and workarounds

The vulnerability has been fixed in various Linux kernel versions. Debian Bullseye (5.10.223-1 and 5.10.234-1) has been patched, while Bookworm (6.1.129-1 and 6.1.135-1) and Trixie (6.12.22-1) versions remain vulnerable. For Red Hat Enterprise Linux 9, the fix has been deferred (Debian Tracker, Red Hat).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management