Skip to main content
← All vulnerabilities
CVE-2025-37906

ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.114, 6.14.6
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 216c8f5ef0f209a3797292c487bdaa6991ab4b92 · fixed in 346b7d74c612234dae0878892682b9722e7c04c8; From 216c8f5ef0f209a3797292c487bdaa6991ab4b92 · fixed in fb2eb9ddf556f93fef45201e1f9d2b8674bcc975; From 216c8f5ef0f209a3797292c487bdaa6991ab4b92 · fixed in f40139fde5278d81af3227444fd6e76a76b9506d

  • Linux Linux

    6.7

  • KernelLinux

    From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.14.6

References 3

git.kernel.org