7.8high
ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 216c8f5ef0f209a3797292c487bdaa6991ab4b92 before 346b7d74c612234dae0878892682b9722e7c04c8, from 216c8f5ef0f209a3797292c487bdaa6991ab4b92 before fb2eb9ddf556f93fef45201e1f9d2b8674bcc975, from 216c8f5ef0f209a3797292c487bdaa6991ab4b92 before f40139fde5278d81af3227444fd6e76a76b9506d, 6.7 Not affected: before 6.7, from 6.12.114 up to 6.12.*, from 6.14.6 up to 6.14.*, from 6.15 up to * | CVE List |
| linux linux_kernel | from 6.7 before 6.14.6, 6.15 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ublk: se corrige la ejecución entre io_uring_cmd_complete_in_task y ublk_cancel_cmd. ublk_cancel_cmd() llama a io_uring_cmd_done() para completar uring_cmd, pero es posible que hayamos programado el trabajo de la tarea mediante io_uring_cmd_complete_in_task() para el envío de la solicitud, lo que puede provocar un fallo del kernel. Para solucionarlo, no intente cancelar el comando si se inicia la solicitud de bloqueo de ublk.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37906 changed 2026-10-21 | CVE Terms of Use |
| NVD | CVE-2025-37906 changed 2026-10-21 | Public domain |