Skip to contentSkip to conversation

CVE-2026-90412: nvmet: fix return status of RMI log page on allocation failure

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

nvmet: fix return status of RMI log page on allocation failure

nvmet_execute_get_log_page_rmi() leaves 'status' holding NVME_SC_SUCCESS (set by the successful nvmet_req_find_ns() call) when the kzalloc() for the log buffer fails. It then jumps to the out label and completes the request with a success status, so the host is told the command succeeded while no data was transferred.

Initialize 'status' to NVME_SC_INTERNAL, matching the smart log handler, so an allocation failure is reported as an internal error.

The Linux kernel CVE team has assigned CVE-2026-90412 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.13 with commit 5fd075cdaf3649000677d960fd9e45c08081b7e0 and fixed in 7.2.6 with commit 9e136150ac55df4b7ea36e6110ffa39d08905f37
	Issue introduced in 6.13 with commit 5fd075cdaf3649000677d960fd9e45c08081b7e0 and fixed in 7.3-rc1 with commit 581d8bb556dd3e5567bcf322aa5e3e4b6a200c08

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90412

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/nvme/target/admin-cmd.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/9e136150ac55df4b7ea36e6110ffa39d08905f37
	https://git.kernel.org/stable/c/581d8bb556dd3e5567bcf322aa5e3e4b6a200c08