5.5medium
md/raid1,raid10: don't ignore IO flags
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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")
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 2.6.19 before 6.12.46, from 6.13 before 6.14.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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")
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: md/raid1,raid10: no ignorar los indicadores de E/S. Si blk-wbt está habilitado por defecto, el rendimiento de escritura en RAID es bastante bajo, ya que todas las E/S son limitadas por wbt de los discos subyacentes, debido a que se ignora el indicador REQ_IDLE. Resulta que este comportamiento existe desde la introducción de blk-wbt. Además de REQ_IDLE, tampoco se deben ignorar otros indicadores; por ejemplo, se puede configurar REQ_META para sistemas de archivos; borrarlo puede causar problemas de inversión de prioridad. REQ_NOWAIT tampoco se debe borrar, ya que la E/S esperará en lugar de fallar directamente en los discos subyacentes. Para solucionar estos problemas, mantenga los indicadores de E/S de la bios maestra. Fises: f51d46d0e7cb ("md: añadir soporte para REQ_NOWAIT")
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22125 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2025-22125 changed 2026-11-05 | Public domain |