# CVE-2026-139400: nvme: pass partition flags to passthrough checks

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:34:24.399Z
- Modified: 2026-12-01T06:17:45.813Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

nvme: pass partition flags to passthrough checks

nvme_user_cmd() handles NVME_IOCTL_IO_CMD on namespace block devices,
including partitions. It 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.

Pass flags to the permission check, rejecting unprivileged commands on
partitions.

(As written by CVE List.)

## Affected

- Linux Linux: from 313c08c72ee7f87c54e34baec5cc4f4005e8800d before 75849948cf4401c7bf01e0ac7a070c48c4e733a8; from 313c08c72ee7f87c54e34baec5cc4f4005e8800d before be556c7761d5f9cbaae5baba821940d5b0523e89; from 313c08c72ee7f87c54e34baec5cc4f4005e8800d before c2b4c37bd98626ba9436823672cdc54d35ce143d; from 313c08c72ee7f87c54e34baec5cc4f4005e8800d before 2ee5a26ec6d3b3e2b3d6ed981b46d9bd59a1fd4d; from 313c08c72ee7f87c54e34baec5cc4f4005e8800d before 6908a702955929b0876baac9fdc57070780a76f0; 6.2 (not affected: before 6.2; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/75849948cf4401c7bf01e0ac7a070c48c4e733a8>
- <https://git.kernel.org/stable/c/be556c7761d5f9cbaae5baba821940d5b0523e89>
- <https://git.kernel.org/stable/c/c2b4c37bd98626ba9436823672cdc54d35ce143d>
- <https://git.kernel.org/stable/c/2ee5a26ec6d3b3e2b3d6ed981b46d9bd59a1fd4d>
- <https://git.kernel.org/stable/c/6908a702955929b0876baac9fdc57070780a76f0>

## Sources

- CVE List: [CVE-2026-139400](https://www.cve.org/CVERecord?id=CVE-2026-139400), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139400](https://nvd.nist.gov/vuln/detail/CVE-2026-139400), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139400 · Whole record: https://cve.day/CVE-2026-139400.json · Rebuilt by cve.day 2026-12-01T06:32:23.813Z
