CVE-2026-139693

Source
https://cve.org/CVERecord?id=CVE-2026-139693
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139693.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139693
Downstream
Published
2026-11-30T13:37:06Z
Modified
2026-12-01T21:02:39Z
Summary
f2fs: fix to record both APPEND and UPDATE ino entries
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139693.json"
}
References

Affected packages

Git / 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"

Linux / Kernel

Package

Name
Kernel

Affected 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"