CVE-2026-139120: Linux kernel blk-mq race can free shared queue tags during NVMe controller reset
A race in the Linux kernel's blk-mq storage layer (CVE-2026-139120) can corrupt kernel memory when an NVMe controller resets while namespaces are being scanned. Fixed kernels exist for the 6.18 and 7.3 lines, and no exploitation is known.
- CVE-2026-139120
Quick answers
What is CVE-2026-139120?
CVE-2026-139120 (CVE-2026-139120) is a vulnerability in Linux kernel (blk-mq block layer). A race in the Linux kernel's blk-mq storage layer (CVE-2026-139120) can corrupt kernel memory when an NVMe controller resets while namespaces are being scanned. Fixed kernels exist for the 6.18 and 7.3 lines, and no exploitation is known.
Am I affected by CVE-2026-139120?
CVE-2026-139120 affects Linux kernels from 4.6 up to but not including 6.18.65, and from 6.19 up to but not including 7.3.6, according to OSV data. The bug is in the blk-mq block layer, and the fix commit names an NVMe controller reset during a namespace scan as the trigger, so Linux servers, VMs and Kubernetes nodes with NVMe storage are the most relevant. Distribution kernels use their own version numbers, so check your vendor's advisory for this CVE.
Which versions fix CVE-2026-139120?
4.6 through 6.18.x: 6.18.65; 6.19 through 7.3.x: 7.3.6; Older longterm lines (for example 6.12, 6.6, 6.1): Not published in the data we have; Mainline: Commit 4fcc499ea9bc (release tag not stated in our sources)
Is CVE-2026-139120 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-139120?
There is no official workaround for CVE-2026-139120 in the Linux kernel. The fix is to run a kernel that includes upstream commit 4fcc499ea9bc: 6.18.65 or later on the 6.18 line, 7.3.6 or later on the 7.3 line (per OSV), or a distribution kernel whose changelog lists CVE-2026-139120. Applying it needs a reboot or node image upgrade.
Until you can patch, you can lower the chance of hitting the CVE-2026-139120 race on unpatched Linux hosts. The fix commit says an NVMe controller reset during a namespace scan triggers it, so avoid manual NVMe controller resets and namespace rescans or hot-adds on production hosts. This is our reading of the commit, not vendor guidance, and it does not help when resets come from hardware or firmware errors.
For older longterm lines such as 6.12, 6.6 and 6.1, no fixed version is listed in the data we have, and OSV marks everything from 4.6 below 6.18.65 as affected. Watch your distribution's security tracker for a backport.
What this means for your business
A new disk queue can free tag memory that all the other queues on the same device still share. That is kernel memory corruption in the storage path.
The CNA scores it 9.8 (CVSS 3.1) with high impact on confidentiality, integrity and availability.
The most direct practical outcome is a host crash or failed I/O on affected servers. This is our reading of the commit message, not a statement from the source.
No known exploitation, no public proof of concept and no CISA KEV listing as of 2026-12-01.
Is this about you? CVE-2026-139120 affects Linux kernels from 4.6 up to but not including 6.18.65, and from 6.19 up to but not including 7.3.6, according to OSV data. The bug is in the blk-mq block layer, and the fix commit names an NVMe controller reset during a namespace scan as the trigger, so Linux servers, VMs and Kubernetes nodes with NVMe storage are the most relevant. Distribution kernels use their own version numbers, so check your vendor's advisory for this CVE.
Ask your team or provider:
- Which of our Linux servers, VMs and Kubernetes node pools run a kernel older than
6.18.65, or between6.19and7.3.5? - Do those hosts use NVMe storage?
- Has our Linux distribution or cloud node image vendor shipped a kernel whose changelog lists CVE-2026-139120?
- When is our next reboot window for kernel updates, and can node image upgrades be scheduled into it?
How fast: No exploitation is known, so this is not an emergency reboot today. Plan the kernel update for your next patch cycle, ideally within two weeks, and sooner for NVMe-heavy hosts that log controller resets.
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
| Line | Affected | Fixed in |
|---|---|---|
| 4.6 through 6.18.x | 4.6 up to before 6.18.65 | 6.18.65 |
| 6.19 through 7.3.x | 6.19 up to before 7.3.6 | 7.3.6 |
| Older longterm lines (for example 6.12, 6.6, 6.1) | Inside the OSV range 4.6 to before 6.18.65 | Not published in the data we have |
| Mainline | Before commit 4fcc499ea9bc | Commit 4fcc499ea9bc (release tag not stated in our sources) |
Ranges come from OSV. The bug was introduced by commit 868f2f0b7206 ("blk-mq: dynamic h/w context count"). The upstream fix is 4fcc499ea9bc, with stable backports e7e089b61901 and 515e21112411; our sources do not say which stable branch each backport landed in. Distribution kernels (Ubuntu, RHEL, Azure Linux and others) backport fixes under their own version numbers, so a lower version string can still be patched. The sources also pull in different directions on severity: the CNA vector AV:N/PR:N rates it network-reachable with no privileges, while the commit message describes a race triggered by an NVMe controller reset during a namespace scan, which is a local storage event.
When it can be exploited
- A Linux kernel in an affected range.
- A block device driver using blk-mq with a shared tag set. The commit names NVMe.
- A hardware queue update (such as an NVMe controller reset) racing with setup of a new queue (such as a namespace scan).
- The sources do not explain how an attacker would trigger this remotely, despite the CNA's network vector.
Check if you are affected
# Kernel version
uname -r
# NVMe devices present?
lsblk -d -o NAME,TRAN,MODEL
ls /sys/class/nvme 2>/dev/null
# Debian/Ubuntu: does the running kernel's changelog mention the CVE?
apt changelog linux-image-$(uname -r) 2>/dev/null | grep -m1 CVE-2026-139120
# RHEL/Fedora/Azure Linux
rpm -q --changelog kernel 2>/dev/null | grep -m1 CVE-2026-139120
# Kubernetes: kernel version per node
kubectl get nodes -o custom-columns=NAME:.metadata.name,KERNEL:.status.nodeInfo.kernelVersion,OS:.status.nodeInfo.osImage
All commands are read-only. Compare uname -r with the ranges above for upstream kernels. For distribution kernels, trust the vendor changelog or advisory over the version number. No changelog match does not prove you are vulnerable; your vendor may not have published yet.
If you can't upgrade today
There is no official workaround for CVE-2026-139120 in the Linux kernel. The fix is to run a kernel that includes upstream commit 4fcc499ea9bc: 6.18.65 or later on the 6.18 line, 7.3.6 or later on the 7.3 line (per OSV), or a distribution kernel whose changelog lists CVE-2026-139120. Applying it needs a reboot or node image upgrade.
Until you can patch, you can lower the chance of hitting the CVE-2026-139120 race on unpatched Linux hosts. The fix commit says an NVMe controller reset during a namespace scan triggers it, so avoid manual NVMe controller resets and namespace rescans or hot-adds on production hosts. This is our reading of the commit, not vendor guidance, and it does not help when resets come from hardware or firmware errors.
For older longterm lines such as 6.12, 6.6 and 6.1, no fixed version is listed in the data we have, and OSV marks everything from 4.6 below 6.18.65 as affected. Watch your distribution's security tracker for a backport.
# Read-only inventory of kernel versions across Kubernetes nodes
kubectl get nodes -o custom-columns=NAME:.metadata.name,KERNEL:.status.nodeInfo.kernelVersion,IMAGE:.status.nodeInfo.osImage
Signs you were already hit
No indicators of compromise are published. Look for signs that the race fired: kernel oops or BUG messages mentioning blk_mq or NVMe, NVMe reset messages followed by I/O errors, unexpected reboots, or filesystem errors on NVMe-backed volumes. A read-only starting point: journalctl -k --no-pager | grep -iE 'nvme.*reset|BUG:|general protection|blk_mq' | tail -n 50. A crash alone does not mean an attack; with no public exploit, a hardware-triggered race is the more likely cause.
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 assess exposure to CVE-2026-139120, a race in the Linux kernel blk-mq block layer (fix commit 4fcc499ea9bc, "blk-mq: set up a queue under tag_list_lock"). Per OSV, affected kernels are 4.6 up to before 6.18.65, and 6.19 up to before 7.3.6. Fixed: 6.18.65 and 7.3.6. No fixed version is published for older longterm lines.
Tasks:
1. Search this repository for places that select or pin a Linux kernel or OS image: Terraform, Bicep or ARM templates, AKS node pool settings (node image version, OS SKU, auto-upgrade channel), Packer templates, cloud-init, Ansible roles, VM image references and CI runner images.
2. List each finding with file path, line, the current kernel or image value, and whether it is in the affected range or unknown.
3. Note where NVMe-backed VM sizes or disks are configured, since the commit names NVMe controller resets as the trigger.
4. Propose a diff that moves each pinned image or kernel to a version that includes the fix, or enables the existing upgrade mechanism. If no fixed version is known for a line, say so instead of guessing.
Rules: investigate and propose only. Do not apply changes, run terraform apply, upgrade node pools, deploy, reboot or restart anything. Only run read-only commands. Present the diff for human review.
Timeline
Fix authored by Josef Bacik: blk-mq: set up a queue under tag_list_lock.
Fix committed upstream by Jens Axboe as
4fcc499ea9bc.Stable backports
e7e089b61901and515e21112411committed by Greg Kroah-Hartman.CVE-2026-139120 published with CNA CVSS 3.1 score 9.8.
CVE record last modified. No KEV listing, EPSS data or public proof of concept in our sources.
Sources
- Upstream fix commit 4fcc499ea9bc (kernel.org)
- Stable backport 515e21112411 (kernel.org)
- Stable backport e7e089b61901 (kernel.org)
- NVD: CVE-2026-139120
Checked 1 Dec 2026. We update this page when the vendor, CISA or the distributions change the picture.