nvme: pass partition flags to passthrough checks
Summary
| CVE | CVE-2026-139400 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:08 UTC |
| Updated | 2026-12-01 06:17:45 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 313c08c72ee7f87c54e34baec5cc4f4005e8800d 75849948cf4401c7bf01e0ac7a070c48c4e733a8 git | Not specified |
| CNA | Linux | Linux | affected 313c08c72ee7f87c54e34baec5cc4f4005e8800d be556c7761d5f9cbaae5baba821940d5b0523e89 git | Not specified |
| CNA | Linux | Linux | affected 313c08c72ee7f87c54e34baec5cc4f4005e8800d c2b4c37bd98626ba9436823672cdc54d35ce143d git | Not specified |
| CNA | Linux | Linux | affected 313c08c72ee7f87c54e34baec5cc4f4005e8800d 2ee5a26ec6d3b3e2b3d6ed981b46d9bd59a1fd4d git | Not specified |
| CNA | Linux | Linux | affected 313c08c72ee7f87c54e34baec5cc4f4005e8800d 6908a702955929b0876baac9fdc57070780a76f0 git | Not specified |
| CNA | Linux | Linux | affected 6.2 | Not specified |
| CNA | Linux | Linux | unaffected 6.2 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.163 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.119 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.65 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.6 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/c2b4c37bd98626ba9436823672cdc54d35ce143d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/75849948cf4401c7bf01e0ac7a070c48c4e733a8 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6908a702955929b0876baac9fdc57070780a76f0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/be556c7761d5f9cbaae5baba821940d5b0523e89 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2ee5a26ec6d3b3e2b3d6ed981b46d9bd59a1fd4d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.