CVE-2025-22125

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

published April 16, 2025

CVSS
—
EPSS
0%
Percentile
7.9
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00188 · 7.9th percentile
Published
2025-04-16T14:13Z
EPSS history
Timeline
  • 16 APR 14:13Z
    md/raid1,raid10: don't ignore IO flags
    cvelistv5