blk-mq: keep sharing tags fairly after a queue update
- 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: keep sharing tags fairly after a queue update
A hctx only gets BLK_MQ_F_TAG_QUEUE_SHARED from blk_mq_add_queue_tag_set(). The hctxs blk_mq_update_nr_hw_queues() allocates for queues that joined long ago never get it, so they aren't counted in active_queues and hctx_may_queue() lets them take all the tags. One NVMe namespace can starve the others after the first update.
Set the flag on the new hctxs.
| Product | Versions |
|---|---|
| Linux Linux | 868f2f0b72068a097508b6e8870a8950fd8eb7ef to before 6dc3e947dae677696d23a25419461fee033dc439 Affected868f2f0b72068a097508b6e8870a8950fd8eb7ef to before 2635fea90464169f9877fef23e6724fa6f8cf51e Affected868f2f0b72068a097508b6e8870a8950fd8eb7ef to before 43a4f0ea96fc892f7db0e617b763cac85addd620 Affected868f2f0b72068a097508b6e8870a8950fd8eb7ef to before 07c0002942664e0b0989c70694f76e0e7ab9508c Affected868f2f0b72068a097508b6e8870a8950fd8eb7ef to before 0754b9cddc086d646e5d89de0392f5e972ae6da3 Affected868f2f0b72068a097508b6e8870a8950fd8eb7ef to before d9ddab0b8b7218a72c6985e07e0df823688b886e Affected868f2f0b72068a097508b6e8870a8950fd8eb7ef to before e36706f3e33c516e599278e5572649097ffde50c Affected868f2f0b72068a097508b6e8870a8950fd8eb7ef to before 620cfc7a664278a55d068ed88fff1242fddc4ef2 Affected |
| Linux Linux | 4.6 Affectedbefore 4.6 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* 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/6dc3e947dae677696d23a25419461fee033dc439
- https://git.kernel.org/stable/c/2635fea90464169f9877fef23e6724fa6f8cf51e
- https://git.kernel.org/stable/c/43a4f0ea96fc892f7db0e617b763cac85addd620
- https://git.kernel.org/stable/c/07c0002942664e0b0989c70694f76e0e7ab9508c
- https://git.kernel.org/stable/c/0754b9cddc086d646e5d89de0392f5e972ae6da3
- https://git.kernel.org/stable/c/d9ddab0b8b7218a72c6985e07e0df823688b886e
- https://git.kernel.org/stable/c/e36706f3e33c516e599278e5572649097ffde50c
- https://git.kernel.org/stable/c/620cfc7a664278a55d068ed88fff1242fddc4ef2
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.