{"id":"CVE-2026-139400","summary":"nvme: pass partition flags to passthrough checks","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme: pass partition flags to passthrough checks\n\nnvme_user_cmd() handles NVME_IOCTL_IO_CMD on namespace block devices,\nincluding partitions. It receives flags identifying a partition, but\npasses 0 to nvme_cmd_allowed(), bypassing the partition guard and\nallowing unprivileged passthrough commands to access sectors outside\nthe partition.\n\nPass flags to the permission check, rejecting unprivileged commands on\npartitions.","modified":"2026-11-30T15:02:28.225475153Z","published":"2026-11-30T13:34:24.399Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139400.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2ee5a26ec6d3b3e2b3d6ed981b46d9bd59a1fd4d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6908a702955929b0876baac9fdc57070780a76f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75849948cf4401c7bf01e0ac7a070c48c4e733a8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be556c7761d5f9cbaae5baba821940d5b0523e89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2b4c37bd98626ba9436823672cdc54d35ce143d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139400.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139400"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}