CVE-2026-139400

Source
https://cve.org/CVERecord?id=CVE-2026-139400
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139400.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139400
Downstream
Published
2026-11-30T13:34:24Z
Modified
2026-11-30T15:02:28Z
Summary
nvme: pass partition flags to passthrough checks
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139400.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
313c08c72ee7f87c54e34baec5cc4f4005e8800d
Fixed
75849948cf4401c7bf01e0ac7a070c48c4e733a8
Fixed
be556c7761d5f9cbaae5baba821940d5b0523e89
Fixed
c2b4c37bd98626ba9436823672cdc54d35ce143d
Fixed
2ee5a26ec6d3b3e2b3d6ed981b46d9bd59a1fd4d
Fixed
6908a702955929b0876baac9fdc57070780a76f0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139400.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139400.json"