Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154045; b=UMX4FI8jusdaHNqpxjnNtbM/uV2JKwdLKdZLGkwfX18dEMnXsm563TmtvodPm+YLo8aS /Hn46Bxqu8eKZUpwM95P9XfB5oiCXii6b8CEYm6NtK4cdw3ds5tXT923inrpRJHwxxu+M c70+YSUWviUn7K90f9Pv5G0LlFXO8FvTWobdgK2juPUdEK+Hlj5QU81yJBXiIM7wPxn/t F3qMrNFWvOIYOolDIrb3N4VmeGBOIvtC0UC6SyicTS3Sd3NbGzoOWVZJVfHA2RoF5FoyA 48xaQ8GO2Q+Wm2jtL3RiR0q5iBpJUOOUqtZoWKv5fNJxL6DbdCHo1mQXYjZRSmmJGbg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154045; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=ensaLl6rN0EKAcH7KBGG6wUHDKqh027WGc3rD4NuGT8=; b=e3UBt0EAhLdGmZXrzgxUDb43iOq6Fghou+N9usGdLdqWEdzAk4FkQcomxrsMqkDmAPk3 Au0d4rUfr36FDYxfJUlCzzALGrGCY9DnqKVV/JxkmSDtKZLl/t64vyqXLwtLa//2eIUbJ 3m1RqCkifytSpxooxsLOIldhWOsk5gqNJ1OzEIphKCDfrMwUcocHPDb64/aztc4/mNzjk 7+OZVtCwJvI6Qb3yM5dux3i/aix34j4zykV069IUqQhaL6cqgnfUCk+bQt8lmfqRt0hrw lc2yy5NOh/2Exb6b3p8Zu4SSFWJA8XnMU9Ja5AKoeBQ7ZknlHj6D5/WRbAYqEsjzqQA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=vxuwgvz7; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 299FF606A320 for ; Fri, 20 Nov 2026 05:54:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=vxuwgvz7 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A8A51F000C6; Fri, 20 Nov 2026 05:54:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154045; bh=ensaLl6rN0EKAcH7KBGG6wUHDKqh027WGc3rD4NuGT8=; h=From:To:Cc:Subject:Date:Reply-To; b=vxuwgvz71ZqaHWvAwggJmT24fJLpOCXlPIBEs5V0nvBM8Rwr09fuljYZu/WtrJPzb love5zHrcfdt2eQXWsHYKdbsuXIJSRfALZeJVhnmhEKGpXYLcKZJ03S4fsKrXrjb9g TubjWUiOrJfCsl5BEQWeb8w5wMa2H/TsP1Alw0vU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99607: ext2: preserve IOMAP_F_DIRTY for extending direct writes Date: Fri, 20 Nov 2026 06:49:53 +0100 Message-ID: <2026112028-CVE-2026-99607-c818@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2913; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Foe4PbQzwIqT1kWyMpkuRuuPQ8z5FFj7zrMu4GmaJKI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/72f8ZEtISlwZHVXNHCymOquLZ/m5mTONytY8Mvfcd Uz56GvPjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIt8sM84OWvuf8ca/j1JH/ 7U0nFyXsfb6/KZFhQdOpqZev5yiv0Lm2n83nXtPNvLBNdwE= 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: ext2: preserve IOMAP_F_DIRTY for extending direct writes ext2_iomap_begin() sets IOMAP_F_DIRTY for writes that may extend i_size, but clears the flag after ext2_get_blocks(). When the write uses an existing mapped block, iomap can then use FUA and skip generic_write_sync(), even though ext2_dio_write_end_io() updates the inode size. An O_DSYNC write can therefore return without persisting the new size. For example, on a FUA-capable device, a 512-byte O_DIRECT|O_DSYNC write at offset 512 into a fsynced one-byte file returns successfully and extends the in-memory size to 1024, while an immediate read of the on-disk inode still shows size 1. An explicit fsync persists the new size. Move setting of IOMAP_F_DIRTY after the initialization. The Linux kernel CVE team has assigned CVE-2026-99607 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit fb5de4358e1aa4753dce73c4dc1aca73ff39cedd and fixed in 6.12.118 with commit 45d79b40621212ae720d3712d36f31eb3ea1a2d5 Issue introduced in 6.5 with commit fb5de4358e1aa4753dce73c4dc1aca73ff39cedd and fixed in 6.18.64 with commit 6a5200c0f46ab94d0c29ff9934c81d0de6f7b47a Issue introduced in 6.5 with commit fb5de4358e1aa4753dce73c4dc1aca73ff39cedd and fixed in 7.3.5 with commit 2e114662c376f5a5342f2f997c459971dbdf836b Issue introduced in 6.5 with commit fb5de4358e1aa4753dce73c4dc1aca73ff39cedd and fixed in 7.4-rc2 with commit 4f91b042af212ca0b610e43f9a975ddc7f0d0923 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-99607 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/ext2/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/45d79b40621212ae720d3712d36f31eb3ea1a2d5 https://git.kernel.org/stable/c/6a5200c0f46ab94d0c29ff9934c81d0de6f7b47a https://git.kernel.org/stable/c/2e114662c376f5a5342f2f997c459971dbdf836b https://git.kernel.org/stable/c/4f91b042af212ca0b610e43f9a975ddc7f0d0923