CVE-2026-139121
9.8critical
blk-mq: exit the hctxs of a queue under tag_list_lock
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 1.26% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 630ef623ed26c18a457cdc070cf24014e50129c2 before a6f435cba9508e6ee9f81c1b32ebce9e90031023, from 630ef623ed26c18a457cdc070cf24014e50129c2 before f179c59bea9959901d6b9f0a7e45c170d6fbb2e3, from 630ef623ed26c18a457cdc070cf24014e50129c2 before 2aa679bff2e9a90f8a39e769ccb0b03d945a5c52, from 630ef623ed26c18a457cdc070cf24014e50129c2 before b11079315bcbe2bd947e5e819e5f5c03451afc61, from 630ef623ed26c18a457cdc070cf24014e50129c2 before 89a2381482d8ff8e4fe0b7d32797bb4f77503b89, 0b948f3c2149680b38757257d37406777338b0dc, 00b5bc6421739f6eba45eede245846394e0dd279, 3c1db90ae0d0210c0695f63f77458124d83508b2 and 10 more Not affected: before 5.13, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.*, from 6.18.65 up to 6.18.*, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139121 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-139121 changed 2026-12-01 | Public domain |