{"id":"CVE-2026-139693","aliases":["CVE-2026-139693"],"related":[],"kind":"vulnerability","state":"published","title":"f2fs: fix to record both APPEND and UPDATE ino entries","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to record both APPEND and UPDATE ino entries\n\nIn f2fs_post_evict_inode(), record_bits is assigned with BIT(APPEND_INO)\nand BIT(UPDATE_INO) respectively, so the second assignment overwrites\nthe first one: when both FI_APPEND_WRITE and FI_UPDATE_WRITE are set,\nonly the UPDATE_INO entry is recorded.\n\nThe two flags are not mutually exclusive.Once the APPEND_INO entry is\nlost after the inode eviction, the shortcut in f2fs_do_sync_file() can\ntake the flush_out path in the next fsync(), skipping f2fs_fsync_node_pages().\nAs a result, the dnodes holding the newly allocated blocks are not\nfsync-marked, and after a sudden power loss, the data appended before the\neviction is silently lost.\n\nThis restores the previous behavior where the two ino entries were\nadded independently.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to record both APPEND and UPDATE ino entries\n\nIn f2fs_post_evict_inode(), record_bits is assigned with BIT(APPEND_INO)\nand BIT(UPDATE_INO) respectively, so the second assignment overwrites\nthe first one: when both FI_APPEND_WRITE and FI_UPDATE_WRITE are set,\nonly the UPDATE_INO entry is recorded.\n\nThe two flags are not mutually exclusive.Once the APPEND_INO entry is\nlost after the inode eviction, the shortcut in f2fs_do_sync_file() can\ntake the flush_out path in the next fsync(), skipping f2fs_fsync_node_pages().\nAs a result, the dnodes holding the newly allocated blocks are not\nfsync-marked, and after a sudden power loss, the data appended before the\neviction is silently lost.\n\nThis restores the previous behavior where the two ino entries were\nadded independently.","source":"cvelist"}],"published":"2026-11-30T13:37:06.372Z","modified":"2026-11-30T14:19:58.890Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"314c9e476ffcc77289c25d354c611aa6d1209784","fixed":"a5055b4865f510b02e97dbac31408244785739d4","status":"affected"},{"type":"git","introduced":"314c9e476ffcc77289c25d354c611aa6d1209784","fixed":"06768d77ed956b4bf0b588fcff2fae8cfcb67269","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.3","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a5055b4865f510b02e97dbac31408244785739d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06768d77ed956b4bf0b588fcff2fae8cfcb67269","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139693","url":"https://www.cve.org/CVERecord?id=CVE-2026-139693","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:06.372Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139693","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139693","licence":"Public domain","modified":"2026-11-30T14:19:58.890Z"}],"updatedAt":"2026-11-30T14:33:30.658Z","epss":{"score":0.00189,"percentile":0.08955,"date":"2026-12-01T12:00:22.000Z"}}