Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2EF153B47EF for ; Wed, 25 Mar 2026 10:31:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434674; cv=none; b=ViQ3wfffSGcfXcNF4HjUlTwdUGNQavGNXO7kwfpRldjRVG+efbXHGN8kHBa1jjk4dLoau9085t9Ct2WzhPl4uctKpQ887G9nwVtK4V8geCFkY0fuNrZ38wn0ZpVl7kNFqNrUxZRDv+m1Re2QUzu0/FwlngDuYLEq3+TBWhFgQko= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434674; c=relaxed/simple; bh=p+4A+guD7wUewOkOHa1RJ1f9dSJ0JKDWdT255eo67lk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MgfdtapMx4oyTaR93gt46Zs8ZoyOhKJMfKEbIPt8p3NyexQM5pbONMeM1HDl0wPVW8brMDOM8DfdSraqn+YLcRjerGa9/WLH2KfHFsWozQTpi5oL4hoYCiGoDnTUwchWP40oQPMrXpLxLe3xqqvOkfUCOftyf4dUJTSYed/gMNY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ibn+xx6H; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ibn+xx6H" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B497C2BC9E; Wed, 25 Mar 2026 10:31:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434673; bh=p+4A+guD7wUewOkOHa1RJ1f9dSJ0JKDWdT255eo67lk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ibn+xx6HqwPK1I2BydbnsqL3ZH96xUcDF6TtAeOHL3O/lw3fDTkIIz3xUDwj6j9+e ifn0gPsvsjf7zI5rpuSkT7MH98OZzVc41a0edL1v7HrU3Ydrnu6SMBIoxckV2Va+YC kbTnSAMQPfsKIUr9snHO/fKhv5WkzU1FXPZMrs10= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23364: ksmbd: Compare MACs in constant time Date: Wed, 25 Mar 2026 11:27:48 +0100 Message-ID: <2026032539-CVE-2026-23364-4267@gregkh> X-Mailer: git-send-email 2.53.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=2843; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=stvobJ/s7K6UQk0gbHjuagem5iruCeXn2ZsGU1SPDVk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd8T7mBRlrjJ0vXLVPG7lbdXl36wTl4VOylwumPz+o JWE+ra4jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIRxDD/OhLTG+085IEMndz K1bmnMy/GO63mmHBhnln+01TWorPqWikRs3/2WR9NCYYAA== 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: ksmbd: Compare MACs in constant time To prevent timing attacks, MAC comparisons need to be constant-time. Replace the memcmp() with the correct function, crypto_memneq(). The Linux kernel CVE team has assigned CVE-2026-23364 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.1.167 with commit cd52a0e309659537048a864211abc3ea4c5caa63 Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.6.130 with commit 307afccb751f542246bd5dc68a2c1ffe1a78418c Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.12.78 with commit 2cdc56ed67615ba0921383a688f24415ebe065f3 Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.18.19 with commit 93c0a22fec914ec4b697e464895a0f594e29fb28 Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 6.19.7 with commit f4588b85efd6007d46b80aa1b9fb746628ffb3dc Issue introduced in 5.15 with commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and fixed in 7.0-rc2 with commit c5794709bc9105935dbedef8b9cf9c06f2b559fa 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-23364 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: fs/smb/server/Kconfig fs/smb/server/auth.c fs/smb/server/smb2pdu.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/cd52a0e309659537048a864211abc3ea4c5caa63 https://git.kernel.org/stable/c/307afccb751f542246bd5dc68a2c1ffe1a78418c https://git.kernel.org/stable/c/2cdc56ed67615ba0921383a688f24415ebe065f3 https://git.kernel.org/stable/c/93c0a22fec914ec4b697e464895a0f594e29fb28 https://git.kernel.org/stable/c/f4588b85efd6007d46b80aa1b9fb746628ffb3dc https://git.kernel.org/stable/c/c5794709bc9105935dbedef8b9cf9c06f2b559fa