CVE-2026-100056

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

ublk: keep a canceled FETCH round canceling until the server is gone

A cancel completes a fetched io command and sets io->cmd to NULL, but the io still counts as ready. Only ubq->canceling stops ublk_queue_rq() from using the NULL io->cmd. Two paths clear that flag too early:

partial FETCH round recovery, two queues ------------------- -------------------- task A: FETCH tags 0-2 q0 ready: q0->canceling = false task A exits: q0 task exits: start_cancel(): mark queues start_cancel(): ub->canceling tags 0-2: io->cmd = NULL is still set -> q0 not marked task B: FETCH tag 3 q0: io->cmd = NULL queue ready: canceling = false q1 ready START_DEV END_USER_RECOVERY read -> ublk_queue_cmd(NULL) read on q0 -> ublk_queue_cmd(NULL)

A FETCH round runs from the open of /dev/ublkcN until ublk_reset_ch_dev() resets the queues. A canceled command can't be fetched again in the same round. So the ready check only needs one fact: did this round see a cancel? ub->canceling already records it: ublk_start_cancel() sets it under cancel_mutex before any command is taken. It is only cleared too early, when all queues are ready.

Fix:

- clear ub->canceling only in ublk_reset_ch_dev() - when a queue gets ready, clear ubq->canceling only if ub->canceling is not set, and check it under cancel_mutex

The check and the marking are ordered by cancel_mutex:

check first: queue cleared -> start_cancel() marks it again -> command taken cancel first: check sees ub->canceling -> queue stays canceling

While ub->canceling is set, no queue clears its flag. So the "all queues marked" shortcut in ublk_start_cancel() is correct again.

UBLK_F_BATCH_IO follows the same rule. It does not dispatch through io->cmd, so it never hit the oops, but a round which lost a fetch command is treated the same way: it has to start over.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-100057In the Linux kernel, the following vulnerability has been resolved: net: erspan: set lltx to avoid sch_direct_xmit deadlock The ERSPAN xmiCVE-2026-100058In the Linux kernel, the following vulnerability has been resolved: dax: Return errors from dax_core_init() dax_core_init() returns succesCVE-2026-100059In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Take cpus_read_lock() when changing the subbuf order A CPCVE-2026-100067.5Race in WebAudio in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code inside a sandbox via a craftedCVE-2026-100060In the Linux kernel, the following vulnerability has been resolved: spi: amd: fix len==0 underflow and FIFO overflow amd_spi_fifo_xfer() uCVE-2026-100061In the Linux kernel, the following vulnerability has been resolved: spi: bcm-qspi: reject oversized dummy bytes in mspi exec_mem_op bcm_qsCVE-2026-100062In the Linux kernel, the following vulnerability has been resolved: iommupt: Do not allow PTEs to be split when dirty logging If a single CVE-2026-100063In the Linux kernel, the following vulnerability has been resolved: mfd: tps65217: Use devres for IRQ domain and wake teardown Removing thCVE-2026-100064In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Turn vcpu->arch.pause into a counter We have situations whCVE-2026-100065In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Move IN_GUEST_MODE ahead of state being loaded IN_GUEST_MOCVE-2026-100066In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Move OUTSIDE_GUEST_MODE publication past context being saveCVE-2026-100067In the Linux kernel, the following vulnerability has been resolved: iommufd: Keep dmabuf PFNs MMIO when filling another domain A VFIO PCI
CVE-2026-100056: Unscored | Vulnix