- Home
- Vulnerabilities
- CVE-2026-139121
CVE-2026-139121
blk-mq: exit the hctxs of a queue under tag_list_lock
Summary
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.
Affected products and versions
Linux (7 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Linux | from 4.14.233 (included) to 4.15 (excluded) |
— | CNA (vendor or assigner) |
| Linux | from 4.19.191 (included) to 4.20 (excluded) |
— | CNA (vendor or assigner) |
| Linux | from 5.4.120 (included) to 5.5 (excluded) |
— | CNA (vendor or assigner) |
| Linux | from 5.10.38 (included) to 5.11 (excluded) |
— | CNA (vendor or assigner) |
| Linux | from 5.11.22 (included) to 5.12 (excluded) |
— | CNA (vendor or assigner) |
| Linux | from 5.12.5 (included) to 5.13 (excluded) |
— | CNA (vendor or assigner) |
| Linux | 5.13 |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://git.kernel.org/stable/c/a6f435cba9508e6ee9f81c1b32ebce9e90031023
- https://git.kernel.org/stable/c/f179c59bea9959901d6b9f0a7e45c170d6fbb2e3
- https://git.kernel.org/stable/c/2aa679bff2e9a90f8a39e769ccb0b03d945a5c52
- https://git.kernel.org/stable/c/b11079315bcbe2bd947e5e819e5f5c03451afc61
- https://git.kernel.org/stable/c/89a2381482d8ff8e4fe0b7d32797bb4f77503b89
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:Linux)