From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 F1C4E2F1FF4 for ; Sun, 18 Oct 2026 15:17:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336680; cv=none; b=JL2qEeRn/3fcqgksCCeNJL61jjDJM2K9k0paBP1VtVNnistXq+KtsXD+wJg8rMo3Lj7nzfsVq/B3T3cplO2ZYUdM30iMNc3It4EIAGEwAP0AXh2X0qjWNG3XetIpNDRhs8omvQbAKeXlIzfIIlUwYTlnmASPYm4IyzvNTSARrQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336680; c=relaxed/simple; bh=AfhDlYnDBDTfrjBATtGHcQYeMq3Bd41jrTauu9yq5qI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IIXlthMC6hLOH36vOPBOhn1jUOAdudarv5wKS68dEhyc+BAZud8s23bIA+AOL01qZv97d9G5HdIyIyBS7pH/+Xxa0J6kzjydHPjxLpZonkxo3FofZKUebp+W1v14+oMPnAL8m/evUzpLnYknRz6ofxjdsTQPBWFGqh394FdQkrw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jnePP9Tc; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jnePP9Tc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E35831F000C4; Sun, 18 Oct 2026 15:17:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336678; bh=v7dQY6x7elAe/MRJil0zSHIjQpJwA4JRbdh7dRxsaxc=; h=From:To:Cc:Subject:Date:Reply-To; b=jnePP9TcTUnnvzb/0jNmVGXt86wSa+uR/uG+rna7DCmn4X6s1x86RKu727FI2jmlr gsydmggBH7DstgUelNejmKqD8OpJfbM8/nb8elIVNjYgzV2v2qtHQxAUOTtm9L+X1e jDSdXAU2v9LegRuSFeilP6q04aFOjv2p5wwKmvFg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98453: smb: client: close handle after create-context parsing failure Date: Sun, 18 Oct 2026 17:15:17 +0200 Message-ID: <2026101809-CVE-2026-98453-cfae@gregkh> X-Mailer: git-send-email 2.56.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=3059; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1PpIy51MKTMfS0s2UuJ26daD12jKiW98kwT+Gactihw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHtWGdme7i+ad0+r8tuVgT/LRy4XltYd/xRvM5G17K /Dy7TLvjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIeSaG+UlLxEQmBP0MPDB9 geSZo6/jOk5YL2NYMOuL18onD/8Ksgv5ce8wEQwv6YxsAwA= 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: smb: client: close handle after create-context parsing failure SMB2_open() accounts a successful CREATE response as a remote open before parsing its create contexts. If smb2_parse_contexts() rejects malformed context data, SMB2_open() returns without closing the handle, leaving the server-side handle open and num_remote_opens elevated. Close the handle after a post-CREATE context parsing failure so the error path releases the remote resource and balances the open count. The Linux kernel CVE team has assigned CVE-2026-98453 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit af1689a9b7701d9907dfc84d2a4b57c4bc907144 and fixed in 6.12.113 with commit 80c67cc71d32ccafc89a29b669243b40d81b930f Issue introduced in 6.7 with commit af1689a9b7701d9907dfc84d2a4b57c4bc907144 and fixed in 6.18.56 with commit f09875ff901e933e7b22c913daf51d21e9d93a45 Issue introduced in 6.7 with commit af1689a9b7701d9907dfc84d2a4b57c4bc907144 and fixed in 7.2.9 with commit cdb36b09fb1f86d638d0afb44d621ed3f7c1d8eb Issue introduced in 6.7 with commit af1689a9b7701d9907dfc84d2a4b57c4bc907144 and fixed in 7.3-rc5 with commit 566820af017e81497fb5e9d3ad6e7ffe2828bc8b Issue introduced in 5.4.277 with commit 6726429c18c62dbf5e96ebbd522f262e016553fb Issue introduced in 5.10.211 with commit 13fb0fc4917621f3dfa285a27eaf7151d770b5e5 Issue introduced in 5.15.150 with commit 890bc4fac3c0973a49cac35f634579bebba7fe48 Issue introduced in 6.1.79 with commit 1ae3c59355dc9882e09c020afe8ffbd895ad0f29 Issue introduced in 6.6.8 with commit 17a0f64cc02d4972e21c733d9f21d1c512963afa 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-98453 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/client/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/80c67cc71d32ccafc89a29b669243b40d81b930f https://git.kernel.org/stable/c/f09875ff901e933e7b22c913daf51d21e9d93a45 https://git.kernel.org/stable/c/cdb36b09fb1f86d638d0afb44d621ed3f7c1d8eb https://git.kernel.org/stable/c/566820af017e81497fb5e9d3ad6e7ffe2828bc8b