CVE-2026-100053

HighCVSS 7.8/10Last modified Dec 1, 2026

Description

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

ublk: let STOP_DEV cancel the server's commands before its release

STOP_DEV cancels the fetched commands after dropping ub->mutex, so START_DEV and FETCH can run in between:

STOP_DEV START_DEV / FETCH lock ub->mutex ublk_stop_dev_unlocked() (not started: does nothing) unlock ub->mutex START_DEV goes live, schedules scan FETCH publishes a new command cancel_work_sync(scan) cancels the new disk's scan ublk_cancel_dev() takes the new command: NULL io->cmd on a queue which isn't canceling

A START_DEV after STOP_DEV also goes live over the canceled commands.

Hold a reference on the server's /dev/ublkcN while canceling:

STOP_DEV lock ub->mutex ublk_stop_dev_unlocked() cancel_work_sync(scan) server attached: take a reference on its file, set STOPPING unlock ub->mutex ublk_cancel_dev() drop the reference

- STOPPING makes FETCH and PREP get UBLK_IO_RES_ABORT and START_DEV -EBUSY; a START_DEV or END_USER_RECOVERY waiting for the device to get ready wakes up too; the reset in the server's release clears it - the release can't run before the reference is dropped, so no new server can attach, and the cancel only meets this server's commands - the cancel still runs after the unlock: io_uring_cmd_done() may take uring_lock, under which FETCH takes ub->mutex

ublk_ch_open() saves the file in ->ch_file and ublk_ch_release() clears it, under cancel_mutex. The release runs after the last reference is gone, so take ours with file_ref_get(). Drop it with __fput_sync(): if it is the last one, fput() would defer the release to this task, which DEL_DEV then makes wait for the device to be freed.

A server which opened the device but hasn't fetched is stopped too. Document what a server sees after STOP_DEV in ublk.rst.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

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

VendorProductVersions
LinuxLinux>= 85248d670b71d9edda9459ee14fdc85c8e9632c0, < e5d84d6ebec814039f40a0366a7272fd330678d4; >= 85248d670b71d9edda9459ee14fdc85c8e9632c0, < 301e34ccf9a63705a197904ccc03e9eaaf442a37; >= 85248d670b71d9edda9459ee14fdc85c8e9632c0, < c8b349f9daf6d88ff21033028167d00e819dafb6; a8555c86f508e0e246a2729fe0f40bdf9fc51da0; 8cb8ef0c79e3686320e2854c2ab9c9ab4df7b8e8; >= 6.1.70, < 6.2; >= 6.6.21, < 6.7
LinuxLinux6.7

References

Timeline

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

Related CVEs from 2026

CVE-2026-1000547.8In the Linux kernel, the following vulnerability has been resolved: ublk: mark the batch fetch command cancelable before linking it UBLK_UCVE-2026-1000557.8In the Linux kernel, the following vulnerability has been resolved: ublk: mark the io command cancelable before publishing it FETCH, COMMICVE-2026-100056In the Linux kernel, the following vulnerability has been resolved: ublk: keep a canceled FETCH round canceling until the server is gone ACVE-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 wh
CVE-2026-100053: High severity, CVSS 7.8 | Vulnix