# CVE-2025-22125: md/raid1,raid10: don't ignore IO flags

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-04-16T14:13:08.779Z
- Modified: 2026-11-05T21:17:49.280Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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")

(As written by CVE List.)

## Affected

- Linux Linux: from 5404bc7a87b9949cf61e0174b21f80e73239ab25 before 10f4ff4baeb6951cf58282954318827b6852d501; from 5404bc7a87b9949cf61e0174b21f80e73239ab25 before 73506e581c0b1814cdfd2229d589f30751d7de26; from 5404bc7a87b9949cf61e0174b21f80e73239ab25 before 8a0adf3d778c4a0893c6d34a9e1b0082a6f1c495; from 5404bc7a87b9949cf61e0174b21f80e73239ab25 before e879a0d9cb086c8e52ce6c04e5bfa63825a6213c; 2.6.19 (not affected: before 2.6.19; from 6.6.136 up to 6.6.*; from 6.12.46 up to 6.12.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 2.6.19 before 6.12.46; from 6.13 before 6.14.2

## References

- <https://git.kernel.org/stable/c/10f4ff4baeb6951cf58282954318827b6852d501>
- <https://git.kernel.org/stable/c/73506e581c0b1814cdfd2229d589f30751d7de26> (patch)
- <https://git.kernel.org/stable/c/8a0adf3d778c4a0893c6d34a9e1b0082a6f1c495> (patch)
- <https://git.kernel.org/stable/c/e879a0d9cb086c8e52ce6c04e5bfa63825a6213c> (patch)

## Sources

- CVE List: [CVE-2025-22125](https://www.cve.org/CVERecord?id=CVE-2025-22125), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-22125](https://nvd.nist.gov/vuln/detail/CVE-2025-22125), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-22125 · Whole record: https://cve.day/CVE-2025-22125.json · Rebuilt by cve.day 2026-11-25T22:58:56.624Z
