Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794065632; b=n6TsMgjEpDbVJsyc4TveKKj1E2lXhSKeSCDP2UVDd0CHAt9uPvX5Txnox8leZrWeCipP 9RbydWOJmhx+Oc1ybchTXXY9eJjlukeyQXFnkKV7i19oR8GU8fdK5PFQIEu2Rtc5bslQN NkzHsHJkD3qUlC5KEBLKoHMFHJFV/Ek3byqwZ1AFH91kse2L1dlhI91VlBhyl3ERjk60I sCM/aiqq5+ML6bbz0fNF2rM/g32oobJZkxuaxsqQBT+kQpq4HpX6yBYqXDRYOpjkOGw7z IXr4EkN8+5I3Nl0ZsTHmov9Wf5pqlGsJv+6YJ3op2qFTc7/81+YRsp688IRKNVvptMg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794065632; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=qYU9c58DoAoZ6UNC7p5LXDLwvdADQwod0/sFXPUuAsg=; b=aOSC9z8cpxtUKEKAPEkjl253QYQLtuFAvphds4Br3t6XIe/Ra+dZ7IVSMpy5nFTWN8Pg 7jB856mdeBcoBx3VPNcHaqPpuYCUMbV0Akf+PbuudpVbYJliWrjFNsGIANRMkelyqtQxA yuNrkgsIGorZrLXdhxYzffFtRVmmThWo4jltwCFuA2UCf4oV7jGyqvLFophUSSGGl39qC l6r6/M0NztLpu0fwJweCg65LRqq7RnJRKpEzLxA6ex9WeN9z61P7J1FdZZ80B18bjoN0o AKTEUL86DXBUbZszdyYrVAcoQxUdgLOR8hrytzjC2ZRNM4QPDOLa5EW/mLXh5+X5zHg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Q7T+G1It; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DF42606D804 for ; Sat, 7 Nov 2026 15:33:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=Q7T+G1It Received: by smtp.kernel.org (Postfix) with ESMTPSA id 243A91F008A1; Sat, 7 Nov 2026 15:33:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794065632; bh=qYU9c58DoAoZ6UNC7p5LXDLwvdADQwod0/sFXPUuAsg=; h=From:To:Cc:Subject:Date:Reply-To; b=Q7T+G1It9Lk7LQEV/rM4oY/h7hqj+qwZO4CwDiAWKGl+ihczIjewNip7V5QvG+pRg hJUAXl0h/7VncVpx5JtRLBeEoilyefh8cXFbUK3U/3LCLazBjaHM9nWgI+EN6rNHpU vSwJmiCFPQdCBF84SWNe8GI4J7rrNnpviOPmgZYQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99280: ksmbd: drain session procfs readers before dropping table references Date: Sat, 7 Nov 2026 09:09:00 -0500 Message-ID: <2026110755-CVE-2026-99280-fd05@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2843; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2CVhBhOKANQHEOBCslHu78TR+VZCHO9jX19Qpkh3J4g=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnvDb6ntmU1Cj15X3EjxurZyveX7888HClib5Szdt9uj 6KDqXnlHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR7t8M89ReCCxIPnitvjhS SmlyNEt9/EWN4wzz1HP5U0V3+hSz/7unnVSt8rvp9ZvTAA== 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: drain session procfs readers before dropping table references Session registration failure and connection cleanup can drop the table reference while the per-session procfs entry is still accessible. If a reader holds the last remaining reference, its final put calls proc_remove() from its own callback and waits for that callback to finish. Remove the procfs entry before dropping the table reference in the registration failure path. Queue sessions removed during connection cleanup and drain their procfs readers after releasing both session locks, then return their table references. Keep the global hash node unhashed while a session is queued so a concurrent unregister cannot drop the reference again. Previous-session replacement also destroys the file table before the session is finally freed. Detach the idr under the lock used by procfs file counters, and report zero files after it has been detached. This prevents a reader from accessing the idr during or after its destruction. The Linux kernel CVE team has assigned CVE-2026-99280 to this issue. Affected and fixed versions =========================== Issue introduced in 7.3 with commit d7fd1f98607f2cd358e583f9548bdf0173090a86 and fixed in 7.3.2 with commit 6789f0983f8e85ce3a5ed8c50fc05d613ead9c2c Issue introduced in 7.3 with commit d7fd1f98607f2cd358e583f9548bdf0173090a86 and fixed in 7.4-rc1 with commit 1c087cf7d5386c708d8984b263280b42b3daada0 Issue introduced in 7.2.8 with commit c99ea7855124ca1428a1e59c2b4590aaef34eacf 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-99280 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/mgmt/user_session.c fs/smb/server/vfs_cache.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/6789f0983f8e85ce3a5ed8c50fc05d613ead9c2c https://git.kernel.org/stable/c/1c087cf7d5386c708d8984b263280b42b3daada0