f2fs: fix to record both APPEND and UPDATE ino entries
Summary
| CVE | CVE-2026-139693 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:58 UTC |
| Updated | 2026-11-30 14:19:58 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 314c9e476ffcc77289c25d354c611aa6d1209784 a5055b4865f510b02e97dbac31408244785739d4 git |
Not specified |
| CNA |
Linux |
Linux |
affected 314c9e476ffcc77289c25d354c611aa6d1209784 06768d77ed956b4bf0b588fcff2fae8cfcb67269 git |
Not specified |
| CNA |
Linux |
Linux |
affected 7.3 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/06768d77ed956b4bf0b588fcff2fae8cfcb67269 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a5055b4865f510b02e97dbac31408244785739d4 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.