Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 227D63DDDDD for ; Tue, 6 Oct 2026 10:24:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282288; cv=none; b=WCCsKECiUgKxf+U/Ud0De/1KxTGU35ERiLjllb+ScWxqejItwaijh6cey9/l1Z87RR2rslNeww1IlDShypgKedqoPjsJboXYnZNLlpvg3ba/bvCt0bquS6q5kE/AMAZBUnYmcvnhn9cxQjRA3xe+JHlrhupnHrlOjvb6bUOMBw4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282288; c=relaxed/simple; bh=KO7DSKzwp7RUXBeJxEHKDJ7Z+GHu2Y2SP4lHHjzSNrg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=slDROAAZVw3Uk0gECDeR6nn9nLmHA4Rb5FNNl4x50C95z5okhiIrVbnyNxBKVtqBBT4O8h8mtXkqIzPLhWrMwXYT8g1tjJtuDDNx2f3qRFCOpplzL4Gyis4wddiCCWkhQGh56qE+p8UZTDK+RSA07t6HhU3KD0OCrIqi3zUa98o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JC40ZsuD; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="JC40ZsuD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E6991F000FF; Tue, 6 Oct 2026 10:24:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282287; bh=AUmVzB5ImPkz7nmXsmuoY7bT6G4lJzheSUUP9ccl/y4=; h=From:To:Cc:Subject:Date:Reply-To; b=JC40ZsuDljR8YKXC3Zt204iM7ToXtqjjg3TomLZ56nPDj9shqsYj7Uh1c1pn7OY+9 RnwrqmceAidu9qU4v1P2jrEVJMm5/DOAMJGaJwh6dGJUfD5qoW+NPpoGCNTILvYkPX tjvk1/34Kau4zwL46bjSorTNx9aD0vysZJJpssZY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98261: cifs: Fix server use-after-free in cifs_chan_skip_or_disable() Date: Tue, 6 Oct 2026 10:46:02 +0200 Message-ID: <2026100658-CVE-2026-98261-7af8@gregkh> X-Mailer: git-send-email 2.56.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=3221; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SsGkYr/1Cj0EDV3ZtaqRN2xyE+GdRm04UO6tEs2zsGE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtnKZB31LU00qcfDLFeS1MJngXfnYZu53yaQ/Ly43b Em5t/ZwRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEJZxhnvX6ttuCHFcF6l4t iQ9XMJaf0HAjhWF+iead0PsKFe726hYOiXzGTuf7DlUDAA== 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: cifs: Fix server use-after-free in cifs_chan_skip_or_disable() When a secondary channel is no longer supported by the server, cifs_chan_skip_or_disable() drops the channel reference with cifs_put_tcp_session() and then continues to use the server pointer by calling cifs_signal_cifsd_for_reconnect() on it and reading its primary_server pointer. cifs_put_tcp_session() can drop the last reference of the channel and tear it down, so both the channel and the primary server (whose reference is also dropped by cifs_put_tcp_session()) can be freed before they are signaled for reconnect. Signal the channel and the primary server and capture the primary server pointer before dropping the channel reference with cifs_put_tcp_session(). The Linux kernel CVE team has assigned CVE-2026-98261 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.15 with commit 50e8363ecc85da49764781da90ebffe1a657b370 and fixed in 6.6.158 with commit 0338489960ddad6368bce55e8adbc176c523093d Issue introduced in 6.8 with commit f591062bdbf4742b7f1622173017f19e927057b0 and fixed in 6.12.112 with commit edd52eae5fcfb8433b6bb0e7cd98db438fe01227 Issue introduced in 6.8 with commit f591062bdbf4742b7f1622173017f19e927057b0 and fixed in 6.18.54 with commit fcc0a935bb6e37ecbf7e4335061309f896f35780 Issue introduced in 6.8 with commit f591062bdbf4742b7f1622173017f19e927057b0 and fixed in 7.2.8 with commit 7a1b27780b113583a94256d58dabfe7c0d9286e7 Issue introduced in 6.8 with commit f591062bdbf4742b7f1622173017f19e927057b0 and fixed in 7.3-rc4 with commit 717e0a25036b6c92cecace30913b2d874a4c22b8 Issue introduced in 6.7.3 with commit d61ba1d71ea6039eca7ada870bf3f0c3c8fc12e4 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-98261 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/client/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/0338489960ddad6368bce55e8adbc176c523093d https://git.kernel.org/stable/c/edd52eae5fcfb8433b6bb0e7cd98db438fe01227 https://git.kernel.org/stable/c/fcc0a935bb6e37ecbf7e4335061309f896f35780 https://git.kernel.org/stable/c/7a1b27780b113583a94256d58dabfe7c0d9286e7 https://git.kernel.org/stable/c/717e0a25036b6c92cecace30913b2d874a4c22b8