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 A683C1C3306 for ; Wed, 16 Apr 2025 14:15:59 +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=1744812959; cv=none; b=tnqUFyXhRY55LWwZwbqRxkgAIxMBJ4RqrUIw1m9UuBBxwibi4x8qvEj2UM6aKA9L0scS9Pga+dO7eBgXZYo76Tv6e9woD0JCDohyhHieHyJHUK3M+hFhH5/8YjbHx0hFSwclWzdFT/6MJBDwMUDyyhqjlkzAxfvdTG0Ezs/U1gI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744812959; c=relaxed/simple; bh=wgno7piZXOTCCGBMDGk/hFI+cAKGwLKcpouS8ixKADM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T2X3QxQuaEwbn82Ron0x9cMbEvN0PfwEroG2dslPfvnEvq/E1SB6utlT94QMe6mrlXIajOWGW8XYtIs2Xx/POS1ZSxEbuRIQDX3kd5HScZFPrBglxsKzCdmAOciMYzmbiQ9T9pTZ5gGpO7xhTs0rE1vpzM7pAJFWeInnHRt7HgI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=t8FU0PWW; 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="t8FU0PWW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 218ADC4CEE2; Wed, 16 Apr 2025 14:15:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744812959; bh=wgno7piZXOTCCGBMDGk/hFI+cAKGwLKcpouS8ixKADM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=t8FU0PWWbTyw3ysCR8BL6tLe0kfRLCCWv7ddNifCGxYYgzLqMJw5YK37QUOrruYd5 1TwNtf+1RoVSbxgazvfGHwyv33ImFrzD0bmDox7lT6cv5nxp8JApypIy6Ga5/TWFE8 gOBHtOKjFDGLphXkBoxhgZbg1BNsTyahvwjw01Ak= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22042: ksmbd: add bounds check for create lease context Date: Wed, 16 Apr 2025 16:12:13 +0200 Message-ID: <2025041600-CVE-2025-22042-2acc@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=2231; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wgno7piZXOTCCGBMDGk/hFI+cAKGwLKcpouS8ixKADM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/d234tNqzKyt9f87KtdFrpu5ZLZHzl2NDYV6qhNbqe 9J6dbqnOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAidyMZFhye7S5eeO/c4fds Cz7nZz6Qaft0OJhhvtu74MdP/2luV6sO4560V6w3ZulXRgA= 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 create lease context Add missing bounds check for create lease context. The Linux kernel CVE team has assigned CVE-2025-22042 to this issue. Affected and fixed versions =========================== Fixed in 6.1.134 with commit 629dd37acc336ad778979361c351e782053ea284 Fixed in 6.6.87 with commit 60b7207893a8a06c78441934931a08fdad63f18e Fixed in 6.12.23 with commit 800c482c9ef5910f05e3a713943c67cc6c1d4939 Fixed in 6.13.11 with commit a41cd52f00907a040ca22c73d4805bb79b0d0972 Fixed in 6.14.2 with commit 9a1b6ea955e6c7b29939a6d98701202f9d9644ec Fixed in 6.15-rc1 with commit bab703ed8472aa9d109c5f8c1863921533363dae 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-22042 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/oplock.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/629dd37acc336ad778979361c351e782053ea284 https://git.kernel.org/stable/c/60b7207893a8a06c78441934931a08fdad63f18e https://git.kernel.org/stable/c/800c482c9ef5910f05e3a713943c67cc6c1d4939 https://git.kernel.org/stable/c/a41cd52f00907a040ca22c73d4805bb79b0d0972 https://git.kernel.org/stable/c/9a1b6ea955e6c7b29939a6d98701202f9d9644ec https://git.kernel.org/stable/c/bab703ed8472aa9d109c5f8c1863921533363dae