NVMe lets a process send raw commands to a drive through a passthrough ioctl, and since 6.2 the kernel has had a rule that an unprivileged opener of a partition may not do that, because raw commands address the whole namespace and ignore partition boundaries. The kernel CNA record says the rule had a hole: nvme_user_cmd() “receives flags identifying a partition, but passes 0 to nvme_cmd_allowed(), bypassing the partition guard and allowing unprivileged passthrough commands to access sectors outside the partition”. The fix passes the flags through. The CNA and Red Hat score it 7.8; Red Hat’s statement is that a local user with access to an NVMe partition device “can completely circumvent partition isolation boundaries”. On a host that hands individual NVMe partitions to unprivileged users, containers or VMs, upgrade to a kernel at or above 6.6.163, 6.12.119, 6.18.65 or 7.3.6 and reboot; kernels before 6.2 never had the guard this bypasses and are rated not affected.
CVE-2026-139400 at a glance.
| Component | Linux kernel, NVMe host ioctl layer (drivers/nvme/host/ioctl.c): nvme_user_cmd() handling NVME_IOCTL_IO_CMD on a partition |
| Affected versions | from the commit that added the partition guard, 313c08c72ee7 (“nvme: don’t allow unprivileged passthrough on partitions”, 6.2): 6.2 up to 6.6 before 6.6.163, 6.12 before 6.12.119, 6.18 before 6.18.65, 7.3 before 7.3.6 and 7.4 before 7.4-rc1. Kernels before 6.2 do not contain the guard and are not listed as affected |
| Fixed in | mainline 7.4-rc1 (commit 6908a702, the one Debian cites) and stable 6.6.163, 6.12.119, 6.18.65, 7.3.6. One file, one line: the literal 0 passed to nvme_cmd_allowed() becomes the flags the function already received |
| Severity | Kernel CNA CVSS 3.1 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H); NVD shows the CNA metric only; Red Hat Important, 7.8 on the same vector (draft, CWE-749), bug 2586690 “unauthorized data access via NVMe partition boundary bypass” |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00196 (10th percentile) on 1 December 2026 |
| Who is exposed | A host where a non-root user, container or guest has been given read-write access to a partition of an NVMe namespace (/dev/nvme0n1p3, say) rather than the whole disk, and the kernel is 6.2 or later. That opener can send I/O passthrough commands that read or write any LBA on the namespace, including other partitions. Red Hat: default installs restrict block devices to administrators, so exposure rises where partitions are handed out individually |
| Published | CVE record 30 November 2026 (kernel CNA); this page built 2 December 2026, last updated 2 December 2026 |
What it is
The NVMe passthrough ioctls let a program build an NVMe command itself and hand it to the drive; tools like nvme-cli use them for firmware, logs and format operations, and an I/O passthrough command can read or write any logical block in the namespace. Because the command carries its own LBA, the kernel’s partition offset is never applied, so in 6.2 the maintainers added a check in nvme_cmd_allowed(): an opener who holds only a partition, and lacks CAP_SYS_ADMIN, may not send passthrough commands at all.
The record describes the gap: the ioctl entry point for NVME_IOCTL_IO_CMD on a block device, nvme_user_cmd(), is given flags that say whether the opened device is a partition, but when it called the permission check it passed a hard-coded zero in their place. The check therefore believed every caller held the whole namespace and let the partition opener through. A user granted one partition could then read or overwrite sectors belonging to any other partition on that drive, which is the integrity and confidentiality loss behind the 7.8 and Red Hat’s “completely circumvent partition isolation” wording.
The fix, by Yao Sang and reviewed by Christoph Hellwig and Kanchan Joshi, replaces the literal zero with the flags variable, so the existing guard sees the partition bit and rejects the command. Nothing else changes. Debian marks bookworm’s 6.1 kernel not affected because the guard being bypassed does not exist there, and Red Hat likewise lists RHEL 8 and earlier and the RHEL 9 kernel-rt as not affected. git.kernel.org refuses automated readers, so the commit was read on GitHub.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. Only kernels that carry the 6.2 partition guard are affected, which is why the oldest LTS rows are clean.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page: the Alpine tracker refused the automated reader on 2 December 2026 | — |
| Debian | bookworm (6.1.x) not affected (“vulnerable code not present”); trixie (6.12.117-1, security 6.12.118-1) vulnerable; fixed in forky and sid (7.3.6-1); no DSA | unstable 7.3.6-1 |
| Ubuntu | Not consulted for this page: the Ubuntu CVE page refused the automated reader on 2 December 2026 (client error); the Ubuntu row will be filled when the page can be read | — |
| RHEL, Rocky, Alma, CentOS Stream | Important, 7.8 (bug 2586690, CWE-749); kernel affected on RHEL 9 and 10, not affected on RHEL 8 and earlier and RHEL 9 kernel-rt; OpenShift CoreOS 9 and 10 affected; no errata on 2 December 2026 | nothing released on 2 December 2026 |
| openSUSE/SLE | Not consulted: suse.com refused the automated reader on 2 December 2026 (client error) | — |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply | 6.6.163 / 6.12.119 / 6.18.65 / 7.3.6 or later (series before 6.2 are not affected) |
How to check
Three questions: is the running kernel 6.2 or later and below the fixed version for its series, are there NVMe drives, and has any partition node been opened up to a non-root user, container or guest.
# 1. the running kernel: affected from 6.2; fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later
uname -r
# 2. NVMe namespaces and their partitions
lsblk -o NAME,TYPE,SIZE,MOUNTPOINT /dev/nvme* 2>/dev/null
# 3. who can open the partition nodes (anything beyond root:disk 0660 is worth a look)
ls -l /dev/nvme*n*p* 2>/dev/null
getfacl /dev/nvme*n*p* 2>/dev/null | grep -v '^#'
# containers/VMs: look for partition devices passed through
grep -rl 'nvme[0-9]*n[0-9]*p' /etc/libvirt/qemu/ /etc/docker/ 2>/dev/nullA kernel below 6.2 never had the guard and is rated not affected; one at or above the fixed version for its series is done. With no NVMe devices there is nothing to reach. The exposed case is a partition node whose group, mode or ACL lets a non-root account open it read-write, or a partition handed to a container or guest as a device: that opener can address the whole namespace. A host where only root and the disk group can open the nodes is not reachable by an ordinary user. There is no log line for a successful passthrough command; the only trace is unexplained writes outside the partition.
How to fix it
Install the fixed kernel and reboot. Debian forky and sid had 7.3.6-1; trixie, Ubuntu and Red Hat 9/10 had it pending on 2 December; bookworm is not affected. The record lists no mitigation; the operational one is not to hand out NVMe partitions to untrusted openers until the kernel is fixed.
# Debian forky / sid (trixie once a security update names this CVE)
apt update && apt install linux-image-amd64 && systemctl reboot# Ubuntu, RHEL family, SUSE: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
dnf update kernel && systemctl reboot
zypper patch && systemctl reboot# Interim: take a partition away from a non-root opener until the kernel is fixed
setfacl -b /dev/nvme0n1p3 # drop any ACL grants on the node
chmod 0660 /dev/nvme0n1p3 && chgrp disk /dev/nvme0n1p3
# for a VM, prefer a file-backed or LVM volume over a passed-through NVMe partitionIf a workload must have a raw partition today, giving it an LVM logical volume or a loop device instead keeps the same block interface without the NVMe passthrough ioctl behind it, because the guard only matters for NVMe namespaces. What not to do: do not rely on the partition table as a security boundary for an unprivileged NVMe opener on an unfixed 6.2+ kernel, however the node is mounted; the fix is in the kernel, not in udev rules or mount options.
Sources
- CVE-2026-139400 at CVE.org — the kernel CNA record: the “receives flags identifying a partition, but passes 0 to nvme_cmd_allowed(), bypassing the partition guard” sentence, the 6.2 lower bound, the git ranges, the single file (30 November 2026)
- Fix commit 6908a702 (mainline, 7.4-rc1) and the stable backports in the record; git.kernel.org refuses automated readers, so it was read on GitHub: Yao Sang, committed by Keith Busch, Reviewed-by Christoph Hellwig and Kanchan Joshi,
Fixes:313c08c72ee7(“nvme: don’t allow unprivileged passthrough on partitions”), noCc: stable, one file +1/−1 - NVD entry — Received on 30 November 2026; shows the CNA’s 7.8 as its only metric, no NVD score or CWE on 2 December
- Distribution trackers: Debian (bookworm not affected, trixie vulnerable, forky and sid fixed in 7.3.6-1) · Ubuntu (page refused the automated reader on 2 December) · Red Hat (Important 7.8, bug 2586690, RHEL 9/10 affected, RHEL 8 and earlier not) · SUSE and Alpine (both refused the automated reader on 2 December)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00196 (percentile 0.097) on 1 December 2026
Related reading
- CVE-2026-139156: Linux kernel NVMe over RDMA host leaves metadata_sgl NULL and panics on the first T10-PI I/O — the same day’s other NVMe host-side entry, on the RDMA transport
- CVE-2026-139149: Linux kernel NVMe target lets a second Connect with sqsize 0 unbind the first and leak the controller until reboot — the NVMe target side of the same batch, a remote resource leak
- CVE-2026-139159: Linux kernel NVMe target frees a metadata scatter list twice — the same day’s other NVMe target entry
- CVE-2026-139120: Linux kernel blk-mq initialises a queue without the tag-list lock — the other Critical-rated block-layer entry from the same day
- The Kernel — what a passthrough ioctl is and why partitions are not a security boundary for it
This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

