# CVE-2025-38063: dm: fix unconditional IO throttle caused by REQ\_PREFLUSH

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-06-18T09:33:41.977Z
- **Modified:** 2026-11-05T21:18:08.297Z

## Who should check

- Anyone running Linux \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 95d08924335f3b6f4ea0b92ebfe4fe0731c502d9; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 52aa28f7b1708d76e315d78b5ed397932a1a97c3; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< b55a97d1bd4083729a60d19beffe85d4c96680de; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 2858cda9a8d95e6deee7e3b0a26adde696a9a4f5; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 88f7f56d16f568f19e1a695af34a7f4a6ce537a6
- Anyone running Linux 4.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

dm: fix unconditional IO throttle caused by REQ\_PREFLUSH

When a bio with REQ\_PREFLUSH is submitted to dm, \_\_send\_empty\_flush()
generates a flush\_bio with REQ\_OP\_WRITE \| REQ\_PREFLUSH \| REQ\_SYNC,
which causes the flush\_bio to be throttled by wbt\_wait().

An example from v5.4, similar problem also exists in upstream:

    crash\> bt 2091206
    PID: 2091206  TASK: ffff2050df92a300  CPU: 109  COMMAND: "kworker/u260:0"
     \#0 \[ffff800084a2f7f0\] \_\_switch\_to at ffff80004008aeb8
     \#1 \[ffff800084a2f820\] \_\_schedule at ffff800040bfa0c4
     \#2 \[ffff800084a2f880\] schedule at ffff800040bfa4b4
     \#3 \[ffff800084a2f8a0\] io\_schedule at ffff800040bfa9c4
     \#4 \[ffff800084a2f8c0\] rq\_qos\_wait at ffff8000405925bc
     \#5 \[ffff800084a2f940\] wbt\_wait at ffff8000405bb3a0
     \#6 \[ffff800084a2f9a0\] \_\_rq\_qos\_throttle at ffff800040592254
     \#7 \[ffff800084a2f9c0\] blk\_mq\_make\_request at ffff80004057cf38
     \#8 \[ffff800084a2fa60\] generic\_make\_request at ffff800040570138
     \#9 \[ffff800084a2fae0\] submit\_bio at ffff8000405703b4
    \#10 \[ffff800084a2fb50\] xlog\_write\_iclog at ffff800001280834 \[xfs\]
    \#11 \[ffff800084a2fbb0\] xlog\_sync at ffff800001280c3c \[xfs\]
    \#12 \[ffff800084a2fbf0\] xlog\_state\_release\_iclog at ffff800001280df4 \[xfs\]
    \#13 \[ffff800084a2fc10\] xlog\_write at ffff80000128203c \[xfs\]
    \#14 \[ffff800084a2fcd0\] xlog\_cil\_push at ffff8000012846dc \[xfs\]
    \#15 \[ffff800084a2fda0\] xlog\_cil\_push\_work at ffff800001284a2c \[xfs\]
    \#16 \[ffff800084a2fdb0\] process\_one\_work at ffff800040111d08
    \#17 \[ffff800084a2fe00\] worker\_thread at ffff8000401121cc
    \#18 \[ffff800084a2fe70\] kthread at ffff800040118de4

After commit 2def2845cc33 ("xfs: don't allow log IO to be throttled"),
the metadata submitted by xlog\_write\_iclog() should not be throttled.
But due to the existence of the dm layer, throttling flush\_bio indirectly
causes the metadata bio to be throttled.

Fix this by conditionally adding REQ\_IDLE to flush\_bio.bi\_opf, which makes
wbt\_should\_throttle() return false to avoid wbt\_wait().

## Affected and fixed versions

- Linux: \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 95d08924335f3b6f4ea0b92ebfe4fe0731c502d9; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 52aa28f7b1708d76e315d78b5ed397932a1a97c3; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< b55a97d1bd4083729a60d19beffe85d4c96680de; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 2858cda9a8d95e6deee7e3b0a26adde696a9a4f5; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 88f7f56d16f568f19e1a695af34a7f4a6ce537a6 (cvelist)
- Linux: 4.10 (cvelist)

## Mitigation

- Upgrade Linux to 88f7f56d16f568f19e1a695af34a7f4a6ce537a6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38063. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38063.md
Affected: Linux >= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, < 95d08924335f3b6f4ea0b92ebfe4fe0731c502d9; >= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, < 52aa28f7b1708d76e315d78b5ed397932a1a97c3; >= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, < b55a97d1bd4083729a60d19beffe85d4c96680de; >= e34cbd307477ae07c5d8a8d…
Fixed in: Linux 95d08924335f3b6f4ea0b92ebfe4fe0731c502d9, Linux 52aa28f7b1708d76e315d78b5ed397932a1a97c3, Linux 2858cda9a8d95e6deee7e3b0a26adde696a9a4f5, Linux 88f7f56d16f568f19e1a695af34a7f4a6ce537a6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38063 being exploited?

There is no confirmed exploitation: CVE-2025-38063 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38063?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38063?

Linux \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 95d08924335f3b6f4ea0b92ebfe4fe0731c502d9; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 52aa28f7b1708d76e315d78b5ed397932a1a97c3; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< b55a97d1bd4083729a60d19beffe85d4c96680de; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 2858cda9a8d95e6deee7e3b0a26adde696a9a4f5; \>= e34cbd307477ae07c5d8a8d0bd15e65a9ddaba5c, \< 88f7f56d16f568f19e1a695af34a7f4a6ce537a6; Linux 4.10.

### Is there a fix for CVE-2025-38063?

Yes. Fixed in Linux 95d08924335f3b6f4ea0b92ebfe4fe0731c502d9, Linux 52aa28f7b1708d76e315d78b5ed397932a1a97c3, Linux 2858cda9a8d95e6deee7e3b0a26adde696a9a4f5, Linux 88f7f56d16f568f19e1a695af34a7f4a6ce537a6. Upgrade Linux to 88f7f56d16f568f19e1a695af34a7f4a6ce537a6 or later.

### How do I check if I'm affected by CVE-2025-38063?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/95d08924335f3b6f4ea0b92ebfe4fe0731c502d9>
- patch: <https://git.kernel.org/stable/c/52aa28f7b1708d76e315d78b5ed397932a1a97c3>
- patch: <https://git.kernel.org/stable/c/b55a97d1bd4083729a60d19beffe85d4c96680de>
- patch: <https://git.kernel.org/stable/c/2858cda9a8d95e6deee7e3b0a26adde696a9a4f5>
- patch: <https://git.kernel.org/stable/c/88f7f56d16f568f19e1a695af34a7f4a6ce537a6>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38063>

HTML: <https://flawdb.com/CVE-2025-38063> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38063>
