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 0D4334C10C6 for ; Thu, 17 Sep 2026 16:14:20 +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=1789661661; cv=none; b=rWWQuddtfUYnDXrDHdiEmuaEdEQ4qYPchPliSpLRrVndtFZg93ASYsZpIDK5HgHRMomvvScoMxTNMPDd2Wt6/sSYyJ5FlaHS7a5y+57+IWCOTenCubFlKe4/B8Ndq5mgS3kKuM6tkIPUzSfkCXyKlkAgGRkYWNulAh9x6T+13Ao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661661; c=relaxed/simple; bh=cntdR3RjyV4LHvFObXIaOx8xQK383JhesyYdJrgPjUs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hvxRODHvxLrM34kisChiZ+aoNA9MJydWTZH8SJUkG59lQcagYFA3oNlfR1jZ5yY3RX82gSs2Jov8Xb1lqP6GMxxqghxr5a/5S+Hri0oUfS2nD89PBYVARKmiJqaT+TmKfFqDndZqvk1NOb8Z7kKi1jfyzTFaVSSudv+9ueB7ti4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=frzPvF/i; 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="frzPvF/i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63C921F000FF; Thu, 17 Sep 2026 16:14:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661659; bh=h2odplKk7wNhxBZVCV/ZDtKZHVcaGQcF2g3c+YZVXQg=; h=From:To:Cc:Subject:Date:Reply-To; b=frzPvF/iFFqWr2YhKRbDkwKQTSrI7mdHJobCW+nj66VyHFYuq0uWObj+5a5heYeZC ypkefFDCZ9qHLG/wWMzRzFvDN7jDaPdPkdgfk2QtkZIx1JFCBE/OZx9CB3lHPGBxPM T0UCWlFQHBhE/3EoRDDosPuPKXGVVukKNPvBKCtQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90096: fuse: invalidate the correct range after O_APPEND direct write Date: Thu, 17 Sep 2026 17:08:46 +0100 Message-ID: <2026091712-CVE-2026-90096-3026@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=3428; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QjJcFCY1Q/rrL7wk0DuASY5D9dFTw1B2/+X09w8HdWI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHLy1r23VXRfbFeo7dNl+DH/MkP0s3c/9x/cp9QpG tCVu9egI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaS+JVhweK6EImX1UVy2Q8z EutnVv+asPJJIcNc2YkvffR5u3InvAux38x4VL9VgM8bAA== 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: fuse: invalidate the correct range after O_APPEND direct write fuse_direct_write_iter() captures pos before generic_write_checks(), which moves ki_pos to EOF for O_APPEND writes: fuse_direct_write_iter() { pos = iocb->ki_pos; /* 0 (user-supplied) */ generic_write_checks(); /* ki_pos -> EOF */ fuse_direct_io(); /* writes at EOF, correct */ invalidate(pos, pos + res); /* [0, res) -- wrong */ } The post-write invalidation targets a stale range instead of the actual written range at EOF. This can cause data inconsistency when the file size is not page-aligned. The tail page straddling EOF has a valid portion before EOF that concurrent readers can fault back in during the DIO write window: Tail page (file size X not page-aligned): page_start X (EOF) page_end |--- valid data ----|-- stale --| CPU0 (O_APPEND DIO writer) CPU1 (buffered reader) -------------------------- ---------------------- invalidate [X, X+len) tail page evicted FUSE_WRITE in flight ... read [page_start, X) tail page re-faulted [X, page_end) = stale FUSE_WRITE completes i_size = X + len invalidate [0, len) <- WRONG tail page still cached read [X, X+len) hits stale tail page returns old data Fix by reading pos back from iocb->ki_pos after generic_write_checks(), as generic_file_direct_write() does. Also fix a typo in the comment ("may have" -> "may have competed"). The Linux kernel CVE team has assigned CVE-2026-90096 to this issue. Affected and fixed versions =========================== Issue introduced in 7.2 with commit 2b0408d0284f4ff376cf5610fa8c9905e93c2541 and fixed in 7.2.6 with commit 833963069adf86dcbdffd4e7d7b3171f95070b77 Issue introduced in 7.2 with commit 2b0408d0284f4ff376cf5610fa8c9905e93c2541 and fixed in 7.3-rc1 with commit 26d7e1f5c407b5859122b5cd47d7ebbf4b4c1cd2 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-90096 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/fuse/file.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/833963069adf86dcbdffd4e7d7b3171f95070b77 https://git.kernel.org/stable/c/26d7e1f5c407b5859122b5cd47d7ebbf4b4c1cd2