What’s Vulnerable › Vulnerabilities
CVE-2025-22125: md/raid1,raid10: don't ignore IO flags
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-16 · updated 2026-06-17
Description
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 REQ_IDLE is ignored. And turns out this behaviour exist since blk-wbt is introduced. Other than REQ_IDLE, other flags should not be ignored as well, for example REQ_META can be set for filesystems, clearing it can cause priority reverse problems; And REQ_NOWAIT 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 REQ_NOWAIT")
Affected products
- Linux kernel: from 2.6.19 before 6.12.46; from 6.13 before 6.14.2 — fixed in 6.12.46, 6.14.2
How to fix
Upgrade to a fixed version: Linux kernel 6.12.46, 6.14.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/10f4ff4baeb6951cf58282954318827b6852d501
- https://git.kernel.org/stable/c/73506e581c0b1814cdfd2229d589f30751d7de26
- https://git.kernel.org/stable/c/8a0adf3d778c4a0893c6d34a9e1b0082a6f1c495
- https://git.kernel.org/stable/c/e879a0d9cb086c8e52ce6c04e5bfa63825a6213c
Get alerted when CVE-2025-22125 or the next vulnerability affects your stack