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 C7F7A33D6FA for ; Wed, 18 Feb 2026 14:54:44 +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=1771426484; cv=none; b=mIxPOBfNylqzSzqEpzfqlm4Zkp5x98B/ZVEQyGgkEtJQCgAm3vFLFL7ocvtIvE5ii5CyUbMfckJaVmGPDdZw02UJ/bgZBdsFNv5To+OnC3pn4kX+L/mxB16SSfs8lPB1r+nUOswq5/yB46umj6dMA6+0PLrVQ6fUGSkXYUBTZu8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426484; c=relaxed/simple; bh=o1GTTdqoLXwMDYtJutmFhj++x/a09F9TTZgPZQTRSxA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kDIUfBFLr8MSmkYkChyicA19DS7jsx7n+qpwYEWFOVYeWy/GuJkJoX9xpHpCF4hzuLYrgN9Ubnr9uLu6OnCpDkHlBsj43P/k3w9GsxysBculJUDQflChIQV/BP37u89NvHrorqYduoiuFKhkwCGrw80AHRPCByKXTtozb42q6PA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QWUyIdlq; 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="QWUyIdlq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46119C116D0; Wed, 18 Feb 2026 14:54:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771426484; bh=o1GTTdqoLXwMDYtJutmFhj++x/a09F9TTZgPZQTRSxA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=QWUyIdlqEXtYBHniEQVOPs1msBIrXJjdsadPpPevg1gNhAtpb0mgYUyFTnHUTi6xZ bh3thcCvCaSpYFM322kGNjnWiPvTaWoXmoINh9fFEo6lGmQPkLqsht/oHjxoA3wI9Y b3oS4XMaeHCAebsBSEzfXOgQj2XGwddsqfdpcMuk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23228: smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection() Date: Wed, 18 Feb 2026 15:54:17 +0100 Message-ID: <2026021807-CVE-2026-23228-647c@gregkh> X-Mailer: git-send-email 2.53.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=2214; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vukeAEJ7eXPBNIt/8kX1AXga0zCzC6TMRWpnFm/Zv8c=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlTL/Uf2MgY/zBJK1ixe6G4kL+B3gOBLV/eaMy5vPBYu zLXLwHrjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhINTfDghX7VoQUMIT7iTjM uh0X8qHVen3LSYb53r+S/X5+OZPIZ9900eJnwAPuv5d2AgA= 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: smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection() On kthread_run() failure in ksmbd_tcp_new_connection(), the transport is freed via free_transport(), which does not decrement active_num_conn, leaking this counter. Replace free_transport() with ksmbd_tcp_disconnect(). The Linux kernel CVE team has assigned CVE-2026-23228 to this issue. Affected and fixed versions =========================== Fixed in 6.6.125 with commit 787769c8cc50416af7b8b1a36e6bcd6aaa7680aa Fixed in 6.12.72 with commit baf664fc90a6139a39a58333e4aaa390c10d45dc Fixed in 6.18.11 with commit cd25e0d809531a67e9dd53b19012d27d2b13425f Fixed in 6.19.1 with commit 599271110c35f6b16e2e4e45b9fbd47ed378c982 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-23228 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/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/787769c8cc50416af7b8b1a36e6bcd6aaa7680aa https://git.kernel.org/stable/c/baf664fc90a6139a39a58333e4aaa390c10d45dc https://git.kernel.org/stable/c/cd25e0d809531a67e9dd53b19012d27d2b13425f https://git.kernel.org/stable/c/599271110c35f6b16e2e4e45b9fbd47ed378c982 https://git.kernel.org/stable/c/77ffbcac4e569566d0092d5f22627dfc0896b553