CVE-2025-22125

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

State
Published
Severity
Not scored
Published
Apr 16, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5404bc7a87b9949cf61e0174b21f80e73239ab25 to before 10f4ff4baeb6951cf58282954318827b6852d501Affected
  • 5404bc7a87b9949cf61e0174b21f80e73239ab25 to before 73506e581c0b1814cdfd2229d589f30751d7de26Affected
  • 5404bc7a87b9949cf61e0174b21f80e73239ab25 to before 8a0adf3d778c4a0893c6d34a9e1b0082a6f1c495Affected
  • 5404bc7a87b9949cf61e0174b21f80e73239ab25 to before e879a0d9cb086c8e52ce6c04e5bfa63825a6213cAffected
LinuxLinux
  • 2.6.19Affected
  • before 2.6.19Not affected
  • 6.6.136 through 6.6.*Not affected
  • 6.12.46 through 6.12.*Not affected
  • 6.14.2 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.