CVE-2025-22125: md/raid1,raid10: don't ignore IO flags
In the Linux kernel, the following vulnerability has been resolved:
md/raid1,raid10: don't ignore IO flags
If blk-wbt is enabled by default, it's found that raid write performance is quite bad because all IO are throttled by wbt of underlying disks, due to flag REQIDLE is ignored. And turns out this behaviour exist since blk-wbt is introduced.
Other than REQIDLE, other flags should not be ignored as well, for example REQMETA can be set for filesystems, clearing it can cause priority reverse problems; And REQNOWAIT should not be cleared as well, because io will wait instead of failing directly in underlying disks.
Fix those problems by keep IO flags from master bio.
Fises: f51d46d0e7cb ("md: add support for REQNOWAIT")
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.137.1-2
Event History
Frequently Asked Questions
What is the severity of CVE-2025-22125?
CVE-2025-22125 is classified as a medium severity vulnerability affecting the Linux kernel.
How do I fix CVE-2025-22125?
To fix CVE-2025-22125, update to the latest version of the Linux kernel that includes the patch addressing the vulnerability.
What are the exploitability conditions for CVE-2025-22125?
CVE-2025-22125 can be exploited when blk-wbt is enabled, leading to performance degradation in RAID configurations.
Which systems are affected by CVE-2025-22125?
CVE-2025-22125 affects systems running the Linux kernel that utilize RAID 1 and RAID 10 configurations.
What impact does CVE-2025-22125 have on performance?
CVE-2025-22125 negatively impacts write performance on RAID setups due to the throttling of I/O operations.