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 15FDA4596F for ; Mon, 20 May 2024 09:49:45 +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=1716198585; cv=none; b=fkbqmWcawGQTxuNjk4YItHsxBTLZJ2XXIsx5uT/uQCLGdm5j+HX4OlTiadrjep8487FbCaoqFafcJ1r9JcZ1cs9bL2K+SLh0+9CU6wzlVZIWW77GdGP38NLzF8hGQIH5hk/w8/POq3b7aX32Mc/SvaSWQpEZmaW2hCwxN/UUayE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716198585; c=relaxed/simple; bh=r+A5IsxZSpsDfBcJJpLLUodnk68x5iRfgUWyo+5yL/E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TgHs0VxmxKbz6HmQ4M21LOjhI+VZvGiUdbB1xzKtNSrqKcRvza7OauKlgdbIn8iAXiGKljhoHAEBXAlHXZtiuYtfna0ZHH8VIUNNRM0dmoE0TQXKIgTLBOjeGxii5eqDvFjLHEHTTQMG+TJUug4qqw2oDMNwpfWSgp+1L0gCQY4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o89N3Ap9; 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="o89N3Ap9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90D2BC2BD10; Mon, 20 May 2024 09:49:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716198585; bh=r+A5IsxZSpsDfBcJJpLLUodnk68x5iRfgUWyo+5yL/E=; h=From:To:Cc:Subject:Date:Reply-to:From; b=o89N3Ap9EpIoKx33wNLs2DdJfWNSgL0sRoD17zAAg9UGnx85EgKeoVyuyyL+ZL/5C vzT5eI9S71UQeiIEz09wfFu+8tpHrfU63s5NAKCPFryjwuXrNOBuPjbnzWtlV8R3Cy eQcbFoYhcbTeYTeL13v6S/arW/jnpau8UM9Xh32A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35999: smb3: missing lock when picking channel Date: Mon, 20 May 2024 11:48:35 +0200 Message-ID: <2024052023-CVE-2024-35999-da29@gregkh> X-Mailer: git-send-email 2.45.1 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=1946; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=r+A5IsxZSpsDfBcJJpLLUodnk68x5iRfgUWyo+5yL/E=; b=owGbwMvMwCRo6H6F97bub03G02pJDGneMum2K04t2RXTNCHywqY5xz837zd48v/uoZpv0WuuB byxMuL53hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT+WbCMFdccbpIvOvGmTd1 diw/63T4vNYDMyOGBYtDL54OehOboN1oFyccfuTzEU3tNAA= 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: smb3: missing lock when picking channel Coverity spotted a place where we should have been holding the channel lock when accessing the ses channel index. Addresses-Coverity: 1582039 ("Data race condition (MISSING_LOCK)") The Linux kernel CVE team has assigned CVE-2024-35999 to this issue. Affected and fixed versions =========================== Fixed in 6.1.91 with commit 98c7ed29cd75 Fixed in 6.6.30 with commit 0fcf7e219448 Fixed in 6.8.9 with commit 60ab24529228 Fixed in 6.9 with commit 8094a600245e 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-35999 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/transport.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/98c7ed29cd754ae7475dc7cb3f33399fda902729 https://git.kernel.org/stable/c/0fcf7e219448e937681216353c9a58abae6d3c2e https://git.kernel.org/stable/c/60ab245292280905603bc0d3654f4cf8fceccb00 https://git.kernel.org/stable/c/8094a600245e9b28eb36a13036f202ad67c1f887