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 504AA39FD6 for ; Tue, 25 Jun 2024 14:29:07 +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=1719325748; cv=none; b=YDDahKSCeDBt3teH2aFomzDmYvNYlNV4h7CIFNdGqWS3pUv+izs4UcBLWJFIkJMqcDesRwO+NqqSFy5yG3vCGydCJdTEQpoKimRFkHj5xyElXTvRWH/r60CDbx3JuMGOEie9fg6R6Va4Q5wHdtRzWKJErQ10CcWZiixvYfWZkSQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719325748; c=relaxed/simple; bh=Osr0y0dWlgmnCt5H4oYN1NjUZj4l9O2IKuBfu6zmokI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sBHj6bASmZbQdjlmZpdoKbmxz28wjl9Lm88v98GthhJoE9fg8w9optU+qtKm0PzHF/6ycMq3K7P8zHqhZfUcd7SWXP8CV95HIyKjjr7VsPbRh1UreYrQhDqH+SK9S26NHaK0xL3QVM4v0HCGYAA+I/PF1rVsFRE7fPCHc7SYvfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m1reY5iO; 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="m1reY5iO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66797C32781; Tue, 25 Jun 2024 14:29:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1719325747; bh=Osr0y0dWlgmnCt5H4oYN1NjUZj4l9O2IKuBfu6zmokI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=m1reY5iO/gKABcyOWeEHdmj6oq9dhSW5dKT89CKF/5l2a1yLNcEuVieu7Ylmrp1cP nUZ9XjvLKIoT0lOQztQ5Bq7wpIIdjKpHcJHNDvzHYAeArc2jvjGPUVr/YRG/fxPDTY nlqJ56O5Or9HeEnLzS9tR11LgaZtlfJaiSYDtabM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-39468: smb: client: fix deadlock in smb2_find_smb_tcon() Date: Tue, 25 Jun 2024 16:29:01 +0200 Message-ID: <2024062500-CVE-2024-39468-11d2@gregkh> X-Mailer: git-send-email 2.45.2 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=1864; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Osr0y0dWlgmnCt5H4oYN1NjUZj4l9O2IKuBfu6zmokI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlVV3RWZ04SX9LoWXBZM8pW0vvcltqHtwtdDriJrRQ+d uCfUPvkjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIZwrD/Oq1pgUMK2OzM/nS z22O7tfQSuewZlgw93IBv7jo4kfin64b3r+8JE39ehUHAA== 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: smb: client: fix deadlock in smb2_find_smb_tcon() Unlock cifs_tcp_ses_lock before calling cifs_put_smb_ses() to avoid such deadlock. The Linux kernel CVE team has assigned CVE-2024-39468 to this issue. Affected and fixed versions =========================== Fixed in 6.1.94 with commit b09b556e4896 Fixed in 6.6.34 with commit 225de871ddf9 Fixed in 6.9.5 with commit 8d0f5f1ccf67 Fixed in 6.10-rc3 with commit 02c418774f76 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-2024-39468 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/smb2transport.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/b09b556e48968317887a11243a5331a7bc00ece5 https://git.kernel.org/stable/c/225de871ddf994f69a57f035709cad9c0ab8615a https://git.kernel.org/stable/c/8d0f5f1ccf675454a833a573c53830a49b7d1a47 https://git.kernel.org/stable/c/02c418774f76a0a36a6195c9dbf8971eb4130a15