CVE-2026-90411: nvme-fc: unmap cmd_iu DMA on rsp_iu mapping failure in init_request
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
nvme-fc: unmap cmd_iu DMA on rsp_iu mapping failure in init_request
__nvme_fc_init_request() maps cmd_iu and then rsp_iu for DMA. If the rsp_iu mapping fails, the original code only recorded the error and fell
through: it left the already-mapped cmd_iu unmapped and still marked the op as FCPOP_STATE_IDLE before returning. Since blk-mq does not call .exit_request() when .init_request() fails, the cmd_iu mapping is leaked for every op whose rsp_iu mapping fails.
Jump to an error path on rsp_iu mapping failure that unmaps cmd_iu and returns the error without marking the op idle, so it stays in the FCPOP_STATE_UNINIT state set by the initial memset().
The Linux kernel CVE team has assigned CVE-2026-90411 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.10 with commit e399441de9115cd472b8ace6c517708273ca7997 and fixed in 5.10.270 with commit c0892cfb60a75e2c86ba8e2127b133f6549c12b3 Issue introduced in 4.10 with commit e399441de9115cd472b8ace6c517708273ca7997 and fixed in 5.15.221 with commit 5e820d04c241c81a47e1940349018690e93d8167 Issue introduced in 4.10 with commit e399441de9115cd472b8ace6c517708273ca7997 and fixed in 6.1.188 with commit bb0251991420c25e3ceeac40ea09250d79ed7ef0 Issue introduced in 4.10 with commit e399441de9115cd472b8ace6c517708273ca7997 and fixed in 6.6.157 with commit acc173608ca7abe5dee8983086b44efd8b0dbc84 Issue introduced in 4.10 with commit e399441de9115cd472b8ace6c517708273ca7997 and fixed in 6.12.110 with commit 18c5781ed8bc2f423c26ec93e47e2057cd76a783 Issue introduced in 4.10 with commit e399441de9115cd472b8ace6c517708273ca7997 and fixed in 6.18.52 with commit bd764baf82bb46e958a0bd0b481630dd71313055 Issue introduced in 4.10 with commit e399441de9115cd472b8ace6c517708273ca7997 and fixed in 7.2.6 with commit be5eb47ee3fea338efae1a5b678d6bb5f0fcc931 Issue introduced in 4.10 with commit e399441de9115cd472b8ace6c517708273ca7997 and fixed in 7.3-rc1 with commit f49d0c3a8d56a7cda1628ae17341a4a42063563c
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-90411
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/host/fc.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/c0892cfb60a75e2c86ba8e2127b133f6549c12b3 https://git.kernel.org/stable/c/5e820d04c241c81a47e1940349018690e93d8167 https://git.kernel.org/stable/c/bb0251991420c25e3ceeac40ea09250d79ed7ef0 https://git.kernel.org/stable/c/acc173608ca7abe5dee8983086b44efd8b0dbc84 https://git.kernel.org/stable/c/18c5781ed8bc2f423c26ec93e47e2057cd76a783 https://git.kernel.org/stable/c/bd764baf82bb46e958a0bd0b481630dd71313055 https://git.kernel.org/stable/c/be5eb47ee3fea338efae1a5b678d6bb5f0fcc931 https://git.kernel.org/stable/c/f49d0c3a8d56a7cda1628ae17341a4a42063563c