From mboxrd@z Thu Jan 1 00:00:00 1970 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 2B1B258B6AA for ; Fri, 11 Sep 2026 20:00:13 +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=1789156833; cv=none; b=sb966zfKn2NpTh9azRifAefKa15qD2tBXn121DRwca3AeCgxBSL+xHNg/61XMtFqaXGACtdqqwLcBiN1ccTWc5LJRmIhCrgOci4iup5qIbdW07D0viA2SVpe2gMLsPIizCToYuQqabAknEs10xEmv3SSrA3mzQZCx89PnXHfb3U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156833; c=relaxed/simple; bh=u0v6AN+sPWBQzdAJzITgGNT1HUobkU/padHC/OPjv7U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aGHEIs1DeLmVjFj8L5wf8LuJL0Vln4yAmA05dFsoueQ+zoR8WmwrY9MarZ87OJ7ciCIu/LUtDylck04sXSUT8rc8D4wfqwu+Qbh8AAJxdvJnkdVMFdokG7eEnnTRJMo4Ct+0RhQZ4afR1zFGmSUg6xPENcfdFQEsuGQ8A0a9nII= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tYjkCnNV; 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="tYjkCnNV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D3EA1F000FF; Fri, 11 Sep 2026 20:00:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156812; bh=mnMBQvotPcm+chS/PXDm/OH7tgKFLPzlzeAgLyu28zo=; h=From:To:Cc:Subject:Date:Reply-To; b=tYjkCnNVFEY23Z99TQ/ojjB+2+Ej4UFfLjcdA5wEToWrpdkvzz2pxDiefX8Cacjx8 fp85cdz2LyYcqsl45W7h3cuyvt0DNVlfyCx1SzsdhWJB6DK9PA0wYa0AyMQunAXOpR U+MVfvvE3JNPtWQIeMM+7b4LAzNezXmFXVaEjvZo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89642: cifs: call pagecache_isize_extended() in cifs_setsize() when extending Date: Fri, 11 Sep 2026 21:45:31 +0200 Message-ID: <2026091142-CVE-2026-89642-c3b3@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=2116; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=w8FWB2gYFlSSSCD8KUF03E9XzWyDtZAEd5SMQjncDtA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIstOfd7HdTeui6P35/xnb3kij3GW7xCJuGC0g2ON9 OyzydyTO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiMV8YFhzok+WN/G7R8bbu FverkCDdjU4hvgzzVESjN3MULtjxJalZqSSzJuUd04ybAA== 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: cifs: call pagecache_isize_extended() in cifs_setsize() when extending cifs_setsize() calls truncate_pagecache() but skips pagecache_isize_extended() on extension. truncate_setsize() shows the correct pattern: i_size_write(inode, newsize); if (newsize > oldsize) pagecache_isize_extended(inode, oldsize, newsize); truncate_pagecache(inode, newsize); pagecache_isize_extended() zeroes the tail of the page straddling old EOF. Without it, dirty bytes in that region can be written back to the server, exposing stale data in the newly extended range. The Linux kernel CVE team has assigned CVE-2026-89642 to this issue. Affected and fixed versions =========================== Fixed in 7.2.4 with commit 12bafe32f09c0d24f5096154b59c347b9c6606e0 Fixed in 7.3-rc1 with commit c510edb9734af1c274d18f4f31a471a166bbc7e8 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-89642 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/client/inode.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/12bafe32f09c0d24f5096154b59c347b9c6606e0 https://git.kernel.org/stable/c/c510edb9734af1c274d18f4f31a471a166bbc7e8