# CVE-2026-139693: f2fs: fix to record both APPEND and UPDATE ino entries

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:06.372Z
- Modified: 2026-11-30T14:19:58.890Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix to record both APPEND and UPDATE ino entries

In f2fs_post_evict_inode(), record_bits is assigned with BIT(APPEND_INO)
and BIT(UPDATE_INO) respectively, so the second assignment overwrites
the first one: when both FI_APPEND_WRITE and FI_UPDATE_WRITE are set,
only the UPDATE_INO entry is recorded.

The two flags are not mutually exclusive.Once the APPEND_INO entry is
lost after the inode eviction, the shortcut in f2fs_do_sync_file() can
take the flush_out path in the next fsync(), skipping f2fs_fsync_node_pages().
As a result, the dnodes holding the newly allocated blocks are not
fsync-marked, and after a sudden power loss, the data appended before the
eviction is silently lost.

This restores the previous behavior where the two ino entries were
added independently.

(As written by CVE List.)

## Affected

- Linux Linux: from 314c9e476ffcc77289c25d354c611aa6d1209784 before a5055b4865f510b02e97dbac31408244785739d4; from 314c9e476ffcc77289c25d354c611aa6d1209784 before 06768d77ed956b4bf0b588fcff2fae8cfcb67269; 7.3 (not affected: before 7.3; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/a5055b4865f510b02e97dbac31408244785739d4>
- <https://git.kernel.org/stable/c/06768d77ed956b4bf0b588fcff2fae8cfcb67269>

## Sources

- CVE List: [CVE-2026-139693](https://www.cve.org/CVERecord?id=CVE-2026-139693), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139693](https://nvd.nist.gov/vuln/detail/CVE-2026-139693), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139693 · Whole record: https://cve.day/CVE-2026-139693.json · Rebuilt by cve.day 2026-11-30T14:33:30.658Z
