Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C223F33D6F0 for ; Wed, 18 Mar 2026 17:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773855724; cv=none; b=bXM/1//RK7x6Xg3F75v3yQnWJlBFVnoASea7BuMRu0t6Gab8kQa0YfyG34UPVJ2zByeOKZAWipcwNm9hxK6gwvTPxVfR7BpMvFSpf4ghaieG4rBgCD5smrmg5bm3DVePqfeTU7cRSOI9lrScnGzQJ6GqGnAkHjIpRih0e0tiaMw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773855724; c=relaxed/simple; bh=BDz3Dd5KJCUH2m5ulRbShTBkBel/0U1lZqkk0+a8doM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Pj3AUR6AZAzcUxxfNs4PxpV49fnVeHkTxRTfBMSfI564JOHOCr55dZhBPwm7Fs/DOFLCpO5FwAjl1v3cWP4TowpwRgO7HmfMEG5JcD1KtAnB6nYmN4reM8y/Dsm7mcvAkaAEIKr2u9eMHc+CqmvpvEjeYIpGd5sU4yviLOjjggQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m1lgA/XD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="m1lgA/XD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2890EC19421; Wed, 18 Mar 2026 17:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773855724; bh=BDz3Dd5KJCUH2m5ulRbShTBkBel/0U1lZqkk0+a8doM=; h=From:To:Cc:Subject:Date:Reply-To:From; b=m1lgA/XDWCqhQVIYnSXIbPxyzyPOcwSZPKMeNk57haJfs6S26VzN6KMueGt6kFeFp Qp3XyJCz/HKCc5npisHFzGemGIUmhbTFspld4oWQZjkncELFyRnEebNPwzzR25gkax r2ml9SluiQlk51r0RrSW1YhHffD8qT0X3ge0e7ug= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23261: nvme-fc: release admin tagset if init fails Date: Wed, 18 Mar 2026 18:41:24 +0100 Message-ID: <2026031819-CVE-2026-23261-f757@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2808; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/6GP92S37TAmJtu9SpfwMg5UhFTVmjsJqUN6WqQNDcE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm7Hu/fcW/b8Yys2dvdSntW3mnLztn47dCT70vmNwrL7 4sT2GL3rSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm8sybYb7jz59nF5z/uvO1 v3ftVccZze1enxmBovV/25oFt3NP6LBnDInfrLXLf3MmAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: nvme-fc: release admin tagset if init fails nvme_fabrics creates an NVMe/FC controller in following path: nvmf_dev_write() -> nvmf_create_ctrl() -> nvme_fc_create_ctrl() -> nvme_fc_init_ctrl() nvme_fc_init_ctrl() allocates the admin blk-mq resources right after nvme_add_ctrl() succeeds. If any of the subsequent steps fail (changing the controller state, scheduling connect work, etc.), we jump to the fail_ctrl path, which tears down the controller references but never frees the admin queue/tag set. The leaked blk-mq allocations match the kmemleak report seen during blktests nvme/fc. Check ctrl->ctrl.admin_tagset in the fail_ctrl path and call nvme_remove_admin_tag_set() when it is set so that all admin queue allocations are reclaimed whenever controller setup aborts. The Linux kernel CVE team has assigned CVE-2026-23261 to this issue. Affected and fixed versions =========================== Fixed in 6.1.163 with commit b134dead095bc5a58fa2b98b90ae93428cb4b328 Fixed in 6.6.124 with commit 7c54d3f5ebbc5982daaa004260242dc07ac943ea Fixed in 6.12.70 with commit fa301aef50e3f3b5be6ee53457608beae5aa7a01 Fixed in 6.18.10 with commit e810b290922c535feb34bc90ab549446fe94d2a3 Fixed in 6.19 with commit d1877cc7270302081a315a81a0ee8331f19f95c8 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-23261 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/b134dead095bc5a58fa2b98b90ae93428cb4b328 https://git.kernel.org/stable/c/7c54d3f5ebbc5982daaa004260242dc07ac943ea https://git.kernel.org/stable/c/fa301aef50e3f3b5be6ee53457608beae5aa7a01 https://git.kernel.org/stable/c/e810b290922c535feb34bc90ab549446fe94d2a3 https://git.kernel.org/stable/c/d1877cc7270302081a315a81a0ee8331f19f95c8