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 9ACD238A728 for ; Sat, 25 Jul 2026 08:57:02 +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=1784969823; cv=none; b=shYZVGewZo1O6O2tl77sMdXH0mPeYDa7K72i+x1x3Ex44TM2b5GIavtjsiJZ+qSSzDS6Gn849m9iGzx+HQLnsRWYX58oAilFk4wwYQdVXW0uOWakt0Wk3YVrIS6qRKxQgQVvUL8WzjPOXvk1BTPzksGQr84Z0R5RXmLvdmNeP6c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969823; c=relaxed/simple; bh=bL2Qvov27qxnUzb3r716DeqycQKnsKf5QIxU6Rn3Rko=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Hvkfe/cqplaxTaj+gsVeck3En7GlvgkZ2HSQFYnZMS5thuwwhO/UFAgsHrMU6SOh/U4Qp7B6LAYxelu4FOQ1Y4TyxKvbpTfts8qjWPohNzSptUFZH1lbg78ymVGeXNiJjYR8cXUOgi38+oaymL6T3of9EbzU4MrrM9GgEv+pSvs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XWBGr3f5; 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="XWBGr3f5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E905A1F000E9; Sat, 25 Jul 2026 08:57:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969822; bh=DS0YpE3pkOKwdMS9l/LDlFbff9OshOEkXIFPNOiH+oA=; h=From:To:Cc:Subject:Date:Reply-To; b=XWBGr3f5oRdsbUtwRsy7KgD51LHX4cFxmYBQHtVKR6riwJcSIpJC+JMDRHO7ERwA3 FMvIPsRT9ggkMcOIG0094VpNXAthHO0m1lFf92t0xThHasmjiFbttftSjA+NbOKN8w xUeeqQVyq1g2aFf2XcBhvHvGzL6p4WTsqRpuk5v4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64391: ksmbd: use opener credentials for ADS I/O Date: Sat, 25 Jul 2026 10:50:08 +0200 Message-ID: <2026072527-CVE-2026-64391-ae65@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=2167; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sDKkfGqIj+N2VHWnHHyNWamDXX98TA0pkVvu1BMDncQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFdGf11zznV/qK+yZ2LJ/l+D6cK/Iym6NV+XOPCYX1 inVKoV1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETerWRYsOTN6sc7Cqou1Kv6 f/9+wj7uvwifEcMs5ixHZqmNbvuOsOgc/KOuVZh07poNAA== 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: use opener credentials for ADS I/O Alternate data streams are stored as xattrs. Unlike regular file I/O, their read and write paths therefore call VFS xattr helpers which recheck inode permissions and LSM policy using the current task credentials. Run ADS I/O with the credentials captured when the SMB handle was opened. The Linux kernel CVE team has assigned CVE-2026-64391 to this issue. Affected and fixed versions =========================== Fixed in 6.12.96 with commit a8f5d39971bbad9340d49cd41b0e2da9452a649d Fixed in 6.18.39 with commit 2b4592cea214683de0f2ce6f8c22c097fb0ea1ab Fixed in 7.1.4 with commit 52a56cf53ec834c44ac1b4d16d585f26613ee5ce Fixed in 7.2-rc1 with commit baa5e094886fffa7e6272edcb5e08be5ce28262c 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-64391 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/vfs.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/a8f5d39971bbad9340d49cd41b0e2da9452a649d https://git.kernel.org/stable/c/2b4592cea214683de0f2ce6f8c22c097fb0ea1ab https://git.kernel.org/stable/c/52a56cf53ec834c44ac1b4d16d585f26613ee5ce https://git.kernel.org/stable/c/baa5e094886fffa7e6272edcb5e08be5ce28262c