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 7D8D8429810 for ; Wed, 6 May 2026 11:32:51 +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=1778067171; cv=none; b=u+MbkGJSfVVwZkFm0seXZ7yP9ZGD/X2BWXA37YGaI85ODOOwB3rHe5607XqW8G47w+ONP9jzE9W7VNlCBcd386QHTsVhvmPmCO++m0FosSVwMLYWMUjHLkBDRDU9fMZu//VdT6T2u4Ph/RzsPMrz3FO+ZsLb/qizmai9LaQO4fQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067171; c=relaxed/simple; bh=k5DL7UGGO3OO1l8dK3SSCTL+DUNB9XD0y+rrWutdR2g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QT8jQNh8rU6XhoWHdjcu7aSDe/5/FINVbH4h8AcqhnxIduFu1MMjhYvhaXJ08Ghs2uMwdsFyIdaiGDcXPrlFY2TY3WQAL8wTiBlLuRGewDhb+Tv/ibrJvn1IoZiOzb6jo4tJX1+ogD/g7VvugNUtCETvvoDmofdWP8Smkcu0fxs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M24diGXT; 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="M24diGXT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 139C0C2BCB8; Wed, 6 May 2026 11:32:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067171; bh=k5DL7UGGO3OO1l8dK3SSCTL+DUNB9XD0y+rrWutdR2g=; h=From:To:Cc:Subject:Date:Reply-To:From; b=M24diGXTQmhinq+CAdrdnDbUQgGOihNglesZqZi28pnysyARD8uimUXuUpTAW0v07 DW0k3KTcTpRsUYKU0PgiQMPj1RFLV97St9VP3mhhylChSTXHD2+UBKk81iQOlemeZA +g7OMmgwRAHMvcebIQN/KdoCcPYkp9OpYwFg5uVA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43215: cifs: Fix locking usage for tcon fields Date: Wed, 6 May 2026 13:28:51 +0200 Message-ID: <2026050650-CVE-2026-43215-7e04@gregkh> X-Mailer: git-send-email 2.54.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=2568; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jsLvLE+Q8A2+9fDgrfjC/g7rGj34lFzXzsYWoFsk2oM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/Vbdf3lytY52u0s9zJLkj1GCWCdcni28vtr49cfjjf N7XylwuHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARKwWG+f5LuFYdYdzR7Xbs d/9NEZ83Rxks7jHMj2WsuNjMeaH7wNt/bXViHMd6c5o/AgA= 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: cifs: Fix locking usage for tcon fields We used to use the cifs_tcp_ses_lock to protect a lot of objects that are not just the server, ses or tcon lists. We later introduced srv_lock, ses_lock and tc_lock to protect fields within the corresponding structs. This was done to provide a more granular protection and avoid unnecessary serialization. There were still a couple of uses of cifs_tcp_ses_lock to provide tcon fields. In this patch, I've replaced them with tc_lock. The Linux kernel CVE team has assigned CVE-2026-43215 to this issue. Affected and fixed versions =========================== Fixed in 6.6.128 with commit 953953abb66e52c224057ab91e404284fefeab62 Fixed in 6.12.75 with commit 601dd3b79769b38d30b693c40afdb2a4b7edf9d0 Fixed in 6.18.16 with commit 3969db6b22e3d90d8c5f22ac1a7fe0350a94c136 Fixed in 6.19.6 with commit 8c59eeeeffa1524ef57e173a89a1a3ff539888d5 Fixed in 7.0 with commit 96c4af418586ee9a6aab61738644366426e05316 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-43215 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/cached_dir.c fs/smb/client/smb2misc.c fs/smb/client/smb2ops.c fs/smb/client/smb2pdu.c fs/smb/client/trace.h 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/953953abb66e52c224057ab91e404284fefeab62 https://git.kernel.org/stable/c/601dd3b79769b38d30b693c40afdb2a4b7edf9d0 https://git.kernel.org/stable/c/3969db6b22e3d90d8c5f22ac1a7fe0350a94c136 https://git.kernel.org/stable/c/8c59eeeeffa1524ef57e173a89a1a3ff539888d5 https://git.kernel.org/stable/c/96c4af418586ee9a6aab61738644366426e05316