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 9CB8539021F for ; Sat, 25 Jul 2026 08:58:22 +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=1784969904; cv=none; b=DGfCa/6jNJ0zV78WbRhPQ4KdWGUhV9GUGt1pZ5rlcMem2jFONgtFWzUeMODVsqd4j18z/WYMMYcj2KgilClCyEQMwh1FSRQuO1dioIzl+Y9FLUdiLFiVM0+X4D2O1SmIzKmScMfo/qLYHwnuTAJqBuBWkgWdAKcmzLZ2nbEbdow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969904; c=relaxed/simple; bh=5eGb5HMlkAEYn1dykuO9lXVexCw6jGpCFkoyKgjtM2k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pm+eyt2f6uNyd9WH7aX658mUmV7DwTEqcA8x3Kw5FTSaEw/6QAuTQ55ArQUtiNDBkIIESI3O/Wc6lmPaW6FsgPt5IQM1CzdL4idf3h+jCt9tokELvrsCUIa+DJAagohPRMPj1gYgiw5Mosujx7Qvb6A/occPVUGKATl/kgdO7X0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=McjGCjPk; 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="McjGCjPk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 031FB1F000E9; Sat, 25 Jul 2026 08:58:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969902; bh=xBYGORHH2H6v3OVg7hxA+THGj28uQ1FzT1r6OKYfAwI=; h=From:To:Cc:Subject:Date:Reply-To; b=McjGCjPkrW1dVw3u/M/qpleA6JAtnyK0hC6oOdD+/R6ndVVu9+AFB2BSUJsO2G5yz 22eVFxa5UNZfLScKb7CH6KzsQErm3LP1wbIefuDD87UHjjmbp779Ge2EwGagzntLBN ahRJ3kkk7iETT83BC+UkobHeODP+QiNute+nuS8E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64395: ksmbd: require source read access for duplicate extents Date: Sat, 25 Jul 2026 10:50:12 +0200 Message-ID: <2026072528-CVE-2026-64395-26a3@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=2612; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o5JqifE0Iu8URP8oYkhPQuY/nZ4meHn0zJhJVkiqI+Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFTGvb1Vayk7Z/tt9g+9Km6/is4JrfnwRjzGfuPL/4 pOu6zZ+7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJGH5jmM3SwzUh4YDCjIVz uUMXflt0Tsv8chnDgs3HL/74vPzBkuakj6bLtO5OUHHZbAIA 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: require source read access for duplicate extents FSCTL_DUPLICATE_EXTENTS_TO_FILE passes the source file directly to vfs_clone_file_range() or vfs_copy_file_range() without checking the SMB access mask granted to the source handle. A handle opened with attribute access can consequently be used to copy file contents into an attacker-readable destination. Require FILE_READ_DATA on the source handle before either VFS operation, matching other ksmbd data-copy paths. The Linux kernel CVE team has assigned CVE-2026-64395 to this issue. Affected and fixed versions =========================== Fixed in 6.1.178 with commit 2d2ab6983620c2d60ce7db72133984ca3873b929 Fixed in 6.6.145 with commit 67bdad9cf01b25030e3bf00bbce6c309319d6663 Fixed in 6.12.96 with commit b0d4d5cb846a1ddb7aaab9adfb5986e4540e6e5f Fixed in 6.18.39 with commit db231af842868268839f9f9619c68cb27830d8be Fixed in 7.1.4 with commit a10942af27832c2761d020863a46e79bebe0567d Fixed in 7.2-rc1 with commit cedff600f1642aa982178503552f0d007bc829c8 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-64395 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/2d2ab6983620c2d60ce7db72133984ca3873b929 https://git.kernel.org/stable/c/67bdad9cf01b25030e3bf00bbce6c309319d6663 https://git.kernel.org/stable/c/b0d4d5cb846a1ddb7aaab9adfb5986e4540e6e5f https://git.kernel.org/stable/c/db231af842868268839f9f9619c68cb27830d8be https://git.kernel.org/stable/c/a10942af27832c2761d020863a46e79bebe0567d https://git.kernel.org/stable/c/cedff600f1642aa982178503552f0d007bc829c8