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 4D968153BD9 for ; Sat, 16 Aug 2025 13:29:58 +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=1755350999; cv=none; b=uwVxXvPYxyFI7g2EdYvD6eXA43zJse0SxTzBFPuIjgi5hNGt8Em3NXCiy67H+rKgvKDhYA0UY2/ZHiXcM44Jkw2izFVFyz40nSAz8INNoUvqkJKz2Qam/Y2+bC9KCNg/g3NgQ78cPztPl+fQzCERpG2JtMC4XPvJ6YjyEV+Kzd0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755350999; c=relaxed/simple; bh=Bff5p+yg71UP1l9EOLxXwQFTkdu/iYBCDQLNZO4wi0w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Hso7sLwfLFDJQAQz3UAguTS7REs/ywiiowU7Ni805cjUGlVcFlWCm6U0zw7AIuv62k3PIGV+lCTPbZYCJEXA4217RQ70l8zrAvoW+rtKNxRvQLr6j8+ody+hgFHVhLiHPYsLtKmqy6VjWjPWTugX7KdGZUTaLVWpvUJiaAY8zEw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hgw3z+zo; 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="hgw3z+zo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57B98C4CEEF; Sat, 16 Aug 2025 13:29:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755350998; bh=Bff5p+yg71UP1l9EOLxXwQFTkdu/iYBCDQLNZO4wi0w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hgw3z+zoKM1dtpCci55IWy/kjGBNrUurVnuh+6b9v8U4mXGIKpgr3QCUU2NMzqXkU wp+/9SoCe3cKGaU23tqe6eE2C502+K55PSnGkvayhMJA6fCfqtFvYRaEQ4QAVymSFn y9tDVPp5aGyRzRghLxlYQ2WfnGK6lfTGf8x6t+D0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-3867: ksmbd: fix out of bounds read in smb2_sess_setup Date: Sat, 16 Aug 2025 15:29:55 +0200 Message-ID: <2025081654-CVE-2023-3867-d236@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2097; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oV6P+OTT6kE01gNOAT8QP4EaksAtnNw0aHZmMo6BlMc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkL2i9tcy2USOVQf6ljk+z1sei3xe91915pTz+otCJtw oeV/tflOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiS70YFmzj6pxafeyugdgH Fx+98Juv2MR1bzPMj9dwYlPd2BYncefAh6/16bM/Cjp0AgA= 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: fix out of bounds read in smb2_sess_setup ksmbd does not consider the case of that smb2 session setup is in compound request. If this is the second payload of the compound, OOB read issue occurs while processing the first payload in the smb2_sess_setup(). The Linux kernel CVE team has assigned CVE-2023-3867 to this issue. Affected and fixed versions =========================== Fixed in 5.15.145 with commit 676392184785ace61e939831e7ca44a03d438c3b Fixed in 6.1.40 with commit ef572ffa8eb44111eed2925fbb2adca78bdcbf61 Fixed in 6.4.5 with commit 2ba03cecb12ac7ac9e0170e251543c56832d9959 Fixed in 6.5 with commit 98422bdd4cb3ca4d08844046f6507d7ec2c2b8d8 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-2023-3867 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/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/676392184785ace61e939831e7ca44a03d438c3b https://git.kernel.org/stable/c/ef572ffa8eb44111eed2925fbb2adca78bdcbf61 https://git.kernel.org/stable/c/2ba03cecb12ac7ac9e0170e251543c56832d9959 https://git.kernel.org/stable/c/98422bdd4cb3ca4d08844046f6507d7ec2c2b8d8