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 9BA6413A258 for ; Sun, 19 Jul 2026 15:46:34 +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=1784475995; cv=none; b=AtUIEBSKjgS9YzjLnlxL77rPDkrFduVQUs7O0Il1iyu0dZ5G+fpYtuyKyD+cMPRPTFgOWrKhVPKvFNggqfN4w5EqrwQkyW148YATXIHGQT8Qi11puNXcFShoNvsbLgeoX50Vgq/6BEv2GJ22uXjo6kf0FGsFZGCp/yo3Lw6UaKg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475995; c=relaxed/simple; bh=mJKY/CXO42Dmuv1HKBgmjaus5AKZg9P0x03rxS5vv/k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EkjBl22wmKOYX99B1ryFe+hJz4ASfrDAIOdPwZwQ2n7my5g/rAxNpwSkJ2Xh1cJBRoEBIKpe7ktcKm1X6t+qdScb0Jr39ODAyuPD1z3wJeb5/fxLXteMRBd0aJWmTmRME2O9R4XGjDBk83DJqLQDU36gCuqLL/Nik7l3PC2RjhI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TCtjjDeh; 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="TCtjjDeh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B33E21F000E9; Sun, 19 Jul 2026 15:46:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475994; bh=4fm4vMrhm2Yh8mlmUAbx0BMxC0myI4hjjUgcutUI9WY=; h=From:To:Cc:Subject:Date:Reply-To; b=TCtjjDeh50lHJt4ZefvA70lhLiB3gnYw5wY7afqIx2UIFrjJPb7jw2w9rUSFKULmS U+qW77ZBsd3DAyjZfwRDS71vivlrM1X0RzC3ydPwzjiJTkK8Odq6PZVZ0mIGJ8WeEg X8oSO35IBlPLS9Q691syOCuVQsyYc7TmZibTJYVk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64156: netfs, afs: Fix write skipping in dir/link writepages Date: Sun, 19 Jul 2026 17:40:18 +0200 Message-ID: <2026071932-CVE-2026-64156-5bcd@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=2534; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5AEAornxbUs7C9R3tZ9UdRVFGOEle1WJIGTi+0AEvYY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx7yvSzk2/f05pOV+/9PSd2n0BhfnrQkXiT33tVzq2Y KE1w43ejlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI3G2G+fnbdka/vtpeZeV/ dd8vyWflfzz+XWFYcHPhGimf+9mT5F5f3WdgGG603/fIHwA= 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: netfs, afs: Fix write skipping in dir/link writepages Fix netfs_write_single() and afs_single_writepages() to better handle a write that would be skipped due to lock contention and WB_SYNC_NONE by returning 1 from netfs_write_single() if it skipped and making afs_single_writepages() skip also. If a skip occurs, the inode must be re-marked as the VFS may have cleared the mark. This is really only theoretical for directories in netfs_write_single() as the only path to that is through afs_single_writepages() that takes the ->validate_lock around it, thereby serialising it. The Linux kernel CVE team has assigned CVE-2026-64156 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 6dd80936618c4ff852d4db73aca400351d9bd9f0 and fixed in 6.18.34 with commit 77bb293049d61e04c12b24ebbffafaf5ab36af90 Issue introduced in 6.14 with commit 6dd80936618c4ff852d4db73aca400351d9bd9f0 and fixed in 7.0.11 with commit f91e10435c0dd37c48b1b25e6236284f656ddc0c Issue introduced in 6.14 with commit 6dd80936618c4ff852d4db73aca400351d9bd9f0 and fixed in 7.1 with commit 9871938f99cc6cb266a77265491660e2375271f5 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-64156 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/afs/dir.c fs/netfs/write_issue.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/77bb293049d61e04c12b24ebbffafaf5ab36af90 https://git.kernel.org/stable/c/f91e10435c0dd37c48b1b25e6236284f656ddc0c https://git.kernel.org/stable/c/9871938f99cc6cb266a77265491660e2375271f5