CVE-2026-100054
HIGH 7.8CVSS 3.1ublk: mark the batch fetch command cancelable before linking it
In the Linux kernel, the following vulnerability has been resolved:
ublk: mark the batch fetch command cancelable before linking it
UBLK_U_IO_FETCH_IO_CMDS has the same order problem as the per-io
commands: ublk_batch_attach() links the fetch command into fcmd_head
and marks it cancelable only after dropping evts_lock. A cancel from
the control path (ublk_batch_cancel_queue()) can take it in between and
complete it, and the later mark puts a completed request on io_uring's
cancelable list.
Mark it before linking it. evts_lock orders the mark before the link,
which is where the cancel finds it.
Batch commands are not bounced to task work, so they can run from io-wq
without uring_lock, and io_uring's cancel walk can now find a fetch
command before it is linked. Two things make that safe:
- initialize fcmd->node: it came from kzalloc(), so list_empty() saw a
linked node and ublk_batch_cancel_cmd() would list_del_init() NULL
pointers - on the -ENODEV path, complete the command with io_uring_cmd_done()
before freeing fcmd: that removes it from the cancelable list under
uring_lock, after which nothing can see fcmd
Also use data->cmd instead of fcmd->cmd after dropping evts_lock: once
fcmd is linked and not the active one, a control-path cancel may
complete and free it.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= a4d88375539920b7401ead59d2f944ac23c668ea, < de0967c9aa6bb63d30e835c79fd935310f30402b; >= a4d88375539920b7401ead59d2f944ac23c668ea, < b59e96011d22e322fbf4d5d1d1124de538c278ed | de0967c9aa6bb63d30e835c79fd935310f30402b, b59e96011d22e322fbf4d5d1d1124de538c278ed |
| CVE List | Linux | Linux | = 7.0 |
References
- https://git.kernel.org/stable/c/b59e96011d22e322fbf4d5d1d1124de538c278ed
- https://git.kernel.org/stable/c/de0967c9aa6bb63d30e835c79fd935310f30402b
History
- 1 Dec 2026 06:48 UTC · NVD: scored 7.8
- 1 Dec 2026 05:50 UTC · CVE List: scored 7.8
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)