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=1795154065; b=qazwNstxZnr1vqbi0uQHLZSgLI/G/gwtnOSi8Tei8Hq0sv5swz8QqHnxVsIZ6NVJpWSU 4i7S33i/L8R8errFkOta/V2RguYhuI3mSV5xiT0HlcMVQO6mReqCJnzbYzgN3QHhOdfYf MTmy2QBnN0f4TF7ENMiosB7iWsYli6fawpnzdWsW8u2NszhZk5e7mdnoMPX/CrLe/V7aL TuwMqMmM+Ff5+dq2SMGnf2qHbQiz/b9UmaABvbKEA6B9S9SiAhMB/n6X1RGJuPUm0z9rp bAZyjYXQidh5Sl2Hl66SfuJZ4RYnO9wsQv2jPHPL9+yv1dbbmWlgiW+29+RarzSBHKg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154065; 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=A2aZJMX30Pg8BYPWBy9wKRk83dhbLch/Oe1AVCHWuQg=; b=L3Y75HEevWC/OWtPd0f6jPgsdp3ssXnwDD0Rin7yQmeINhUAhHWNxwIaeHntUZhCIiWV JKO34ejdCBkH3R4pYrzPCoeMBuW3Ohk8qYHJ+R5cdvI6afzfmeQsySC/likk5Egmq+f5w JO0S0mb3wmn6wb1TA52iMPwUq+7rpUiJIe4kRSFqNchGHT3xp5B0FAcc1L2mPPhrAYtqq XO570trf9uCiyAgOPUKWW7on4H2xfkWdTrYZ06zQivKVc4JM0WwlfieMJKh2YKJPG7ebm n/ScM9EXddIToIv4gk6o8ahJsN5kig2eOnqFenMw8IcPfGJY0+60eLmePinykQMnL1Q== 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=UZl0fxKA; 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 8BCC0606A320 for ; Fri, 20 Nov 2026 05:54:25 +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=UZl0fxKA Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBB081F000CA; Fri, 20 Nov 2026 05:54:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154065; bh=A2aZJMX30Pg8BYPWBy9wKRk83dhbLch/Oe1AVCHWuQg=; h=From:To:Cc:Subject:Date:Reply-To; b=UZl0fxKAJ3Q3AW55Hrf4x/JoL0Z3obW4WIzhmyrre/SMiVhCJJkWN4Efty3M1Ox7Y ZA/HdjuILuavVs4fD+klrTIWTJk6lx+U2sAzCsVhrAj8F9n6wLfnSD59ykb+tfSu27 QJ0yYyV6g6k+oImMJWvKonIMACDzq0dlHh5Byh8I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99596: nvme: wait for SRCU readers before splicing the namespace list Date: Fri, 20 Nov 2026 06:49:42 +0100 Message-ID: <2026112024-CVE-2026-99596-25f6@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=3617; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=P5N+QiHuT2eMTSD2om5aPCWCK26g83okqUcN55DxEew=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/76dcOzz7K+86k+0zF5Tv/1m5ZntOU8mzlkbhM9uqo 8/WnziV3BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATSZ/EsKDrSKvn+ql7nSc7 8Oz/pBty3KRlqhfDggmPc9RvRrByT6hZ8Y/h04E5NdfXdwEA 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: wait for SRCU readers before splicing the namespace list Readers walk ctrl->namespaces under ctrl->srcu, and some of them sleep there, e.g. nvme_wait_freeze() waiting for I/O to drain. nvme_remove_namespaces() moves the list onto its on-stack ns_list with list_splice_init_rcu(), which only waits for RCU readers before relinking the entries. A reader still on the last namespace then follows its next pointer to ns_list instead of ctrl->namespaces and treats the stack as a namespace. Deleting a controller while a Format NVM passthrough waits for a delayed read on the last namespace gives: BUG: KASAN: stack-out-of-bounds in nvme_wait_freeze+0x102/0x120 Read of size 8 at addr ff110001d2f3fc38 by task nvme/4413 Call Trace: nvme_wait_freeze nvme_passthru_start nvme_submit_user_cmd nvme_user_cmd nvme_dev_ioctl BUG: unable to handle page fault for address: ffffffff8af04850 Use list_splice_init_srcu() instead, which waits for the SRCU readers. This also takes the RCU grace period out of every controller deletion. Deleting 64 tcp controllers with one namespace each, median of 3 runs on each of two boots per kernel: before after nvme disconnect-all (ms) 3491 / 3509 2996 / 3165 nvme_remove_namespaces() avg (ms) 39.0 / 40.5 31.9 / 34.7 The Linux kernel CVE team has assigned CVE-2026-99596 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit be647e2c76b27f409cdd520f66c95be888b553a3 and fixed in 6.12.118 with commit a7f566c0c354109ea565ef29afdf23005b2d48dd Issue introduced in 6.10 with commit be647e2c76b27f409cdd520f66c95be888b553a3 and fixed in 6.18.64 with commit 38e604a8271ea9fd4add6669de73cc72da8184ae Issue introduced in 6.10 with commit be647e2c76b27f409cdd520f66c95be888b553a3 and fixed in 7.3.5 with commit eec7caddb4d152c72a7b6975c6e3f5589cddbdd4 Issue introduced in 6.10 with commit be647e2c76b27f409cdd520f66c95be888b553a3 and fixed in 7.4-rc2 with commit 8a0449832b50cd4f99f2d2952cfc1476e5f26d0f Issue introduced in 6.6.48 with commit 82f20194bf46d4393fb2c4337e1effbbbe95d9b9 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-99596 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/a7f566c0c354109ea565ef29afdf23005b2d48dd https://git.kernel.org/stable/c/38e604a8271ea9fd4add6669de73cc72da8184ae https://git.kernel.org/stable/c/eec7caddb4d152c72a7b6975c6e3f5589cddbdd4 https://git.kernel.org/stable/c/8a0449832b50cd4f99f2d2952cfc1476e5f26d0f