Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-68807

UNSCOREDEPSS 9%

block: fix race between wbt_enable_default and IO submission

Mitigation

  • Upgrade Linux to 9869d3a6fed381f3b98404e26e1afc75d680cbf9 or later.

Who should check

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

Vulnerability facts

Affected
Linux >= 78c271344b6f64ce24c845e54903e09928cf2061, < f55201fb3becff6a903fd29f4d1147cc7e91eb0c; >= 78c271344b6f64ce24c845e54903e09928cf2061, < 9869d3a6fed381f3b98404e26e1afc75d680cbf9; Linux 6.16
Fixed in
Linux 9869d3a6fed381f3b98404e26e1afc75d680cbf9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
Published
Modified

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

Package / productAffectedFixedSource
Linux>= 78c271344b6f64ce24c845e54903e09928cf2061, < f55201fb3becff6a903fd29f4d1147cc7e91eb0c; >= 78c271344b6f64ce24c845e54903e09928cf2061, < 9869d3a6fed381f3b98404e26e1afc75d680cbf9—cvelist
Linux6.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors