Files
vuln-cve/data/2026/90xxx/CVE-2026-90227.json
T

201 lines
11 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-90227",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-09-11T19:38:34.794Z",
"datePublished": "2026-09-17T16:07:35.989Z",
"dateUpdated": "2026-10-19T09:00:03.749Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-10-19T09:00:03.749Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme/ioctl: check SUBMIT_IO with nvme_cmd_allowed()\n\nUnlike IO_CMD / IO64_CMD, NVME_IOCTL_SUBMIT_IO never calls\nnvme_cmd_allowed(). Unprivileged callers can thus issue I/O on a\npartition device or write through a read-only file descriptor.\n\nPass flags and open_for_write through and reject disallowed commands\nwith -EACCES."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - Attacker-controlled opcode/slba/nblocks enter via copy_from_user of struct nvme_user_io in nvme_submit_io(), reached only through ioctl(NVME_IOCTL_SUBMIT_IO) on an NVMe block or ng* char node (blkdev_ioctl → nvme_ioctl / nvme_ns_chr_ioctl → nvme_ns_ioctl). No remote protocol carries that payload.\nAC:L - nvme_submit_io() copies the user nvme_user_io, accepts nvme_cmd_read/write/compare, and submits with the caller-chosen io.slba; there is no race or layout dependency, so the same ioctl reliably performs the I/O.\nPR:L - nvme_open()/nvme_ns_chr_open() impose no capability check, and the vulnerable nvme_submit_io() path never called nvme_cmd_allowed(), the only CAP_SYS_ADMIN gate for partition and read-only-fd I/O. An unprivileged user who can open a partition or O_RDONLY NVMe node can issue the ioctl.\nUI:N - The attacker opens the NVMe node they already control and issues NVME_IOCTL_SUBMIT_IO themselves; no other user must mount media, pass a file, or otherwise act.\nS:U - Skipping nvme_cmd_allowed() lets the caller read and write other LBAs of the same NVMe namespace in the host kernel. That is intra-OS partition/fd-mode bypass, not a VM, IOMMU, or guest-to-host boundary crossing.\nC:H - On a partition bdev, nvme_ioctl() still uses bdev->bd_disk->private_data (the whole namespace) and nvme_submit_io() programs c.rw.slba from attacker io.slba without adding bd_start_sect, so nvme_cmd_read returns arbitrary namespace LBAs including other partitions.\nI:H - The same path accepts io.opcode=nvme_cmd_write and, because nvme_cmd_allowed() is not called, ignores NVME_IOCTL_PARTITION and !open_for_write, so the attacker can persist writes to any namespace LBA from a partition fd or an O_RDONLY descriptor.\nA:H - Those unscoped nvme_cmd_write commands can overwrite other partitions' metadata, swap, or the OS image on the same namespace, persistently denying use of the host or co-tenant volumes (the failure mode nvme_cmd_allowed() exists to prevent)."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/nvme/host/ioctl.c"
],
"versions": [
{
"version": "a53295b6998f62d961c29e54051c1cf1d738c2b3",
"lessThan": "c35cd98eed1a863e8dd51073953563cd8c907f68",
"status": "affected",
"versionType": "git"
},
{
"version": "a53295b6998f62d961c29e54051c1cf1d738c2b3",
"lessThan": "95b0591d51dbf9e618d7845883d535e88ad7c8af",
"status": "affected",
"versionType": "git"
},
{
"version": "a53295b6998f62d961c29e54051c1cf1d738c2b3",
"lessThan": "736b7c6adc7a65c4411beff197b6a634f7a6ca27",
"status": "affected",
"versionType": "git"
},
{
"version": "a53295b6998f62d961c29e54051c1cf1d738c2b3",
"lessThan": "b116e9dae433ff631f94c36c61a7a78fe400ed1e",
"status": "affected",
"versionType": "git"
},
{
"version": "a53295b6998f62d961c29e54051c1cf1d738c2b3",
"lessThan": "b53d495c7f0db46b6748b5ade48371a10dd5d3bc",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/nvme/host/ioctl.c"
],
"versions": [
{
"version": "3.3",
"status": "affected"
},
{
"version": "0",
"lessThan": "3.3",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.157",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.110",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.52",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.2.6",
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.3",
"versionEndExcluding": "6.6.157"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.3",
"versionEndExcluding": "6.12.110"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.3",
"versionEndExcluding": "6.18.52"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.3",
"versionEndExcluding": "7.2.6"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.3",
"versionEndExcluding": "7.3"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/c35cd98eed1a863e8dd51073953563cd8c907f68"
},
{
"url": "https://git.kernel.org/stable/c/95b0591d51dbf9e618d7845883d535e88ad7c8af"
},
{
"url": "https://git.kernel.org/stable/c/736b7c6adc7a65c4411beff197b6a634f7a6ca27"
},
{
"url": "https://git.kernel.org/stable/c/b116e9dae433ff631f94c36c61a7a78fe400ed1e"
},
{
"url": "https://git.kernel.org/stable/c/b53d495c7f0db46b6748b5ade48371a10dd5d3bc"
}
],
"title": "nvme/ioctl: check SUBMIT_IO with nvme_cmd_allowed()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}