CVE-2026-139125

blk-mq: keep sharing tags fairly after a queue update

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel's block multi-queue subsystem, a bug in blk_mq_update_nr_hw_queues() allows an NVMe namespace that has recently joined a queue to avoid receiving the BLK_MQ_F_TAG_QUEUE_SHARED flag. As a result, stale host context queues are excluded from the active queue count and can consume all available tags, starving other namespaces. The failure to enforce fair tag distribution can lead to a denial of service where one namespace blocks I/O for the others, potentially degrading or halting system storage performance.

Affected Systems

All versions of the Linux kernel running the block multi-queue (blk-mq) framework that precede the commit adding the missing flag are affected. This includes the kernel source tree targeted by the CVE, which spans multiple distributions that ship the upstream Linux kernel. The vulnerability is present across generic Linux platforms, including servers, desktops, and embedded devices that rely on NVMe storage.

Risk and Exploitability

Because the flaw resides in kernel initialization of NVMe host contexts, the attack requires kernel-level privileges to trigger the queue update that creates the starving namespace. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalogue, but its potential to cause system-wide block device starvation and denial of service warrants immediate attention. The affect is confined to local or administrative attackers who can manipulate NVMe namespace queue parameters or drive a crash by repeatedly updating queues.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the patch which sets BLK_MQ_F_TAG_QUEUE_SHARED for new host contexts during queue updates.
  • Verify that the kernel source includes the commit hash 0754b9cddc086d646e5d89de0392f5e972ae6da3 or its downstream equivalents before applying the change.
  • Where a kernel upgrade cannot be performed immediately, configure system policies to restrict dynamic queue configuration for NVMe namespaces or temporarily suspend queue updates until the fix is applied.

Generated by OpenCVE AI on November 30, 2026 at 20:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-400
Type Values Removed Values Added
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.
Title blk-mq: keep sharing tags fairly after a queue update
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM