From mboxrd@z Thu Jan 1 00:00:00 1970 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 05EF24EC65B for ; Fri, 4 Sep 2026 15:20:59 +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=1788535260; cv=none; b=I4hAW399/w5xov8Kbgua4FgqTkaZK8Wxby3xwo2TmNBIddPwGUIuWKUu5MfdwNXfEOFzg4pUd2P8Y2WyO7yGf/VVBsMFW0wJKoBWi+DczLN2kuHjsIFtbZgcWDL+KCC2QopYys9ILzg4qhXoXXx4KJKdbF7QAaYHhit9/YJIBSk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788535260; c=relaxed/simple; bh=+TOiS+l6YWODj7liDHIAb3ar0wcQOlELh5jySMUZnEE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CyP5wa5URkKUEj3uBQEep2Zy+wakWRWmABLH8OPF3r8MhC3DD8qxFgemCaf/13ACmw7ncDgRrkV+WCAM/o+8lLzcXiaiQP9XZmuwGwCcTlZJy+5YvV0NM0uCF5ekxRdV3REMZwu8n0iZiUHkKFv93BS1/hhGDSu9IAFcqO7t8LQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UhxXl4o1; 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="UhxXl4o1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0A421F00A3D; Fri, 4 Sep 2026 15:20:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788535258; bh=6A1EtnHO7krngVS0pBbXIYo1EYs9qAxWDLdR+6dNo+A=; h=From:To:Cc:Subject:Date:Reply-To; b=UhxXl4o1kzYyYjzhtiocb7fpB3c5K/N1sYDpJxnynudvTwsxKon/cfmpgFSRrMz30 RQtLbTSY/oX1zQ7iiJQoDom6T0L0bj+9xSP0mmM54zQW81u5Ovxl6o7kaVC9hG2DjG t8UTLCp+NHWdenLPccJTv5Oa/Zj2tJcgS4p8/wXc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80791: nvmet-auth: zero the AUTH_RECEIVE response buffer Date: Fri, 4 Sep 2026 17:11:30 +0200 Message-ID: <2026090406-CVE-2026-80791-c5d1@gregkh> X-Mailer: git-send-email 2.55.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=3477; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RSQdiWd4AtAECm6yfDVcwJMTiH5cxFRtVIrrgohqAGQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmz7netMF1vpbZzYn/pdKGIpTP4Qhl3WVren/VM0Gneb 72bc50SO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiwp4M86PfHd47/d0Xv4c9 alXsVkLSgesDKxjmmV+54/bmZYRoi4ZrvPySVH+H8mseAA== 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: zero the AUTH_RECEIVE response buffer nvmet_execute_auth_receive() allocates the response buffer with kmalloc() sized by the host-supplied AUTH_RECEIVE allocation length, but the DH-HMAC-CHAP builders write only a fixed-size message into it. The full allocation length is then copied to the wire by nvmet_copy_to_sgl(), so a remote initiator receives the bytes past the built message -- up to nearly a page of uninitialized slab -- during the pre-authentication handshake. Allocate the buffer with kzalloc() so the unwritten tail is zeroed before it is sent; conforming responses are unaffected. The Linux kernel CVE team has assigned CVE-2026-80791 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 6.1.185 with commit 447b668faa14710f611e714031e3739ac3ec3a4f Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 6.6.154 with commit 8f6363c8d54dde95982f0ab45e77cf57ec0efd62 Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 6.12.106 with commit dfcf013f77709ebdb282767edc2795a37cab5b57 Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 6.18.47 with commit b26189d28442183a8b5edb754f4a6918f77ca84e Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 7.1.11 with commit 2dcc9226203da7275a9c29d20007da278d73d5e9 Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 7.2.1 with commit 1d6837d98bf966a041af65de5f78de7409ff83bc Issue introduced in 6.0 with commit db1312dd95488b5e6ff362ff66fcf953a46b1821 and fixed in 7.3-rc1 with commit 3ddcfb013322aa37eaa7a0d344b73079c38dfa21 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-80791 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/447b668faa14710f611e714031e3739ac3ec3a4f https://git.kernel.org/stable/c/8f6363c8d54dde95982f0ab45e77cf57ec0efd62 https://git.kernel.org/stable/c/dfcf013f77709ebdb282767edc2795a37cab5b57 https://git.kernel.org/stable/c/b26189d28442183a8b5edb754f4a6918f77ca84e https://git.kernel.org/stable/c/2dcc9226203da7275a9c29d20007da278d73d5e9 https://git.kernel.org/stable/c/1d6837d98bf966a041af65de5f78de7409ff83bc https://git.kernel.org/stable/c/3ddcfb013322aa37eaa7a0d344b73079c38dfa21