ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
CVE-2025-37906 · published 20 May 2025
How serious is it
- Severity: high, CVSS score 7.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2025-37906?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Linux Linux: 216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < 346b7d74c612234dae0878892682b9722e7c04c8, 216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < fb2eb9ddf556f93fef45201e1f9d2b8674bcc975, 216c8f5ef0f209a3797292c487bdaa6991ab4b92 to < f40139fde5278d81af3227444fd6e76a76b9506d
- Linux Linux: 6.7
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
In the Linux kernel, the following vulnerability has been resolved:
ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
ublk_cancel_cmd() calls io_uring_cmd_done() to complete uring_cmd, but
we may have scheduled task work via io_uring_cmd_complete_in_task() for
dispatching request, then kernel crash can be triggered.
Fix it by not trying to canceling the command if ublk block request is
started.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- git.kernel.org/stable/c/346b7d74c612234dae0878892682b9722e7c04c8
- git.kernel.org/stable/c/fb2eb9ddf556f93fef45201e1f9d2b8674bcc975
- git.kernel.org/stable/c/f40139fde5278d81af3227444fd6e76a76b9506d
Merged from CVE List. Last updated 25 Oct 2026. All vulnerabilities · RSS · JSON