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 52B6C1FE44C for ; Wed, 16 Apr 2025 14:14:25 +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=1744812866; cv=none; b=XLUtgpuWwcu6rfG/a622v5uXU49SqYn5xkXGsLJd4B2VgnynYhczAcOrgTOVWnSimhZfgz67cosqnHWBFoNjnhCxVlPti1/hgpckitCK+fzbK0JxaAvHCkJtV+orax3dc6Kjo5NM2xDatTiwTtXlTICYnDncAbyc3Fxxk1vXCCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744812866; c=relaxed/simple; bh=Ctfbj6UK9d364Anqm8ajhQ5849xHXqiL3juXitEDLbM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HyBEYCzA4eyA4ZvLG/7P8DT5WMYFvWUTZa7TQ1rHc9q34HWe0FxQLZOzDLzhPXwt474zRToRj+B+fe4Eg7QYnrgiBdaPd/arBDXp+Na49XBCB3S6lkVmRGLSMHCNPiK1BDuK6OT3huRLfqlKm1Y0OUGfRpKI6hg8iv2HHqn+N0U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1ZHqZZKX; 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="1ZHqZZKX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 528F6C4CEE2; Wed, 16 Apr 2025 14:14:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744812865; bh=Ctfbj6UK9d364Anqm8ajhQ5849xHXqiL3juXitEDLbM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1ZHqZZKXj7mLuQ9JoWiY8YWoq7pK9JqYnm/3cCiI5J5NgUXHlaHASukF4ijU8gifC krbOuoNLY9uWk0f4i/bpXVuHlT7xMiOLKyCDI9hx+qOmJh0qFXD9IUZoLr5bHS4V2Y jBl6YcbBSHJBsdD3WPQOX5OeBqghVmbyYtZqqmIc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22043: ksmbd: add bounds check for durable handle context Date: Wed, 16 Apr 2025 16:12:14 +0200 Message-ID: <2025041600-CVE-2025-22043-a8b9@gregkh> X-Mailer: git-send-email 2.49.0 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=2089; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ctfbj6UK9d364Anqm8ajhQ5849xHXqiL3juXitEDLbM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/d23UnlGzT/ylwM8Yxj6X7r41YtWr/BT2Z11VLF+yY cef5QdyOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi6m8Z5qnaG714IagRnO5w 7cwb4UUaNVfO3mJYMKHzVlVsXuKSBf/k/KuPiCVxP1X6DwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ksmbd: add bounds check for durable handle context Add missing bounds check for durable handle context. The Linux kernel CVE team has assigned CVE-2025-22043 to this issue. Affected and fixed versions =========================== Fixed in 6.6.87 with commit 8d4848c45943c9cf5e86142fd7347efa97f497db Fixed in 6.12.23 with commit 29b946714d6aa77de54c71243bba39469ac43ef2 Fixed in 6.13.11 with commit 1107b9ed92194603593c51829a3887812ae9e806 Fixed in 6.14.2 with commit f0db3d9d416e332a0d6f045a1509539d3a4cd898 Fixed in 6.15-rc1 with commit 542027e123fc0bfd61dd59e21ae0ee4ef2101b29 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-2025-22043 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/8d4848c45943c9cf5e86142fd7347efa97f497db https://git.kernel.org/stable/c/29b946714d6aa77de54c71243bba39469ac43ef2 https://git.kernel.org/stable/c/1107b9ed92194603593c51829a3887812ae9e806 https://git.kernel.org/stable/c/f0db3d9d416e332a0d6f045a1509539d3a4cd898 https://git.kernel.org/stable/c/542027e123fc0bfd61dd59e21ae0ee4ef2101b29