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=1795154454; b=zHFeqWpTiEecgnyHh5D/vOcw51vBN6T3JIxTGLv2ZfD3W13w2xa7+RH14OZqviUBTi+R MZeYHbL55JvzzXpbX8M1CS6GCyb3x58KbQUQHejA4KU6Gwnxw7Hc1TqcqIDzZryvk4mzE Wgjp2ypzHX3OJXR2xqOeiiUxZrWlVYADFFOVFCbGd4ux5aCR3FzPqEgYo5yG72QEMmX3U i8YRXrBt5NumRwNJnw51RlDB2vARJ5lq5riv8iYCUEiH/QV1eWngRXi3QvAVStVbdEAk+ hQiDd70gcU7P/yEb1GAhd18mjUkmTrBHXvOfFcJZ/dmOFyEhae+y5S69AriwzSTgklQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154454; 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=jcbVxUG9dP8xwzogzkterubbPFrVpmMqVoQFDgfZj3A=; b=C/bx527PGjlq9U5nmuHU1NJjdBCCOYPuR7JZcUNwKMPCX7uz2gVart3NZrtTNg/7HyaM hUjBPuyV4j8RIr+e6jdWZrow9uoy65rLTLzWoE8DKDy18Bax8OAy7xdx2nsFkM2J5JVVW go5+8lUUuZlQ8yEzpL5wypRDFgBp9HSoD7565NhPHp40cjQXqryxGltYxRbHq/O98l9u8 yLvu+ItjubFm7Q3zE8Vp740i097Z9YBwisH9bD0TphY4PkyU8zjzc1ggyD4XqbZkSGHJ/ u1R35g1ZtixYpdEr7/CPDIWYHNH+/WCXowJ8//syX4pgMGciJ6rUD//6BmoU9oMDltA== 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=2s5+JOBo; 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 DF23E606A510 for ; Fri, 20 Nov 2026 06:00:54 +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=2s5+JOBo Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0145E1F000D0; Fri, 20 Nov 2026 06:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154454; bh=jcbVxUG9dP8xwzogzkterubbPFrVpmMqVoQFDgfZj3A=; h=From:To:Cc:Subject:Date:Reply-To; b=2s5+JOBorrMdTbHw45tGwOPL04z5OVq0HTYyHfVLSBq3Xy3ynxam+HWukPm4KK5r5 9v6BeRSQJ/o0pLVKwAO71lB1zSOjCZyDnUaUizVDmSwVEFoExvXHLoFz97hy3ub9nr RcIkAFV+y+gNo+leT9GI3HqTrNmUPim22OdopbQQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99748: ksmbd: revert fsids on durable reconnect and replay failure Date: Fri, 20 Nov 2026 06:52:14 +0100 Message-ID: <2026112020-CVE-2026-99748-5e72@gregkh> X-Mailer: git-send-email 2.56.1 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=2461; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jSlwQcaU44SuMVaf1MAKyXBMJZd/4rHBh8U3IIkn7gI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/789x/27Uc/NnhYmJzqvKFq/yjLZtTxaIr+u5km+qo XY8RcuqI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSFM8wT9vqefPrh8v7Aw+I fg9Z+qJLdVvsAYYFG7pWzGW/9M1u0qMnazjUYpWFJiyaAwA= 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: revert fsids on durable reconnect and replay failure On a durable handle reconnect or a request replay, smb2_open() switches to the SMB user's fsids before calling ksmbd_vfs_getattr(). If that call fails, the code jumps to err_out2 and skips ksmbd_revert_fsids() at err_out1. The user's credentials then stay installed on the shared ksmbd worker. Later work on that worker, including other users' requests, runs with the first user's fsuid, fsgid and supplementary groups. ksmbd_free_work_struct() also warns, because work->saved_cred is still set. Jump to err_out1 instead. No path is held at this point, so skipping the path_put() at err_out is correct. The Linux kernel CVE team has assigned CVE-2026-99748 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit c8efcc786146a951091588e5fa7e3c754850cb3c and fixed in 7.3.5 with commit bd7142a1d60c8aeb203e007515e077bcded88769 Issue introduced in 6.9 with commit c8efcc786146a951091588e5fa7e3c754850cb3c and fixed in 7.4-rc2 with commit 539223f18026448f67d33d09719c355b91db7fd0 Issue introduced in 6.6.32 with commit 8df4bcdb0a4232192b2445256c39b787d58ef14d 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-99748 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/bd7142a1d60c8aeb203e007515e077bcded88769 https://git.kernel.org/stable/c/539223f18026448f67d33d09719c355b91db7fd0