Linux Kernel Vulnerability in RAID10 Discard Handling
CVE-2025-40325
Summary
A flaw has been identified in the Linux kernel's RAID10 handling mechanism concerning discard requests. The affected function, raid10_handle_discard, fails to properly wait for a barrier before returning a discard bio tagged with the REQ_NOWAIT flag. This could lead to unforeseen consequences when executing discard operations. Additionally, the presence of unnecessary warning call traces in the dmesg logs might cause confusion among quality engineers, as they typically monitor this output for indications of errors. Addressing this issue enhances the reliability and predictability of discard handling within RAID10 configurations, allowing for improved system reliability.
Affected Version(s)
Linux c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 31d3156efe909b53ba174861a3da880c688f5edc
Linux c9aa889b035fca4598ae985a0f0c76ebbb547ad2 < 3db4404435397a345431b45f57876a3df133f3b4
Linux 5.17
References
Timeline
Vulnerability published
Vulnerability Reserved