CVE-2025-22125
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/04/2025
Last modified:
17/04/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
md/raid1,raid10: don&#39;t ignore IO flags<br />
<br />
If blk-wbt is enabled by default, it&#39;s found that raid write performance<br />
is quite bad because all IO are throttled by wbt of underlying disks,<br />
due to flag REQ_IDLE is ignored. And turns out this behaviour exist since<br />
blk-wbt is introduced.<br />
<br />
Other than REQ_IDLE, other flags should not be ignored as well, for<br />
example REQ_META can be set for filesystems, clearing it can cause priority<br />
reverse problems; And REQ_NOWAIT should not be cleared as well, because<br />
io will wait instead of failing directly in underlying disks.<br />
<br />
Fix those problems by keep IO flags from master bio.<br />
<br />
Fises: f51d46d0e7cb ("md: add support for REQ_NOWAIT")