CVE-2025-22068
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
16/04/2025
Last modified:
01/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ublk: make sure ubq->canceling is set when queue is frozen<br />
<br />
Now ublk driver depends on `ubq->canceling` for deciding if the request<br />
can be dispatched via uring_cmd & io_uring_cmd_complete_in_task().<br />
<br />
Once ubq->canceling is set, the uring_cmd can be done via ublk_cancel_cmd()<br />
and io_uring_cmd_done().<br />
<br />
So set ubq->canceling when queue is frozen, this way makes sure that the<br />
flag can be observed from ublk_queue_rq() reliably, and avoids<br />
use-after-free on uring_cmd.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.23 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.13.11 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.14 (including) | 6.14.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



