Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 4FB0A38DC73 for ; Sun, 18 Oct 2026 15:54:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792338879; cv=none; b=hO/zpVwKNA82+XF15ba9Um0OcuOMtUEDIXPrknxjpytcEKf1endz9KfERXATORA36jURQ8C5Ld/guoBkRiZeUhaeKS2wG5gnsHZBFxFveUiLyuNHsVIWzTe0G0mmoV2zafxvZG7W52EUuLlSXfzVILg75Ys3SoWJB4r3ZUr5EtU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792338879; c=relaxed/simple; bh=fg182eFGukupI9775Z+frX2LNQHxUJpyiknuJNqwbfo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ABpb+A9gJs6FQgMR2SfzGkdPzi7leDHBufj4HGjsrxROJpwjIzNLDh5w9kC09GTWbRwYZ0rXc/8MRJ6CuNscb0uQ3TZgvCERnCvKe85ANpBdyOHB229kXvihdnL6Xa43am440jSFn+C7Zn6JMJaWDCGkuzdq6y6NxvYucgTYNLY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=umbKozuV; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="umbKozuV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 447531F000C4; Sun, 18 Oct 2026 15:54:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792338878; bh=gvi6saYG0ZrYzz0CjX9ONjhRko2+CY5FPk+GfB5aMow=; h=From:To:Cc:Subject:Date:Reply-To; b=umbKozuVTJoHWcnzjBmuJFPZKuRth5JSJsL3rLh3mZG+oaR2vqtD7yR+5Q3vUcu4H zeVVVtAjA8K9rnnAszAl4lRXCuCIRcN/ogQE2BbV6x99e/esjv3x92b5h1hmII0GU0 oHQ8IPlSR7wJZXwB+87Y6RHvHy7rIk874hJD/0tA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98725: nvmet-auth: fix out-of-bounds write in nvmet_auth_challenge() Date: Sun, 18 Oct 2026 17:45:00 +0200 Message-ID: <2026101810-CVE-2026-98725-8e59@gregkh> X-Mailer: git-send-email 2.56.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=3605; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wHT6FmW40o/Hjp1UNLYm+x3Qlnop35+8+h0iSkU6kd0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXnqprpCV+MXu0jWjx+X2RYUfhz3SPFXCLvXUiUeu2 fndYA5nRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkZQHDXDm7V2+83vusT0kp Odh8nLU6Mfvob4YFU1g95fUE3uvv/rbpSJpd7hq/NKstAA== 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: fix out-of-bounds write in nvmet_auth_challenge() nvmet_auth_challenge() receives its output buffer as a void pointer. sizeof(*d) therefore evaluates to one with GCC and undercounts the fixed challenge header by 15 bytes. A short AUTH_RECEIVE buffer can pass the check before the challenge is copied past the end of its allocation. Use the typed challenge pointer when calculating the response size. BUG: KASAN: slab-out-of-bounds in nvmet_execute_auth_receive (drivers/nvme/target/fabrics-cmd-auth.c:442 drivers/nvme/target/fabrics-cmd-auth.c:569) Write of size 32 by task kworker/1:1H/64 Workqueue: nvmet_tcp_wq nvmet_tcp_io_work Call Trace: nvmet_execute_auth_receive (drivers/nvme/target/fabrics-cmd-auth.c:442 drivers/nvme/target/fabrics-cmd-auth.c:569) nvmet_tcp_try_recv_pdu (drivers/nvme/target/tcp.c:1119 drivers/nvme/target/tcp.c:1243) nvmet_tcp_io_work (drivers/nvme/target/tcp.c:1350 drivers/nvme/target/tcp.c:1382 drivers/nvme/target/tcp.c:1445) process_one_work (kernel/workqueue.c:3322) worker_thread (kernel/workqueue.c:3405 kernel/workqueue.c:3486) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) The buggy address is located 16 bytes inside of allocated 33-byte region [ffff888000554e80, ffff888000554ea1) Kernel panic - not syncing: KASAN: panic_on_warn set ... The Linux kernel CVE team has assigned CVE-2026-98725 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 6.12.113 with commit 9d61131acd742cf97ee64e453383e41b46568513 Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 6.18.56 with commit 7fd3c363eba4f2aceb4b3f31cd1cf65e0dcbaee4 Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 7.2.10 with commit 8a9b4c0eef19c207663c1ee888257307c869ca86 Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 7.3-rc6 with commit fa6778e030bed9841ddcdf96bc7018da9ac03562 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-98725 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/fabrics-cmd-auth.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/9d61131acd742cf97ee64e453383e41b46568513 https://git.kernel.org/stable/c/7fd3c363eba4f2aceb4b3f31cd1cf65e0dcbaee4 https://git.kernel.org/stable/c/8a9b4c0eef19c207663c1ee888257307c869ca86 https://git.kernel.org/stable/c/fa6778e030bed9841ddcdf96bc7018da9ac03562