# CVE-2025-68807: block: fix race between wbt\_enable\_default and IO submission

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-01-13T15:29:14.483Z
- **Modified:** 2026-06-17T09:59:37.323Z

## Who should check

- Anyone running Linux \>= 78c271344b6f64ce24c845e54903e09928cf2061, \< f55201fb3becff6a903fd29f4d1147cc7e91eb0c; \>= 78c271344b6f64ce24c845e54903e09928cf2061, \< 9869d3a6fed381f3b98404e26e1afc75d680cbf9
- Anyone running Linux 6.16

## Description

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

block: fix race between wbt\_enable\_default and IO submission

When wbt\_enable\_default() is moved out of queue freezing in elevator\_change(),
it can cause the wbt inflight counter to become negative (-1), leading to hung
tasks in the writeback path. Tasks get stuck in wbt\_wait() because the counter
is in an inconsistent state.

The issue occurs because wbt\_enable\_default() could race with IO submission,
allowing the counter to be decremented before proper initialization. This manifests
as:

  rq\_wait\[0\]:
    inflight:             -1
    has\_waiters:        True

rwb\_enabled() checks the state, which can be updated exactly between wbt\_wait()
(rq\_qos\_throttle()) and wbt\_track()(rq\_qos\_track()), then the inflight counter
will become negative.

And results in hung task warnings like:
  task:kworker/u24:39 state:D stack:0 pid:14767
  Call Trace:
    rq\_qos\_wait+0xb4/0x150
    wbt\_wait+0xa9/0x100
    \_\_rq\_qos\_throttle+0x24/0x40
    blk\_mq\_submit\_bio+0x672/0x7b0
    ...

Fix this by:

1. Splitting wbt\_enable\_default() into:
   - \_\_wbt\_enable\_default(): Returns true if wbt\_init() should be called
   - wbt\_enable\_default(): Wrapper for existing callers (no init)
   - wbt\_init\_enable\_default(): New function that checks and inits WBT

2. Using wbt\_init\_enable\_default() in blk\_register\_queue() to ensure
   proper initialization during queue registration

3. Move wbt\_init() out of wbt\_enable\_default() which is only for enabling
   disabled wbt from bfq and iocost, and wbt\_init() isn't needed. Then the
   original lock warning can be avoided.

4. Removing the ELEVATOR\_FLAG\_ENABLE\_WBT\_ON\_EXIT flag and its handling
   code since it's no longer needed

This ensures WBT is properly initialized before any IO can be submitted,
preventing the counter from going negative.

## Affected and fixed versions

- Linux: \>= 78c271344b6f64ce24c845e54903e09928cf2061, \< f55201fb3becff6a903fd29f4d1147cc7e91eb0c; \>= 78c271344b6f64ce24c845e54903e09928cf2061, \< 9869d3a6fed381f3b98404e26e1afc75d680cbf9 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 9869d3a6fed381f3b98404e26e1afc75d680cbf9 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-68807. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68807.md
Affected: Linux >= 78c271344b6f64ce24c845e54903e09928cf2061, < f55201fb3becff6a903fd29f4d1147cc7e91eb0c; >= 78c271344b6f64ce24c845e54903e09928cf2061, < 9869d3a6fed381f3b98404e26e1afc75d680cbf9; Linux 6.16
Fixed in: Linux 9869d3a6fed381f3b98404e26e1afc75d680cbf9

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-68807 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 78c271344b6f64ce24c845e54903e09928cf2061, \< f55201fb3becff6a903fd29f4d1147cc7e91eb0c; \>= 78c271344b6f64ce24c845e54903e09928cf2061, \< 9869d3a6fed381f3b98404e26e1afc75d680cbf9; Linux 6.16.

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

Yes. Fixed in Linux 9869d3a6fed381f3b98404e26e1afc75d680cbf9. Upgrade Linux to 9869d3a6fed381f3b98404e26e1afc75d680cbf9 or later.

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

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

- other: <https://git.kernel.org/stable/c/f55201fb3becff6a903fd29f4d1147cc7e91eb0c>
- other: <https://git.kernel.org/stable/c/9869d3a6fed381f3b98404e26e1afc75d680cbf9>

## 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-68807>

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