nvme: pass partition flags to passthrough checks
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 313c08c72ee7f87c54e34baec5cc4f4005e8800d to before 75849948cf4401c7bf01e0ac7a070c48c4e733a8 Affected313c08c72ee7f87c54e34baec5cc4f4005e8800d to before be556c7761d5f9cbaae5baba821940d5b0523e89 Affected313c08c72ee7f87c54e34baec5cc4f4005e8800d to before c2b4c37bd98626ba9436823672cdc54d35ce143d Affected313c08c72ee7f87c54e34baec5cc4f4005e8800d to before 2ee5a26ec6d3b3e2b3d6ed981b46d9bd59a1fd4d Affected313c08c72ee7f87c54e34baec5cc4f4005e8800d to before 6908a702955929b0876baac9fdc57070780a76f0 Affected |
| Linux Linux | 6.2 Affectedbefore 6.2 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.