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 0D31D30C62B for ; Sat, 14 Feb 2026 16:28:52 +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=1771086532; cv=none; b=rfCZUU2PN0Rd4M2+0zKiFvrr46BwGr/WNx/RQJMRUEzvPpfTd5FiY9YDRguH0CeRK2XgY6FSjiTmbZji0yzUCdwL3u+Tc8NX7Ze9P2V0JE4FLqZUD/u9GicNER4ReI+i9VTAZV6CLY7iW3N5+77jOjIrD93FX1LYYe/6cfNQtRk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771086532; c=relaxed/simple; bh=4ZqTyNaWIQzerwC5xYtZcIZ7a6FFmL+2wrg/z9PPlPs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JBy2ebgSWfP6oLcl8xi/y74dilAXlr6STZ6v8rfI0YhFfcp7nNri0NyPeV5lhzBWZZo3dCNxUbnp/VnnzveC9GiLrW+oKY0kO1Pyjgz3Ww7GioUfqmkfGpQS4AJonshxBeFYZLi9GJuIjuHZI9RZv4QoMCbiFZAuxpEl62L6Yno= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TcaJ6xm6; 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="TcaJ6xm6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 813B2C16AAE; Sat, 14 Feb 2026 16:28:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771086531; bh=4ZqTyNaWIQzerwC5xYtZcIZ7a6FFmL+2wrg/z9PPlPs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=TcaJ6xm6dw+u9JPkDbjw6oxw/LKmgrZKM+/4YQq5DXACPLq3Mwp1kmt16gvF/pHJA nx/CiJ8/AGtUb14DrOwOtb25OycO2RAMO9yuWliLFNp0W33+V7kuSLMQ/yRyg8Eebl 1O6SbCxbqpnLG5TWLNEOghfjh2k6tM3mFR4J3y4U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71220: smb/server: call ksmbd_session_rpc_close() on error path in create_smb2_pipe() Date: Sat, 14 Feb 2026 17:28:26 +0100 Message-ID: <2026021425-CVE-2025-71220-162f@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=2284; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=P1IDIcewPDbPBzVADpepiJ8b/KocoM31/+aSvJEr0kk=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkTFq3ki/xz/5Syd9imuS+DXvlr7zl9fIrHnLN79LY8z +J+u1mxoSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmItvBMN/lhPnBSxd/ayw7 w/x6j82s1ZZbKpIYFsxKW7Zzwp0zDDsk/sdv0AvfsOnHZn4A 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: call ksmbd_session_rpc_close() on error path in create_smb2_pipe() When ksmbd_iov_pin_rsp() fails, we should call ksmbd_session_rpc_close(). The Linux kernel CVE team has assigned CVE-2025-71220 to this issue. Affected and fixed versions =========================== Fixed in 5.15.200 with commit a2c68e256fb7a4ac34154c6e865a1389acca839f Fixed in 6.1.163 with commit 2b7b4df87fe6f2db6ee45f475de6b37b8b8e5d29 Fixed in 6.6.124 with commit 04dd114b682a4ccaeba2c2bad049c8b50ce740d8 Fixed in 6.12.70 with commit ac18761b530b5dd40f59af8a25902282e5512854 Fixed in 6.18.10 with commit fdda836fcee6fdbcccc24e3679097efb583f581f Fixed in 6.19 with commit 7c28f8eef5ac5312794d8a52918076dcd787e53b 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-71220 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/a2c68e256fb7a4ac34154c6e865a1389acca839f https://git.kernel.org/stable/c/2b7b4df87fe6f2db6ee45f475de6b37b8b8e5d29 https://git.kernel.org/stable/c/04dd114b682a4ccaeba2c2bad049c8b50ce740d8 https://git.kernel.org/stable/c/ac18761b530b5dd40f59af8a25902282e5512854 https://git.kernel.org/stable/c/fdda836fcee6fdbcccc24e3679097efb583f581f https://git.kernel.org/stable/c/7c28f8eef5ac5312794d8a52918076dcd787e53b