CVE-2025-37906

published 20 May 2025 · updated 21 Oct 2026

ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 346b7d74c612234dae0878892682b9722e7c04c8, Kernel f40139fde5278d81af3227444fd6e76a76b9506d and Kernel fb2eb9ddf556f93fef45201e1f9d2b8674bcc975.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.7, >=216c8f5ef0f209a3797292c487bdaa6991ab4b92 <346b7d74c612234dae0878892682b9722e7c04c8, >=216c8f5ef0f209a3797292c487bdaa6991ab4b92 <f40139fde5278d81af3227444fd6e76a76b9506d, >=216c8f5ef0f209a3797292c487bdaa6991ab4b92 <fb2eb9ddf556f93fef45201e1f9d2b8674bcc975346b7d74c612234dae0878892682b9722e7c04c8, f40139fde5278d81af3227444fd6e76a76b9506d, fb2eb9ddf556f93fef45201e1f9d2b8674bcc975

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37906 severity on Zeptric[![CVE-2025-37906](https://zeptric.io/badge/cve/CVE-2025-37906.svg)](https://zeptric.io/cve/CVE-2025-37906)