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 ADC511B7E6 for ; Thu, 22 Feb 2024 16:22:57 +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=1708618977; cv=none; b=VqRt28p8FzUxLobQD79MKLhu7+Q9WaRU8pe2xItQysiD4Pay+g8iJSJauqr63u3exqC9A9ZctS+ruFkHr4hfdWmtuqqyuVaHzk79m2C113dnshTJ2pROR6tUJi+gl5ik/iSoiz0NR9/bZ8X35jfpzFCBtoJ4BbXW6Y/kA07AnyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708618977; c=relaxed/simple; bh=ow8/c3c9L0z8MKMh7QK/YATAv9sHlRvbOA7SiawQWQ8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rJVebqJKjw8x7eSDw0uMtNXUBmK1cxqA/XBEmKGw303wL9y92eN+WZcB1cVtRbUilZA/bewd0pEcgHsHIUEck/UTCEKS8wsIkgbo5J3uAMQHQ9yt+Xt1zLIqXqi2PeeLZG6OG+aQElNp+UrQM5PrcA7C6xTAghjZIUblRgdj9kE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CJDxnplO; 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="CJDxnplO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35B04C433C7; Thu, 22 Feb 2024 16:22:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708618977; bh=ow8/c3c9L0z8MKMh7QK/YATAv9sHlRvbOA7SiawQWQ8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CJDxnplOeg2JHYuJ+hoCXd69ePktSMx5FEEJee8BMSIhFgCEbVOF9KmWBUrn2uhrR yWcfYofKoGRmso0Gd1pXOp/u6elHLG7D4pZcRaiO15bbXn5KxH4CWAmZc05iniXDy+ vEeoJg8je8IHn+5dXl+EkvmXNsvv9jLpkd8NB6+c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26592: ksmbd: fix UAF issue in ksmbd_tcp_new_connection() Date: Thu, 22 Feb 2024 17:21:59 +0100 Message-ID: <2024022259-CVE-2024-26592-58f7@gregkh> X-Mailer: git-send-email 2.43.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=2034; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ow8/c3c9L0z8MKMh7QK/YATAv9sHlRvbOA7SiawQWQ8=; b=owGbwMvMwCRo6H6F97bub03G02pJDKnXS5bbu/EqnV/7KeZF0vqjatY3ix/Zpq7fZZGUF5qZp bYlSeZJRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkXoJhwZQ9aczKv3pK5Be4 GPRsrXpZc+1vNMOCq4vNcuR3eqhNO2zXdDZUMD8kXOEuAA== 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: ksmbd: fix UAF issue in ksmbd_tcp_new_connection() The race is between the handling of a new TCP connection and its disconnection. It leads to UAF on `struct tcp_transport` in ksmbd_tcp_new_connection() function. The Linux kernel CVE team has assigned CVE-2024-26592 to this issue. Affected and fixed versions =========================== Fixed in 6.1.75 with commit 380965e48e9c Fixed in 6.6.14 with commit 24290ba94cd0 Fixed in 6.7.2 with commit 69d54650b751 Fixed in 6.8-rc1 with commit 38d20c62903d Please see https://www.kernel.org or 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-26592 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/connection.c fs/smb/server/connection.h fs/smb/server/transport_rdma.c fs/smb/server/transport_tcp.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/380965e48e9c32ee4263c023e1d830ea7e462ed1 https://git.kernel.org/stable/c/24290ba94cd0136e417283b0dbf8fcdabcf62111 https://git.kernel.org/stable/c/69d54650b751532d1e1613a4fb433e591aeef126 https://git.kernel.org/stable/c/38d20c62903d669693a1869aa68c4dd5674e2544