Vulnerability · Linux kernel (block layer, blk-mq) · updated

CVE-2026-139121: Linux kernel blk-mq race during block queue teardown (NVMe reset path)

CVE-2026-139121 is a race condition in the Linux kernel block layer (blk-mq) that can leave block device queue structures torn down twice and their replacements leaked. The CNA rates it 9.8 critical, but no exploitation or public exploit is known, and the published description points to a local teardown race around NVMe controller resets rather than a clear remote attack.

FixSome versions only
ExploitationNone reported
Public exploit codeNot public
CISA KEVNot listed
Severity9.8 (CVSS 3.1, CNA)

Quick answers

What is CVE-2026-139121?

CVE-2026-139121 (CVE-2026-139121) is a vulnerability in Linux kernel (block layer, blk-mq). CVE-2026-139121 is a race condition in the Linux kernel block layer (blk-mq) that can leave block device queue structures torn down twice and their replacements leaked. The CNA rates it 9.8 critical, but no exploitation or public exploit is known, and the published description points to a local teardown race around NVMe controller resets rather than a clear remote attack.

Am I affected by CVE-2026-139121?

CVE-2026-139121 affects Linux kernel 5.13.0 up to before 6.6.163, 6.7 up to before 6.12.119, 6.13 up to before 6.18.65, and 6.19 up to before 7.3.6, plus the older stable lines from 4.14.233, 4.19.191, 5.4.120, 5.10.38, 5.11.22 and 5.12.5, which have no fixed release listed. The described trigger involves the blk-mq block layer and NVMe namespace setup during a controller reset, so Linux hosts with NVMe storage are the most relevant. Distribution kernels backport fixes under their own version numbers, so check your vendor's advisory rather than the upstream number alone.

Which versions fix CVE-2026-139121?

4.14.y: No fix published yet; 4.19.y: No fix published yet; 5.4.y: No fix published yet; 5.10.y: No fix published yet; 5.11.y: No fix published yet; 5.12.y: No fix published yet; 5.13 to 6.6.y (includes 5.15.y and 6.1.y): 6.6.163 (no separate fix listed for 5.15.y or 6.1.y); 6.7 to 6.12.y: 6.12.119; 6.13 to 6.18.y: 6.18.65; 6.19 to 7.3.y: 7.3.6; mainline: Commit 89a2381482d8; the first mainline release containing it is not stated in our sources

Is CVE-2026-139121 being exploited?

No exploitation in the wild has been reported; it is not in the CISA KEV catalog.

Is there a workaround for CVE-2026-139121?

No official workaround for CVE-2026-139121 has been published. The fix is a kernel update: upstream Linux 6.6.163, 6.12.119, 6.18.65 or 7.3.6, or your distribution's kernel that includes the backport of commit 89a2381482d8 ("blk-mq: exit the hctxs of a queue under tag_list_lock"). A reboot into the new kernel is needed for the fix to take effect. For Linux kernel 4.14.y, 4.19.y, 5.4.y, 5.10.y, and 5.15.y/6.1.y (which fall inside the 5.13.0 to 6.6.163 range), no upstream fixed release is listed as of 2026-12-01. If you run these lines, watch your distribution's advisory or move to a supported line that has the fix. Until you patch, prioritise hosts with NVMe storage and hosts where untrusted users or workloads can run code. On AKS, roll node pools to a node image that carries a fixed kernel through your usual upgrade process.

What this means for your business

The fix commit says that when a block queue is being torn down while the kernel changes the number of hardware queues, the queue's hardware contexts are exited twice and new ones are created that nobody cleans up.

The bundle does not spell out the practical consequence (crash, memory corruption or worse). The CNA scores confidentiality, integrity and availability impact as high.

The CNA vector is network, no privileges, no user interaction (AV:N/AC:L/PR:N/UI:N). The commit message describes a race in local block device teardown and does not explain any remote path. We read the score as a worst case, not a sign of easy remote attack.

No entry in CISA KEV, no EPSS data and no public proof of concept are listed as of 2026-12-01.

Several older stable kernel lines (4.14, 4.19, 5.4, 5.10, and 5.15/6.1 inside the 5.13.0 to 6.6.163 range) have no fix listed yet.

Is this about you? CVE-2026-139121 affects Linux kernel 5.13.0 up to before 6.6.163, 6.7 up to before 6.12.119, 6.13 up to before 6.18.65, and 6.19 up to before 7.3.6, plus the older stable lines from 4.14.233, 4.19.191, 5.4.120, 5.10.38, 5.11.22 and 5.12.5, which have no fixed release listed. The described trigger involves the blk-mq block layer and NVMe namespace setup during a controller reset, so Linux hosts with NVMe storage are the most relevant. Distribution kernels backport fixes under their own version numbers, so check your vendor's advisory rather than the upstream number alone.

Ask your team or provider:

How fast: No known exploitation, so we suggest fixing in your next planned kernel maintenance window and within 30 days. Bring it forward for shared or multi-tenant hosts with NVMe storage. Re-assess immediately if it is added to CISA KEV or a public exploit appears.

Not sure if you are exposed?

We check your servers and containers with read-only access, tell you what is exposed, and patch it in a window you approve.

For engineers

LineAffectedFixed in
4.14.y4.14.233 and laterNo fix published yet
4.19.y4.19.191 and laterNo fix published yet
5.4.y5.4.120 and laterNo fix published yet
5.10.y5.10.38 and laterNo fix published yet
5.11.y5.11.22 and laterNo fix published yet
5.12.y5.12.5 and laterNo fix published yet
5.13 to 6.6.y (includes 5.15.y and 6.1.y)5.13.0 up to before 6.6.1636.6.163 (no separate fix listed for 5.15.y or 6.1.y)
6.7 to 6.12.y6.7.0 up to before 6.12.1196.12.119
6.13 to 6.18.y6.13.0 up to before 6.18.656.18.65
6.19 to 7.3.y6.19.0 up to before 7.3.67.3.6
mainlineSince commit 630ef623ed26 ("blk-mq: Swap two calls in blk_mq_exit_queue()")Commit 89a2381482d8; the first mainline release containing it is not stated in our sources

Ranges come from the OSV record. Upstream stable backports were committed on 2026-11-23 as a6f435cba950, 2aa679bff2e9, b11079315bcb and f179c59bea99; the sources do not say which commit maps to which branch. Distribution kernels (Ubuntu, RHEL, Azure Linux, AKS node images and others) carry their own version numbers and backports, so uname -r alone does not tell you if you are fixed. Our sources contain no distribution advisories yet.

When it can be exploited

Check if you are affected

uname -r
cat /proc/version
ls /sys/class/nvme/ 2>/dev/null
lsblk -d -o NAME,TRAN,MODEL
# Debian/Ubuntu: look for the fix in the installed kernel package changelog
apt changelog linux-image-$(uname -r) 2>/dev/null | grep -i 'tag_list_lock'
# RHEL/Azure Linux/Fedora family
rpm -q --changelog kernel 2>/dev/null | grep -i 'tag_list_lock'
# AKS: list node kernel versions
kubectl get nodes -o wide

All commands are read-only. Compare the running kernel with the table above for upstream kernels. For distribution kernels, rely on your vendor's changelog or advisory; the grep looks for the fix title "exit the hctxs of a queue under tag_list_lock" but vendors may word changelogs differently, so no match does not prove you are affected. ls /sys/class/nvme/ and lsblk show whether the host uses NVMe devices, which matter for the trigger described in the fix.

If you can't upgrade today

No official workaround for CVE-2026-139121 has been published. The fix is a kernel update: upstream Linux 6.6.163, 6.12.119, 6.18.65 or 7.3.6, or your distribution's kernel that includes the backport of commit 89a2381482d8 ("blk-mq: exit the hctxs of a queue under tag_list_lock"). A reboot into the new kernel is needed for the fix to take effect. For Linux kernel 4.14.y, 4.19.y, 5.4.y, 5.10.y, and 5.15.y/6.1.y (which fall inside the 5.13.0 to 6.6.163 range), no upstream fixed release is listed as of 2026-12-01. If you run these lines, watch your distribution's advisory or move to a supported line that has the fix. Until you patch, prioritise hosts with NVMe storage and hosts where untrusted users or workloads can run code. On AKS, roll node pools to a node image that carries a fixed kernel through your usual upgrade process.

Signs you were already hit

No indicators of compromise have been published for CVE-2026-139121, and no exploitation is known. The fix commit describes queue contexts being exited twice around NVMe controller resets, so as our own inference the place to look is the kernel log for oopses, BUG: or WARNING: lines mentioning blk_mq or nvme near a controller reset. A read-only search: journalctl -k --since 2026-10-01 | grep -iE 'blk_mq|nvme.*reset|BUG:|WARNING:'. A crash here is more likely a stability symptom than proof of an attack; treat unexplained kernel crashes on shared hosts as worth a closer look.

Prompt for your coding agent

Paste this into Claude Code, Codex or Cursor, opened in the repository that holds your server and deployment configuration. It only reads and proposes changes; review the diff before you apply it.

You are helping us assess exposure to CVE-2026-139121, a Linux kernel blk-mq race fixed upstream in `6.6.163`, `6.12.119`, `6.18.65` and `7.3.6` (fix commit `89a2381482d8`, "blk-mq: exit the hctxs of a queue under tag_list_lock"). Upstream lines `4.14`, `4.19`, `5.4`, `5.10`, `5.15` and `6.1` have no fixed release listed yet. Investigate this repository only. Do not apply changes, do not deploy, do not restart or reboot anything, and do not run any command that modifies state; read-only commands only.

1. Find every place that decides which Linux kernel or OS image our hosts run: Terraform, Bicep or ARM templates (VM image references, AKS `kubernetes_version`, node image versions, node OS SKU), Packer templates, cloud-init, Ansible or shell scripts that install or pin kernel packages (for example `apt-mark hold`, version-pinned `linux-image-*` or `kernel` packages), and CI runner or build agent images.
2. List each one with file path, line, current value, and which environment it affects.
3. Note that container images do not ship their own kernel; skip Dockerfiles unless they build host or VM images.
4. Flag any host definitions that use NVMe-backed storage or VM sizes, since the fix commit describes a trigger during NVMe controller reset.
5. Propose a diff that moves each pinned image or kernel to a version that includes the fix, or removes pins that block kernel updates. Where you cannot confirm a fixed version from the vendor, leave a TODO comment instead of guessing.
6. Output: a short summary table, the proposed diff, and a list of open questions for a human reviewer. Present the diff for review only.

Timeline

  1. Fix "blk-mq: exit the hctxs of a queue under tag_list_lock" authored by Josef Bacik.

  2. Fix committed by Jens Axboe as 89a2381482d8.

  3. Stable backports committed by Greg Kroah-Hartman, including a6f435cba950, 2aa679bff2e9 and b11079315bcb.

  4. CVE-2026-139121 published, CNA score 9.8 (CVSS 3.1).

  5. CVE record last modified. No KEV listing, EPSS data or public proof of concept known.

Sources

Checked 1 Dec 2026. We update this page when the vendor, CISA or the distributions change the picture.