{"id":"CVE-2025-37906","published":"2025-05-20T15:21:39Z","modified":"2026-10-21T12:36:34Z","title":"ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd\n\nublk_cancel_cmd() calls io_uring_cmd_done() to complete uring_cmd, but\nwe may have scheduled task work via io_uring_cmd_complete_in_task() for\ndispatching request, then kernel crash can be triggered.\n\nFix it by not trying to canceling the command if ublk block request is\nstarted.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00187,"percentile":0.08399,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/346b7d74c612234dae0878892682b9722e7c04c8","tags":[]},{"url":"https://git.kernel.org/stable/c/fb2eb9ddf556f93fef45201e1f9d2b8674bcc975","tags":[]},{"url":"https://git.kernel.org/stable/c/f40139fde5278d81af3227444fd6e76a76b9506d","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":1.68},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 216c8f5ef0f209a3797292c487bdaa6991ab4b92, < 346b7d74c612234dae0878892682b9722e7c04c8",">= 216c8f5ef0f209a3797292c487bdaa6991ab4b92, < fb2eb9ddf556f93fef45201e1f9d2b8674bcc975",">= 216c8f5ef0f209a3797292c487bdaa6991ab4b92, < f40139fde5278d81af3227444fd6e76a76b9506d"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"euvd":{"id":"EUVD-2025-15930","exploited":false,"provenance":"source"}}