CVE-2025-22125
md/raid1,raid10: don't ignore IO flags
Check your servers for CVE-2025-22125
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-22125 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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")
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.67% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5404bc7a87b9949cf61e0174b21f80e73239ab25, before 10f4ff4baeb6951cf58282954318827b6852d501 affected from 5404bc7a87b9949cf61e0174b21f80e73239ab25, before 73506e581c0b1814cdfd2229d589f30751d7de26 affected from 5404bc7a87b9949cf61e0174b21f80e73239ab25, before 8a0adf3d778c4a0893c6d34a9e1b0082a6f1c495 affected from 5404bc7a87b9949cf61e0174b21f80e73239ab25, before e879a0d9cb086c8e52ce6c04e5bfa63825a6213c
Other versions: unaffected
|
| Linux |
affected 2.6.19 unaffected before 2.6.19 unaffected from 6.6.136 up to and including 6.6.* unaffected from 6.12.46 up to and including 6.12.* unaffected from 6.14.2 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-22125 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-22125
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-22125
trivy image --scanners vuln IMAGE | grep CVE-2025-22125
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/10f4ff4baeb6951cf58282954318827b6852d501 git.kernel.org
- https://git.kernel.org/stable/c/73506e581c0b1814cdfd2229d589f30751d7de26 git.kernel.org
- https://git.kernel.org/stable/c/8a0adf3d778c4a0893c6d34a9e1b0082a6f1c495 git.kernel.org
- https://git.kernel.org/stable/c/e879a0d9cb086c8e52ce6c04e5bfa63825a6213c git.kernel.org
Source: the record CVE-2025-22125 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse