From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796290629; b=FsKuktxd1AONr54QiUhSri+6eySODN3zSitHkc3mAehomBoru5i8XVpjAH+7MSO8x1qM sNZt+usNz3T2e/XqWzG5/L305dKfd40npu9kdQkmmiI5AyVLXJ+Dd5cxNMK4QYChfehWe 7pcUfW9u7Nr0w+Fjj0UWGGwZcTGk/n8aoipS0rlBtRkjQratB91ozoExnyKv1XYvnj0bv ePOtOgC9Zbl0ylLUJ8E/AjTjEUpZbGbNi8qGevU3Xk8xuRmehb/UI384k2Qj85Oal0ErL SngR3nLbe6ololt6+MguKB6covYXbwyXp5j8BxUHuF5WuEiouAE4br82SyTaNNJO63Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796290629; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=p8aZMXuHJCvvgdbN/H8cVKjUfYYUGnhs2hwqUONvneQ=; b=r/C+5BZBt2+nLGHUXIYVHE5r9onjhyvz1Jgajyfn2krsjAU7kBG4OnzS7HtSQoQS9EAL o4fwi5hg8imFLvGmqcOPZh6WGExeJIQY0dMlmC6hSUGumjnqYj+D+sI+fiwuwfh7hq7qX aDyUJ4fsepxa0sA59WkC7QVpe1dRL6jg3dkQ7lVsKewUWJWCLnvXl5HxMFN0ktfI0vi+J iK2hyHe46zsFP2GAt3fRqdASOD+r4g93L75PZke9A5WxHVZvM1hg6NpBIQCNQByBJ8Gso GXKvDcU6YCT104yM3FCu48h1NAda2a+7nhrLslWljsu7hSAyeTzse6gzcmKiJOIar7A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Q3Sf9Qj+; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 526FE606A32C for ; Thu, 3 Dec 2026 09:37:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Q3Sf9Qj+ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F0BF1F000C1; Thu, 3 Dec 2026 09:37:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796290629; bh=p8aZMXuHJCvvgdbN/H8cVKjUfYYUGnhs2hwqUONvneQ=; h=From:To:Cc:Subject:Date:Reply-To; b=Q3Sf9Qj+val6yDzKFOzGWYX0rBJ9oYU809kQJUxxjoYiOs13q9Qp1XiuQBvi6X/Sn hZ7mzxxwrjKOHYo69o4WzizwPQaW5Dns3Ny6L9LlE8qL7gZLSYXUp+SIbQwgS9Gz7l uM+4j7PsEP8wtB0N1Xqz9ZRj0lwG3TjAQeHM09Zo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-143288: nvme-loop: delete the controller if a reset fails Date: Thu, 3 Dec 2026 10:22:04 +0100 Message-ID: <2026120331-CVE-2026-143288-1bbf@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2857; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MIW9hPibuG0O/lw12aEm+LIgi4xbR6/3vNefyXFsnF0=; b=owGbwMvMwCRo6H6F97bub03G02pJDNmCxqsDbTa8fLFUdAOjitLKR5OyT3usuF8YfXvFlE/7P M5Mv1Qb2RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATeSTCsGBH8cnzi6PKZzyc omL61kvI74hk7nyGudJfXn2R6uzz7TwwpUDg0qX9louZtgMA 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-loop: delete the controller if a reset fails If the reconnect of a reset fails, nvme_loop_reset_ctrl_work() tears the controller down by hand with nvme_uninit_ctrl(). Since that was split from nvme_stop_ctrl() it no longer removes the namespaces, which hold references to the controller. A reset while the target no longer accepts the host (allow_any_host 0) is enough to get there: a sysfs reset hangs in kernfs_drain(), an ioctl reset leaves a controller stuck in CONNECTING with its block devices, the cntlid can't be reused, and module unload deletes the controller a second time and hits a use-after-free. Do what the other fabrics drivers do and call nvme_delete_ctrl(). The delete path quiesces the admin queue and only unquiesces it if the queue is live, which it isn't after a failed reset, so unquiesce it unconditionally before destroying it so a stuck request can't block the freeze. The Linux kernel CVE team has assigned CVE-2026-143288 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit d09f2b45f346f0a9e5e1b5fcea531b1b393671dc and fixed in 6.18.66 with commit 632b266fed6f3075aeb3d12758aaac6e89dcafa1 Issue introduced in 4.13 with commit d09f2b45f346f0a9e5e1b5fcea531b1b393671dc and fixed in 7.3.7 with commit 5a58596dddf0872e66646c0f8be95f0e6ea283a9 Issue introduced in 4.13 with commit d09f2b45f346f0a9e5e1b5fcea531b1b393671dc and fixed in 7.4-rc2 with commit bc2170d365861d29dce20f982093873baad09804 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-143288 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/loop.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/632b266fed6f3075aeb3d12758aaac6e89dcafa1 https://git.kernel.org/stable/c/5a58596dddf0872e66646c0f8be95f0e6ea283a9 https://git.kernel.org/stable/c/bc2170d365861d29dce20f982093873baad09804