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 9D1EF38A734 for ; Sat, 25 Jul 2026 08:57:21 +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=1784969842; cv=none; b=qG8AxR9pIZZlVmMTe8lRN4+emG0nNg+DzYXDdd3bjmEYmxfzUEvCR3qc/HyjJ89WMljhQ3t5Bn0mQYevf859tmfN5xG4UjKz1X106tEaWkm5RU6nvFQY8IQtJnMKVGbyDeSRFtKkSnQax1rXQj/NN35PTVnhhuDi6Pj7ACiq284= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969842; c=relaxed/simple; bh=va20Xh6RdTVLft+lwdN0TqFDto3Gg40ALbmo62RSFgk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bO0P3JoZjrKYN3g3QB2FEJuww/yBueJcma/NhnXx3Z1eHSf6vK2KXdFfgBsZi5CTww1EzSnKxZsbT5/r3pfuGwaNi4dntZgQwKBkxL9n+rOkmz5mXWGM5ZXMjB5dWm2z0UDBU6PpjLlqpP7aafB4nLaqpqxlAPrwD4XXK4KLwho= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1XVeVGNd; 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="1XVeVGNd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC0AF1F000E9; Sat, 25 Jul 2026 08:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969841; bh=k6wxNbIpP5yp/G4FdH10zGgj++P+4KfHqyltRyc8orQ=; h=From:To:Cc:Subject:Date:Reply-To; b=1XVeVGNdcZptEJpxgCJqPYc+ooxSvtjAyUGKgfNXWwFwE5KnEFLXW9lOITuxfzhU+ YCiGYS7M3ra6QRO8eH26Qfi34ERi3Qzx4KwhHw2mWPHdD8yMycfd8XDrtbwE/5XF0E rRUkrBADu1rrSvi8iQF+e6J+G9fBZK6fEqXuoqXg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64393: ksmbd: run set info with opener credentials Date: Sat, 25 Jul 2026 10:50:10 +0200 Message-ID: <2026072528-CVE-2026-64393-200f@gregkh> X-Mailer: git-send-email 2.55.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=2758; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JfIhhMCvNX2VV8At7PGKvnK37NMDxQVabp2hb4pC7pg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFTFxdS8jjqxcZPFU6mBH6b45c49cNrq0N3DWOUtmM eYcxTM3OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiYe4M8wsWyN3I/9imV7fr +JF0+55rO5S8ohnmFz8/9LiwyoN7078TL150nym+8tyWEwA= 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: run set info with opener credentials SMB2 SET_INFO handlers call path-based VFS helpers after checking the access mask granted to the SMB handle. Those helpers perform their owner, inode permission and LSM checks using the current ksmbd worker credentials. Run the complete SET_INFO dispatch with the credentials captured when the handle was opened. This also removes the separate security information credential setup and keeps all SET_INFO classes under one credential scope. Direct override_creds() is used because it can nest with the request credential overrides already used by rename and link helpers. The Linux kernel CVE team has assigned CVE-2026-64393 to this issue. Affected and fixed versions =========================== Fixed in 6.1.178 with commit 5cbabf3a71575cd31bc7785d92d4ab42338a654b Fixed in 6.6.145 with commit b35afd5cf8fab236ef21117e42ee45691d4ffa7b Fixed in 6.12.96 with commit 0ce682867fd506f61f40c76bde7e4205bde34e87 Fixed in 6.18.39 with commit 20ee516a62989a8d505ee432f9e59525ea23984e Fixed in 7.1.4 with commit 8cc9ec711f5255167247a9ab6a7179b787426ed7 Fixed in 7.2-rc1 with commit b383bcad3d2fe634b26efbce53e22bbb5753a520 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-64393 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/5cbabf3a71575cd31bc7785d92d4ab42338a654b https://git.kernel.org/stable/c/b35afd5cf8fab236ef21117e42ee45691d4ffa7b https://git.kernel.org/stable/c/0ce682867fd506f61f40c76bde7e4205bde34e87 https://git.kernel.org/stable/c/20ee516a62989a8d505ee432f9e59525ea23984e https://git.kernel.org/stable/c/8cc9ec711f5255167247a9ab6a7179b787426ed7 https://git.kernel.org/stable/c/b383bcad3d2fe634b26efbce53e22bbb5753a520