{"id":"CVE-2026-139693","summary":"f2fs: fix to record both APPEND and UPDATE ino entries","details":"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.","modified":"2026-12-01T21:02:39.687854642Z","published":"2026-11-30T13:37:06.372Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139693.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/06768d77ed956b4bf0b588fcff2fae8cfcb67269"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a5055b4865f510b02e97dbac31408244785739d4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139693.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139693"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"314c9e476ffcc77289c25d354c611aa6d1209784"},{"fixed":"a5055b4865f510b02e97dbac31408244785739d4"},{"fixed":"06768d77ed956b4bf0b588fcff2fae8cfcb67269"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139693.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.3.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139693.json"}}],"schema_version":"1.9.2"}