{"api_version":"1","generated_at":"2026-11-30T16:45:42+00:00","cve":"CVE-2026-139693","urls":{"html":"https://cve.report/CVE-2026-139693","api":"https://cve.report/api/cve/CVE-2026-139693.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139693","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139693"},"summary":{"title":"f2fs: fix to record both APPEND and UPDATE ino entries","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:58","updated_at":"2026-11-30 14:19:58"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/06768d77ed956b4bf0b588fcff2fae8cfcb67269","name":"https://git.kernel.org/stable/c/06768d77ed956b4bf0b588fcff2fae8cfcb67269","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a5055b4865f510b02e97dbac31408244785739d4","name":"https://git.kernel.org/stable/c/a5055b4865f510b02e97dbac31408244785739d4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139693","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139693","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 314c9e476ffcc77289c25d354c611aa6d1209784 a5055b4865f510b02e97dbac31408244785739d4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 314c9e476ffcc77289c25d354c611aa6d1209784 06768d77ed956b4bf0b588fcff2fae8cfcb67269 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/f2fs/inode.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a5055b4865f510b02e97dbac31408244785739d4","status":"affected","version":"314c9e476ffcc77289c25d354c611aa6d1209784","versionType":"git"},{"lessThan":"06768d77ed956b4bf0b588fcff2fae8cfcb67269","status":"affected","version":"314c9e476ffcc77289c25d354c611aa6d1209784","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/f2fs/inode.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.3"},{"lessThan":"7.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"7.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"7.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:06.372Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a5055b4865f510b02e97dbac31408244785739d4"},{"url":"https://git.kernel.org/stable/c/06768d77ed956b4bf0b588fcff2fae8cfcb67269"}],"title":"f2fs: fix to record both APPEND and UPDATE ino entries","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139693","datePublished":"2026-11-30T13:37:06.372Z","dateReserved":"2026-11-30T13:22:15.948Z","dateUpdated":"2026-11-30T13:37:06.372Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:58","lastModifiedDate":"2026-11-30 14:19:58","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139693","Ordinal":"1","Title":"f2fs: fix to record both APPEND and UPDATE ino entries","CVE":"CVE-2026-139693","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139693","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"f2fs: fix to record both APPEND and UPDATE ino entries"}]}}}