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 788071DC1AB for ; Sat, 16 Aug 2025 05:30:22 +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=1755322222; cv=none; b=mekZuYop1wjkbc6/RRtY2eXX0HWqEUGW/Ki2fAxPY1MTrHKdij9h+HwDxLaGQoYhvZZILfJCcROTYFvl+gPjQ0hUz5OrAMzObmY/XAArBkY7fElbwyXUPSszIWja8/ch1wZJEiVyrEmZS8P+ryK1eMHuaWPDtvwy+pFybg5IcDI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755322222; c=relaxed/simple; bh=KI9h4AmJuvyU/iAh/HSmVxftsHW3GEM38UJ3cAI6Pe4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z3FxRHz7Lf09rTF5C4LNtzwFXwKtjqJOntW6/6IvgaG5yyHxbnzzMYilzw85IB232RGL5/RIWGgnsA8B1+ggilCmjSJtX0khXAre6YToVCEDeUncK+Xq4XAURADBcQIEGaE+BHQQ1OasIYJRMljNJIjA50FbhfuryDWTqCu0bqQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nsQShRf3; 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="nsQShRf3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7924CC4CEEF; Sat, 16 Aug 2025 05:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755322222; bh=KI9h4AmJuvyU/iAh/HSmVxftsHW3GEM38UJ3cAI6Pe4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=nsQShRf3GjniZKYh3Sz8jsgBxrml+H7u5PieWOSuAbg0/DrOlzvNZk/XgBbNlzTzU tTrIJz+Ilby3GgJwBN7V+0LVYA6mgjgdG+GfUwRxzYw3oUfrFAgi9Rdm2nIOd7w7AB UknD+K5HK5QPtpmza2VX7AxFhnpLVgWFuXGL7A6c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38501: ksmbd: limit repeated connections from clients with the same IP Date: Sat, 16 Aug 2025 07:30:13 +0200 Message-ID: <2025081612-CVE-2025-38501-e51f@gregkh> X-Mailer: git-send-email 2.50.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=2439; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rb5OG2WOrdDVKfHBYz8E2HxDzJkt4wPWtVTs+f+fLgI=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkLxFO7Sx8sCN+0WfL9aqMXEWesPMslZHRPVEuHL+ieZ Dv/n0l9RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEgZ1hwbSw6UGRAREf3k1m Yft6duGhZW53nBkWdJf+zI4z/ON/duPZxqXHMzZey+GSBgA= 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: ksmbd: limit repeated connections from clients with the same IP Repeated connections from clients with the same IP address may exhaust the max connections and prevent other normal client connections. This patch limit repeated connections from clients with the same IP. The Linux kernel CVE team has assigned CVE-2025-38501 to this issue. Affected and fixed versions =========================== Fixed in 6.1.148 with commit cb092fc3a62972a4aa47c9fe356c2c6a01cd840b Fixed in 6.6.102 with commit fa1c47af4ff641cf9197ecdb1f8240cbb30389c1 Fixed in 6.12.42 with commit 7e5d91d3e6c62a9755b36f29c35288f06c3cd86b Fixed in 6.15.10 with commit f1ce9258bcbce2491f9f71f7882b6eed0b33ec65 Fixed in 6.16.1 with commit 6073afe64510c302b7a0683a01e32c012eff715d Fixed in 6.17-rc1 with commit e6bb9193974059ddbb0ce7763fa3882bd60d4dc3 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-2025-38501 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.h 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/cb092fc3a62972a4aa47c9fe356c2c6a01cd840b https://git.kernel.org/stable/c/fa1c47af4ff641cf9197ecdb1f8240cbb30389c1 https://git.kernel.org/stable/c/7e5d91d3e6c62a9755b36f29c35288f06c3cd86b https://git.kernel.org/stable/c/f1ce9258bcbce2491f9f71f7882b6eed0b33ec65 https://git.kernel.org/stable/c/6073afe64510c302b7a0683a01e32c012eff715d https://git.kernel.org/stable/c/e6bb9193974059ddbb0ce7763fa3882bd60d4dc3