blk-mq: exit the hctxs of a queue under tag_list_lock
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 4.14.233, < 4.15→ 4.15 ≥ 4.19.191, < 4.20→ 4.20 ≥ 5.4.120, < 5.5→ 5.5 ≥ 5.10.38, < 5.11→ 5.11 ≥ 5.11.22, < 5.12→ 5.12 ≥ 5.12.5, < 5.13→ 5.13 ≥ 5.13.0, < 6.6.163→ 6.6.163 ≥ 6.7.0, < 6.12.119→ 6.12.119 ≥ 6.13.0, < 6.18.65→ 6.18.65 ≥ 6.19.0, < 7.3.6→ 7.3.6 |
4.15 4.20 5.5 5.11 5.12 5.13 6.6.163 6.12.119 6.18.65 7.3.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-139121 linux Fix available
- Ubuntu UBUNTU-CVE-2026-139121 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
blk-mq: exit the hctxs of a queue under tag_list_lock
blk_mq_update_nr_hw_queues() exits and replaces the hctxs of every queue
on set->tag_list under tag_list_lock. blk_mq_exit_queue() exits its
hctxs without the lock and only then takes the queue off the list, so an
update running at the same time exits them again and sets up new ones
that nobody exits. del_gendisk() is kept away by update_nr_hwq_lock,
disk_release() of a never added disk and blk_mq_destroy_queue() are not,
and nvme_alloc_ns() drops such a disk when it finds the queues frozen by
a reset.
Hold tag_list_lock for both steps.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com