CVE-2025-22125

published 16 Apr 2025 · updated 7 Nov 2026

md/raid1,raid10: don't ignore IO flags

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e879a0d9cb086c8e52ce6c04e5bfa63825a6213c, Kernel 6.14.2, Kernel 73506e581c0b1814cdfd2229d589f30751d7de26 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5404bc7a87b9949cf61e0174b21f80e73239ab25 <e879a0d9cb086c8e52ce6c04e5bfa63825a6213c, >=6.13 <6.14.2, >=5404bc7a87b9949cf61e0174b21f80e73239ab25 <73506e581c0b1814cdfd2229d589f30751d7de26, >=5404bc7a87b9949cf61e0174b21f80e73239ab25 <8a0adf3d778c4a0893c6d34a9e1b0082a6f1c495, >=2.6.19 <6.12.46, =2.6.19, >=5404bc7a87b9949cf61e0174b21f80e73239ab25 <10f4ff4baeb6951cf58282954318827b6852d501e879a0d9cb086c8e52ce6c04e5bfa63825a6213c, 6.14.2, 73506e581c0b1814cdfd2229d589f30751d7de26, 8a0adf3d778c4a0893c6d34a9e1b0082a6f1c495, 6.12.46, 10f4ff4baeb6951cf58282954318827b6852d501
linux-kernel: Kernel>=2.6.19 <6.6.136, >=6.13.0 <6.14.2, >=6.7.0 <6.12.466.6.136, 6.14.2, 6.12.46

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-22125 severity on Zeptric[![CVE-2025-22125](https://zeptric.io/badge/cve/CVE-2025-22125.svg)](https://zeptric.io/cve/CVE-2025-22125)