{"id":"CVE-2025-37906","title":"ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd","summary":"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 t…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","vendor":"Linux","product":"Linux","affected":["Linux >= 216c8f5ef0f209a3797292c487bdaa6991ab4b92 < 346b7d74c612234dae0878892682b9722e7c04c8","Linux >= 216c8f5ef0f209a3797292c487bdaa6991ab4b92 < fb2eb9ddf556f93fef45201e1f9d2b8674bcc975","Linux >= 216c8f5ef0f209a3797292c487bdaa6991ab4b92 < f40139fde5278d81af3227444fd6e76a76b9506d","Linux 6.7"],"published":"2025-05-20","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:36:34.934Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-37906","references":[{"url":"https://git.kernel.org/stable/c/346b7d74c612234dae0878892682b9722e7c04c8"},{"url":"https://git.kernel.org/stable/c/fb2eb9ddf556f93fef45201e1f9d2b8674bcc975"},{"url":"https://git.kernel.org/stable/c/f40139fde5278d81af3227444fd6e76a76b9506d"}],"tags":["cve.org"],"epss":0.00186,"epssPercentile":0.08085,"ingestedAt":"2026-10-21T12:48:53.709Z","slug":"CVE-2025-37906","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `Linux >= 216c8f5ef0f209a3797292c487bdaa6991ab4b92 < 346b7d74c612234dae0878892682b9722e7c04c8`\n- `Linux >= 216c8f5ef0f209a3797292c487bdaa6991ab4b92 < fb2eb9ddf556f93fef45201e1f9d2b8674bcc975`\n- `Linux >= 216c8f5ef0f209a3797292c487bdaa6991ab4b92 < f40139fde5278d81af3227444fd6e76a76b9506d`\n- `Linux 6.7`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}