CVE-2026-139121: blk-mq: exit the hctxs of a queue under tag_list_lock
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-30
Description
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.
Enclave's analysis
This is a kernel blk-mq locking bug that only triggers on hosts acting as NVMe/TCP fabric initiators. The CNA's scenario needs the connected target itself, or an on-path spoofer when NVMe-oF auth is disabled, to race a namespace scan against a controller reset and free hardware-queue state twice. No PoC, exploit, or in-the-wild report exists; the easy outcome is a kernel crash, while code execution needs a harder interleaving nobody has demonstrated. Patch NVMe/TCP initiator hosts and enable TLS/DH-HMAC-CHAP.
Fix
Upgrade Linux kernel to 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 (branch-dependent). No fixed version is listed for Linux; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Linux | 630ef623ed26c18a457cdc070cf24014e50129c2 before a6f435cba9508e6ee9f81c1b32ebce9e90031023 | Not listed |
| Linux | 630ef623ed26c18a457cdc070cf24014e50129c2 before f179c59bea9959901d6b9f0a7e45c170d6fbb2e3 | Not listed |
| Linux | 630ef623ed26c18a457cdc070cf24014e50129c2 before 2aa679bff2e9a90f8a39e769ccb0b03d945a5c52 | Not listed |
| Linux | 630ef623ed26c18a457cdc070cf24014e50129c2 before b11079315bcbe2bd947e5e819e5f5c03451afc61 | Not listed |
| Linux | 630ef623ed26c18a457cdc070cf24014e50129c2 before 89a2381482d8ff8e4fe0b7d32797bb4f77503b89 | Not listed |
| Linux | 0b948f3c2149680b38757257d37406777338b0dc | Not listed |
| Linux | 00b5bc6421739f6eba45eede245846394e0dd279 | Not listed |
| Linux | 3c1db90ae0d0210c0695f63f77458124d83508b2 | Not listed |
| Linux | 3a96437f6bf85fa64e933cc100445f9278cee1ff | Not listed |
| Linux | 929778cfc8f31f3fa793a5fa5f10fe3cd30f63ff | Not listed |
| Linux | 5e9e6d114b536c654a7209c98a38f982a2de7009 | Not listed |
| Linux | 4.14.233 before 4.15 | Not listed |
| Linux | 4.19.191 before 4.20 | Not listed |
| Linux | 5.4.120 before 5.5 | Not listed |
| Linux | 5.10.38 before 5.11 | Not listed |
| Linux | 5.11.22 before 5.12 | Not listed |
| Linux | 5.12.5 before 5.13 | Not listed |
| Linux | 5.13 | Not listed |
| Linux kernel | >=5.13 and <6.6.163/<6.12.119/<6.18.65/<7.3.6 depending on branch; also pre-5.13 branches 4.14.233-4.15, 4.19.191-4.20, 5.4.120-5.5, 5.10.38-5.11, 5.11.22-5.12, 5.12.5-5.13 | 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 (branch-dependent) |