Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100910; b=2v9kAgA7geq2A8NtfXF2ptoShVYBpQpUOfuRWxGXvskoxS5c1c7DMPKuk6KsXgD9VM7q RJwZUThtqU1kpOTFOjeO0ZZPnRC9LTtWCbhl8g9xBT9uDwuir4ijhnbzVS5PmeYkcQy9w rnS8cvM6zh1KmRfdVPsc9nzAoB81dWlPBMTXRQquUuMlesaxuMyzHt6EY8ejW2z0KF8c5 zNg3DXsX4ivwONCnroB7rPhq+K6Tz03XMKk/DmcCaHON+x3EVhOHtzdl2fA17VbMQcdnz IdX13TvhLUTMTCXx7ITPLJMii+s63+hrHdHBKVq6ukJXX7t/iVyNai00gbJZjQkD78Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100910; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=YFp0NbPyc9t6wjfeaSXTJjPWjkHAMyCpvyg8R1fRU48=; b=TUiU3TGZ256/Fh/VA6BG5tu5Kgx2qp/SKiLAQtsPDfzQQ6F+zGYj9B+mmlvvGqRxHYkN Pi1dYwEZaZW7zSfWvtcI89YfDWytR8vU1G8dVn9SQYQOjx2A1jGI1n91T+JpCOQzjX0du jghs4fW3Un6FXtmUDtN4ecr/7s2zKe/Wrvi3y/lyNgXxCK9dFElK3XV8wzmp3dvuSsFAD bbK2rKcf4eW9e6kpZepuCiSgWA9VyydHZq//hGI7kg5mtmGcY1lDXDAthtJU6lPjgZYkp 8PwOcHfBtPAgQrjBzZoxGSW/qpPaN+KnsB/7p42T7+39wrv6abbdEToCJRSnSKrLBcg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=HUKsi3Fn; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E3389606B3C1 for ; Thu, 19 Nov 2026 15:08:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=HUKsi3Fn Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31B8D1F000C5; Thu, 19 Nov 2026 15:08:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100909; bh=YFp0NbPyc9t6wjfeaSXTJjPWjkHAMyCpvyg8R1fRU48=; h=From:To:Cc:Subject:Date:Reply-To; b=HUKsi3FnJv+MicFpq2d2CC/fIZsNkElOaU0dDjXTMMMTr9b6FkHrygQDcGyaG/+Td V4fSBKbCp7gC6w2EmcodVUBD0qMuyjhv+WmT1u6sWmb0547VGQuI5QDFYAjljknTcD mGXufimnseDD7uJp3gVM31DpFDnqGfHaob3Eqlv4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99536: ksmbd: prevent session binding in compound requests Date: Thu, 19 Nov 2026 15:27:14 +0100 Message-ID: <2026111923-CVE-2026-99536-b388@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2732; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Rum2U9KcM2Fxnj9GQ1Hb41GBDatJtzneSos33bPI4lE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2aYfe552VsK4rODCkSaWpTUiJ8+57HG4Vi5kNDkjx Kvfd9rhjhgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIqyiGGfMaLuo9zDcM2Br0 xTHm/ZtUjWmvGBasihZeWML2evGZOU6S/k+FWxeu618EAA== 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: prevent session binding in compound requests A failed multichannel binding can retain its target session on the work item so that the error response can be signed. Subsequent compound commands can then use that session together with a tree connection left over from an earlier command. Limit binding SESSION_SETUP requests to standalone messages during message validation, before smb2_sess_setup() can replace work->sess. Check both NextCommand and the current request offset to cover binding in the first, middle and last positions of a compound. The existing validation error path returns STATUS_INVALID_PARAMETER and stops processing the remaining commands. This intentionally limits support for compounded binding. It is not a protocol requirement that binding be standalone. Standalone binding and non-binding compounds retain their existing behavior, without changing session, tree or response encryption handling. The Linux kernel CVE team has assigned CVE-2026-99536 to this issue. Affected and fixed versions =========================== Issue introduced in 7.2 with commit 4b706360ffb7e459cb3d3edae30b06a584f6eddd and fixed in 7.3.2 with commit 4f148586c9cb18ad47b5f41153139d0fefa596d3 Issue introduced in 7.2 with commit 4b706360ffb7e459cb3d3edae30b06a584f6eddd and fixed in 7.4-rc1 with commit 19f8fd6b5ced33b02a083759e6901f9d6e8076df Issue introduced in 7.1.5 with commit a1f2ada2e4d33d316939dedefbfd2e7d94a0c61f 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-99536 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/smb2misc.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/4f148586c9cb18ad47b5f41153139d0fefa596d3 https://git.kernel.org/stable/c/19f8fd6b5ced33b02a083759e6901f9d6e8076df