What’s Vulnerable › Vulnerabilities
CVE-2025-37906: ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-20 · updated 2026-10-21
- Weakness: CWE-362
Description
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.
Affected products
- Linux kernel: from 6.7 before 6.14.6; 6.15-rc1, 6.15-rc2, 6.15-rc3 — fixed in 6.14.6
How to fix
Upgrade to a fixed version: Linux kernel 6.14.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/346b7d74c612234dae0878892682b9722e7c04c8
- https://git.kernel.org/stable/c/f40139fde5278d81af3227444fd6e76a76b9506d
- https://git.kernel.org/stable/c/fb2eb9ddf556f93fef45201e1f9d2b8674bcc975
Get alerted when CVE-2025-37906 or the next vulnerability affects your stack