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.
Affected products and versions
Linux Linux313c08c72ee7f87c54e34baec5cc4f4005e8800d – < 75849948cf4401c7bf01e0ac7a070c48c4e733a8 · 313c08c72ee7f87c54e34baec5cc4f4005e8800d – < be556c7761d5f9cbaae5baba821940d5b0523e89 · 313c08c72ee7f87c54e34baec5cc4f4005e8800d – < c2b4c37bd98626ba9436823672cdc54d35ce143d · 313c08c72ee7f87c54e34baec5cc4f4005e8800d – < 2ee5a26ec6d3b3e2b3d6ed981b46d9bd59a1fd4d · 313c08c72ee7f87c54e34baec5cc4f4005e8800d – < 6908a702955929b0876baac9fdc57070780a76f0Fixed in: 75849948cf4401c7bf01e0ac7a070c48c4e733a8 · be556c7761d5f9cbaae5baba821940d5b0523e89 · c2b4c37bd98626ba9436823672cdc54d35ce143d · 2ee5a26ec6d3b3e2b3d6ed981b46d9bd59a1fd4d · 6908a702955929b0876baac9fdc57070780a76f0
Linux Linux6.2Fixed in: 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
References
- git.kernel.org/stable/c/75849948cf4401c7bf01e0ac7a070c48c4e733a8
- git.kernel.org/stable/c/be556c7761d5f9cbaae5baba821940d5b0523e89
- git.kernel.org/stable/c/c2b4c37bd98626ba9436823672cdc54d35ce143d
- git.kernel.org/stable/c/2ee5a26ec6d3b3e2b3d6ed981b46d9bd59a1fd4d
- git.kernel.org/stable/c/6908a702955929b0876baac9fdc57070780a76f0
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.