Bug 2367530 (CVE-2025-37906) - CVE-2025-37906 kernel: Linux kernel: ublk race condition causes kernel crash
Summary: CVE-2025-37906 kernel: Linux kernel: ublk race condition causes kernel crash
Keywords:
Status: NEW
Alias: CVE-2025-37906
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-20 16:02 UTC by OSIDB Bzimport
Modified: 2026-06-29 20:28 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-20 16:02:38 UTC
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.

Comment 1 Jon Moroney 2025-05-20 21:25:11 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.