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=1795099729; b=PnHr4g9BXRn3G6rsNy6CwXxEkO2ov6m7WpYGP22X1bNeQQrPhI+k36EwkIC24TaCsuNQ aRAmnV8BtenK43WwX4ykrUm0YA5Nje+XiBYdNNA+BHK4ZKDElCsWExMFjNtRt9SxywIs6 8LFKimzuj45pyubWqoEkwXSLBU4RSat6F+0MD2njuFVgHOeQJKBtdP13CtrVZoZcJE8e+ cvLHva3N873bLY1uCGri99cLrPtTtjzTN34xT9Flt4QevLzykL8ybUWYBgfJL5yDNN0/S R1O3YFWyZknMbFUqcRqyh1oqYn7UCWKsqltpe6jCjj9XO2B3KkmWe2p7PBg47oPSutw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099729; 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=RT2qm39MwsZDparakSX3AXj+pwZsTI+rgO9K7+qx/i8=; b=G/B1to/IZJAJhFtA7C6yIG6dOzNilKH4ve6F1Z/nZuGNKR3D0ObJntnH9pS4/O8F/lSq bOIuHWdmLg5Qts0ywUqQQd6KE+IvoZObFMAlmHNJUirHh1f8121IZ2LJPDiiIYscEdRuM 5TExgfGA+BsZTa3NIYze0+HtOd2Z804HhlTchMv9swx7Ce+gBabiuhn3TYP00X9oD4F0K yHzU/riif+Oy4PiIj/Cm7Na4sqRx3MNfU8/kJ1SigeQr+ZFFiOZe4tRN1vONSSbc+vPil bKUOG0tVuw352TZkRzCXhcJuL/pagsA7rk0323/7BqDLAXxNoO6ZogOG1OGPTNnVolQ== 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=aqylqN3h; 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 6A3356071655 for ; Thu, 19 Nov 2026 14:48:49 +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=aqylqN3h Received: by smtp.kernel.org (Postfix) with ESMTPSA id C74081F000C9; Thu, 19 Nov 2026 14:48:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099729; bh=RT2qm39MwsZDparakSX3AXj+pwZsTI+rgO9K7+qx/i8=; h=From:To:Cc:Subject:Date:Reply-To; b=aqylqN3h+5xy7h9GFWbp518aLSXBi809Umdi3PEgz1/loCYaHqF542MuzdZTsF2v3 LVMuEmKOEszgvw/IZd8+yCIsi4rnvWwuoE5VRoQY6bQUUMdI7j9bhvqenFHz93RUUe P9VkD0uu34SuzU2rQbizLIkp3hKZIDbBSEyoQg1o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99441: nvmet-auth: serialize access to DH-HMAC-CHAP state to fix UAF Date: Thu, 19 Nov 2026 15:25:39 +0100 Message-ID: <2026111905-CVE-2026-99441-ef21@gregkh> X-Mailer: git-send-email 2.56.0 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=3069; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=k+m5OnDvhcXp1vznGU8X0MN+N/c0CazCCM/a/qwSsCM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Vp79my+66dZLnVAWCnkSOnrsIxlYYYHX37vetL4W 1x3cdTkjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIcQPDPO1/f9mrfm0812Ou OGflbr+fR6+vm8Ywh7/z96+QdUqWXpJRD5Uby4KuLJPwBAA= 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: nvmet-auth: serialize access to DH-HMAC-CHAP state to fix UAF A REPLY AUTH_SEND command can derive a dhchap_skey key while a concurrent AUTH_RECEIVE command observing this REPLY state executes the failure path and frees that key. The REPLY command then continues and writes into freed memory, causing a use-after-free. KASAN reports it as: BUG: KASAN: slab-use-after-free in __sha256_final Write of size 4 at addr ffff88800359c540 ... nvmet_auth_sq_free (drivers/nvme/target/auth.c:237) nvmet_execute_auth_receive (drivers/nvme/target/fabrics-cmd-auth.c:621) Add a mutex to each submission queue to serialize authentication commands and timeout handling. Unlock the mutex before completing requests and ignore outdated timeout callbacks. Limit timeout delays to prevent immediate expiry on 32-bit kernels. The Linux kernel CVE team has assigned CVE-2026-99441 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 7a277c37d3522e9b2777d762bbbcecafae2b1f8d and fixed in 6.12.117 with commit 4074511c39abed4b763392f0430bf84f166abb4c Issue introduced in 6.0 with commit 7a277c37d3522e9b2777d762bbbcecafae2b1f8d and fixed in 6.18.63 with commit edb4f7bcffdb768103c561c588de310f34dd26ba Issue introduced in 6.0 with commit 7a277c37d3522e9b2777d762bbbcecafae2b1f8d and fixed in 7.3.2 with commit 35f55810ee2410815d687ff00fb8412d63ab2899 Issue introduced in 6.0 with commit 7a277c37d3522e9b2777d762bbbcecafae2b1f8d and fixed in 7.4-rc1 with commit 53f6efe00cea0c0cf7bd99debe3cdac8567170b5 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-99441 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/auth.c drivers/nvme/target/fabrics-cmd-auth.c drivers/nvme/target/nvmet.h 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/4074511c39abed4b763392f0430bf84f166abb4c https://git.kernel.org/stable/c/edb4f7bcffdb768103c561c588de310f34dd26ba https://git.kernel.org/stable/c/35f55810ee2410815d687ff00fb8412d63ab2899 https://git.kernel.org/stable/c/53f6efe00cea0c0cf7bd99debe3cdac8567170b5