{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99607","id":"CVE-2026-99607","title":"Linux kernel data loss in ext2 synchronous direct writes","description":"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 s","descriptionLong":"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.","published":"2026-11-20T05:49:31.191Z","updated":"2026-11-20T05:49:31.191Z","reserved":"2026-09-25T10:25:14.424Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd","lessThan":"45d79b40621212ae720d3712d36f31eb3ea1a2d5","status":"affected","versionType":"git"},{"version":"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd","lessThan":"6a5200c0f46ab94d0c29ff9934c81d0de6f7b47a","status":"affected","versionType":"git"},{"version":"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd","lessThan":"2e114662c376f5a5342f2f997c459971dbdf836b","status":"affected","versionType":"git"},{"version":"fb5de4358e1aa4753dce73c4dc1aca73ff39cedd","lessThan":"4f91b042af212ca0b610e43f9a975ddc7f0d0923","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","lessThan":"6.5","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/45d79b40621212ae720d3712d36f31eb3ea1a2d5","tags":[]},{"url":"https://git.kernel.org/stable/c/6a5200c0f46ab94d0c29ff9934c81d0de6f7b47a","tags":[]},{"url":"https://git.kernel.org/stable/c/2e114662c376f5a5342f2f997c459971dbdf836b","tags":[]},{"url":"https://git.kernel.org/stable/c/4f91b042af212ca0b610e43f9a975ddc7f0d0923","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99607","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99607","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99607","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99607","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}