{"id":"CVE-2026-90412","state":"PUBLISHED","title":"nvmet: fix return status of RMI log page on allocation failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix return status of RMI log page on allocation failure\n\nnvmet_execute_get_log_page_rmi() leaves 'status' holding NVME_SC_SUCCESS\n(set by the successful nvmet_req_find_ns() call) when the kzalloc() for\nthe log buffer fails. It then jumps to the out label and completes the\nrequest with a success status, so the host is told the command succeeded\nwhile no data was transferred.\n\nInitialize 'status' to NVME_SC_INTERNAL, matching the smart log handler,\nso an allocation failure is reported as an internal error.","publishedAt":"2026-09-17T16:09:38.732Z","updatedAt":"2026-10-19T09:03:16.487Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5fd075cdaf3649000677d960fd9e45c08081b7e0","status":"affected","lessThan":"ffd56ada81f975a33f1df447f1bec9090a818e98","versionType":"git"},{"version":"5fd075cdaf3649000677d960fd9e45c08081b7e0","status":"affected","lessThan":"9e136150ac55df4b7ea36e6110ffa39d08905f37","versionType":"git"},{"version":"5fd075cdaf3649000677d960fd9e45c08081b7e0","status":"affected","lessThan":"581d8bb556dd3e5567bcf322aa5e3e4b6a200c08","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/admin-cmd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/admin-cmd.c"]}],"references":["https://git.kernel.org/stable/c/ffd56ada81f975a33f1df447f1bec9090a818e98","https://git.kernel.org/stable/c/9e136150ac55df4b7ea36e6110ffa39d08905f37","https://git.kernel.org/stable/c/581d8bb556dd3e5567bcf322aa5e3e4b6a200c08"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/90xxx/CVE-2026-90412.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-90412","state":"PUBLISHED","datePublished":"2026-09-17T16:09:38.732Z","dateUpdated":"2026-10-19T09:03:16.487Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.812Z"},"containers":{"cna":{"title":"nvmet: fix return status of RMI log page on allocation failure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix return status of RMI log page on allocation failure\n\nnvmet_execute_get_log_page_rmi() leaves 'status' holding NVME_SC_SUCCESS\n(set by the successful nvmet_req_find_ns() call) when the kzalloc() for\nthe log buffer fails. It then jumps to the out label and completes the\nrequest with a success status, so the host is told the command succeeded\nwhile no data was transferred.\n\nInitialize 'status' to NVME_SC_INTERNAL, matching the smart log handler,\nso an allocation failure is reported as an internal error."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5fd075cdaf3649000677d960fd9e45c08081b7e0","status":"affected","lessThan":"ffd56ada81f975a33f1df447f1bec9090a818e98","versionType":"git"},{"version":"5fd075cdaf3649000677d960fd9e45c08081b7e0","status":"affected","lessThan":"9e136150ac55df4b7ea36e6110ffa39d08905f37","versionType":"git"},{"version":"5fd075cdaf3649000677d960fd9e45c08081b7e0","status":"affected","lessThan":"581d8bb556dd3e5567bcf322aa5e3e4b6a200c08","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/admin-cmd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/admin-cmd.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ffd56ada81f975a33f1df447f1bec9090a818e98"},{"url":"https://git.kernel.org/stable/c/9e136150ac55df4b7ea36e6110ffa39d08905f37"},{"url":"https://git.kernel.org/stable/c/581d8bb556dd3e5567bcf322aa5e3e4b6a200c08"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:03:16.487Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}