CVE-2026-23360: nvme: fix admin queue leak on controller reset
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
nvme: fix admin queue leak on controller reset
When nvme_alloc_admin_tag_set() is called during a controller reset, a previous admin queue may still exist. Release it properly before allocating a new one to avoid orphaning the old queue.
This fixes a regression introduced by commit 03b3bcd319b3 ("nvme: fix admin request_queue lifetime").
The Linux kernel CVE team has assigned CVE-2026-23360 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12.62 with commit e8061d02b49c5c901980f58d91e96580e9a14acf and fixed in 6.12.77 with commit 64f87b96de0e645a4c066c7cffd753f334446db6 Issue introduced in 6.18 with commit 03b3bcd319b3ab5182bc9aaa0421351572c78ac0 and fixed in 6.18.17 with commit e159eb852aeee95443a9458ecb7d072bbb689913 Issue introduced in 6.18 with commit 03b3bcd319b3ab5182bc9aaa0421351572c78ac0 and fixed in 6.19.7 with commit 8eb2b3cdcd9b6631b94b82c1f4f6bc32b40d942f Issue introduced in 6.18 with commit 03b3bcd319b3ab5182bc9aaa0421351572c78ac0 and fixed in 7.0-rc3 with commit b84bb7bd913d8ca2f976ee6faf4a174f91c02b8d Issue introduced in 6.1.167 with commit ff037b5f47eeccc1636c03f84cd47db094eb73c9 Issue introduced in 6.6.120 with commit a505f0ba36ab24176c300d7ff56aff85c2977e6c Issue introduced in 6.17.12 with commit e7dac681790556c131854b97551337aa8042215b
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-23360
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/core.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/64f87b96de0e645a4c066c7cffd753f334446db6 https://git.kernel.org/stable/c/e159eb852aeee95443a9458ecb7d072bbb689913 https://git.kernel.org/stable/c/8eb2b3cdcd9b6631b94b82c1f4f6bc32b40d942f https://git.kernel.org/stable/c/b84bb7bd913d8ca2f976ee6faf4a174f91c02b8d