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

Published Nov 30, 2026
·
Updated

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

f2fs: fix to record both APPEND and UPDATE ino entries

In f2fspostevictinode(), recordbits is assigned with BIT(APPENDINO) and BIT(UPDATEINO) respectively, so the second assignment overwrites the first one: when both FIAPPENDWRITE and FIUPDATEWRITE are set, only the UPDATEINO entry is recorded.

The two flags are not mutually exclusive.Once the APPENDINO entry is lost after the inode eviction, the shortcut in f2fsdosyncfile() can take the flushout path in the next fsync(), skipping f2fsfsyncnodepages(). 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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description

Frequently Asked Questions

1

What conditions are required for data loss to occur?

The affected filesystem must be F2FS, and an inode must have both FI_APPEND_WRITE and FI_UPDATE_WRITE set before it is evicted. A subsequent fsync can then skip marking dnodes for newly allocated blocks, and a sudden power loss is required for the appended data to be silently lost.

2

What is the practical impact of this issue?

Data appended before inode eviction may be lost after an unexpected power failure, despite a subsequent fsync. The issue is a data-durability failure rather than an indication of unauthorized access or code execution.

3

What can be done if the fix cannot be deployed immediately?

The provided information identifies sudden power loss as the event that exposes the lost fsync markings. Reducing unexpected shutdown risk and maintaining reliable power can reduce exposure, but no complete workaround is provided.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203