blk-mq: exit the hctxs of a queue under tag_list_lock
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 630ef623ed26c18a457cdc070cf24014e50129c2 to before a6f435cba9508e6ee9f81c1b32ebce9e90031023 Affected630ef623ed26c18a457cdc070cf24014e50129c2 to before f179c59bea9959901d6b9f0a7e45c170d6fbb2e3 Affected630ef623ed26c18a457cdc070cf24014e50129c2 to before 2aa679bff2e9a90f8a39e769ccb0b03d945a5c52 Affected630ef623ed26c18a457cdc070cf24014e50129c2 to before b11079315bcbe2bd947e5e819e5f5c03451afc61 Affected630ef623ed26c18a457cdc070cf24014e50129c2 to before 89a2381482d8ff8e4fe0b7d32797bb4f77503b89 Affected0b948f3c2149680b38757257d37406777338b0dc Affected00b5bc6421739f6eba45eede245846394e0dd279 Affected3c1db90ae0d0210c0695f63f77458124d83508b2 Affected3a96437f6bf85fa64e933cc100445f9278cee1ff Affected929778cfc8f31f3fa793a5fa5f10fe3cd30f63ff Affected5e9e6d114b536c654a7209c98a38f982a2de7009 Affected4.14.233 to before 4.15 Affected4.19.191 to before 4.20 Affected5.4.120 to before 5.5 Affected5.10.38 to before 5.11 Affected5.11.22 to before 5.12 Affected5.12.5 to before 5.13 Affected |
| Linux Linux | 5.13 Affectedbefore 5.13 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.