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 02C282DAFA2 for ; Sat, 14 Feb 2026 16:28: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=1771086538; cv=none; b=KFjgCwx+Fkal1Ok4eVm5RhwNbhGcbMScemYnTMu8NrWqAmTTobRSvNq7QJU19HyNXtmaGXN0DNAgqhj44Hcx6ATDcFOtYnQyQwM4D+80KdvUPUOeH1ECVX0983fINdwQB5c3cHr5dcoMAZ6vQzPq/mK4jP74evsaonE8486titI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771086538; c=relaxed/simple; bh=AhdD6yuGoJygzFd8qp+tsSN+/3oEh3D1pT8hYjyjDHI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BKgEZali+MeZKVqqyWslTYY2dXAFY/fQYFHcY1a4r8h3d46W4Yefr9aL6TTFAaESzj/z4Epyp73Jr8UMKKE2Fjt6WfEn6YnVQbhk9hmcMe3UzTi1S+/cSXNC5YJE8I/APdAgIkvlJDauX7AxsNER86CzAuH9K3Q/l7FwLYpcq4s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JgdKGXck; 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="JgdKGXck" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 404F9C16AAE; Sat, 14 Feb 2026 16:28:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771086537; bh=AhdD6yuGoJygzFd8qp+tsSN+/3oEh3D1pT8hYjyjDHI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=JgdKGXck13D7vDFPYszNPTVKJySeqXDqpeAEKON94oLOqO5UJQVFowIALAlFc3a60 L0p/9g8YunPBO2W3GE7xHiVD1B5tfwb09u11ecsRFuuxsThSPH9RyzKunff29I23rj UVuppMPw+VGsZobMdtDQVYHQBdnkQ1cHzo+6CNFw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71223: smb/server: fix refcount leak in smb2_open() Date: Sat, 14 Feb 2026 17:28:29 +0100 Message-ID: <2026021426-CVE-2025-71223-65b9@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=1966; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uKWtyOVm7Ppf0bnhlmjbn91GIGl1Pel2iG04yXgVSzM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkTFq3adnXp1bR9t651pPQ5/4lbcdzpzHzXR197fqcqr ovcs9Y2riOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmck+KYcG+APakD0Emh6+y b/u45LzPbYbMp0wMc7h73vGufP9+7Qyjfl/nJ9ZTXc+IXwUA 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 refcount leak in smb2_open() When ksmbd_vfs_getattr() fails, the reference count of ksmbd_file must be released. The Linux kernel CVE team has assigned CVE-2025-71223 to this issue. Affected and fixed versions =========================== Fixed in 6.6.124 with commit 2456fde2b137703328f1695f60c68fe488d17e36 Fixed in 6.12.70 with commit 39ca11ff158c98fb092176f06047628c54bcf7a1 Fixed in 6.18.10 with commit 4665e52bde3b1f8f442895ce7d88fa62a43e48c4 Fixed in 6.19 with commit f416c556997aa56ec4384c6b6efd6a0e6ac70aa7 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-71223 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/smb2pdu.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/2456fde2b137703328f1695f60c68fe488d17e36 https://git.kernel.org/stable/c/39ca11ff158c98fb092176f06047628c54bcf7a1 https://git.kernel.org/stable/c/4665e52bde3b1f8f442895ce7d88fa62a43e48c4 https://git.kernel.org/stable/c/f416c556997aa56ec4384c6b6efd6a0e6ac70aa7