CVE-2026-139794: f2fs: fix to fetch ino via ino_of_node() under cache lock

Published Nov 30, 2026
·
Updated

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

f2fs: fix to fetch ino via inoofnode() under cache lock

In f2fswritebacknodecaches(), it's better to fetch ino via inoofnode() under cache lock, otherwise, node cache content may become stale after cache is unlocked due to racing w/ truncation.

Commit 493b9dc8b52c ("f2fs: cache: use node cache") fixes similar issue in f2fsflushinlinedata() introduced in commit 34c061ad85a2 ("f2fs: Avoid double lock for cprwsem during checkpoint").

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:38 PM
Data Sourced
via MITRE·01:38 PM
Description
Data Sourced
via NVD·02:20 PM
Description

Frequently Asked Questions

1

When can this race occur?

It can occur when f2fs_writeback_node_caches() runs concurrently with file truncation. After the cache lock is released, truncation can make the previously read node-cache content stale.

2

Which systems are in scope?

The issue is in the Linux kernel's f2fs code path. Systems not using the f2fs filesystem are not exposed through this specific path.

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