{"id":"CVE-2026-99607","aliases":[],"title":"ext2: preserve IOMAP_F_DIRTY for extending direct writes","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\next2: preserve IOMAP_F_DIRTY for extending direct writes\n\next2_iomap_begin() sets IOMAP_F_DIRTY for writes that may extend i_size,\nbut clears the flag after ext2_get_blocks(). When the write uses an\nexisting mapped block, iomap can then use FUA and skip\ngeneric_write_sync(), even though ext2_dio_write_end_io() updates the\ninode size. An O_DSYNC write can therefore return without persisting\nthe new size.\n\nFor example, on a FUA-capable device, a 512-byte O_DIRECT|O_DSYNC write\nat offset 512 into a fsynced one-byte file returns successfully and\nextends the in-memory size to 1024, while an immediate read of the\non-disk inode still shows size 1. An explicit fsync persists the new\nsize.\n\nMove setting of IOMAP_F_DIRTY after the initialization.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.002,"percentile":0.10441},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Linux","range":">=fb5de4358e1aa4753dce73c4dc1aca73ff39cedd, <2e114662c376f5a5342f2f997c459971dbdf836b","fixed":"2e114662c376f5a5342f2f997c459971dbdf836b"},{"ecosystem":"vendor","name":"Linux","range":">=fb5de4358e1aa4753dce73c4dc1aca73ff39cedd, <401e65a425ffc426346ea19d45e65998fe694bfb","fixed":"401e65a425ffc426346ea19d45e65998fe694bfb"},{"ecosystem":"vendor","name":"Linux","range":">=fb5de4358e1aa4753dce73c4dc1aca73ff39cedd, <45d79b40621212ae720d3712d36f31eb3ea1a2d5","fixed":"45d79b40621212ae720d3712d36f31eb3ea1a2d5"},{"ecosystem":"vendor","name":"Linux","range":">=fb5de4358e1aa4753dce73c4dc1aca73ff39cedd, <4f91b042af212ca0b610e43f9a975ddc7f0d0923","fixed":"4f91b042af212ca0b610e43f9a975ddc7f0d0923"},{"ecosystem":"vendor","name":"Linux","range":">=fb5de4358e1aa4753dce73c4dc1aca73ff39cedd, <6a5200c0f46ab94d0c29ff9934c81d0de6f7b47a","fixed":"6a5200c0f46ab94d0c29ff9934c81d0de6f7b47a"}],"references":[{"url":"https://git.kernel.org/stable/c/45d79b40621212ae720d3712d36f31eb3ea1a2d5","type":"other"},{"url":"https://git.kernel.org/stable/c/6a5200c0f46ab94d0c29ff9934c81d0de6f7b47a","type":"other"},{"url":"https://git.kernel.org/stable/c/2e114662c376f5a5342f2f997c459971dbdf836b","type":"other"},{"url":"https://git.kernel.org/stable/c/4f91b042af212ca0b610e43f9a975ddc7f0d0923","type":"other"},{"url":"https://git.kernel.org/stable/c/401e65a425ffc426346ea19d45e65998fe694bfb","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.467Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99607","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:45.884Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:56.885Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99607","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:12.546Z"}],"firstSeenAt":"2026-11-20T06:28:12.546Z","publishedAt":"2026-11-20T05:49:31.191Z","modifiedAt":"2026-11-23T08:18:02.683Z"}