Linux kernel f2fs cache lock race (stale ino)
CVE-2026-139794 Published on November 30, 2026
f2fs: fix to fetch ino via ino_of_node() under cache lock
In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix to fetch ino via ino_of_node() under cache lock
In f2fs_writeback_node_caches(), it's better to fetch ino via ino_of_node()
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
f2fs_flush_inline_data() introduced in commit 34c061ad85a2 ("f2fs: Avoid double
lock for cp_rwsem during checkpoint").
Products Associated with CVE-2026-139794
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 2049d4fcb057c263929bec480f2db079d25fd601 and below afa14d79fc253f7720ea4e9643d445239d2254ed is affected.
- Version 2049d4fcb057c263929bec480f2db079d25fd601 and below 4c54fd8022208091095c5b6b44ba8d802728e538 is affected.
- Version 2049d4fcb057c263929bec480f2db079d25fd601 and below 46adb259a4109967566d42fc3dac7dc50c0d71e4 is affected.
- Version 2049d4fcb057c263929bec480f2db079d25fd601 and below d524abf8d9e798e985dcd0c4bf08b04c03fcce6b is affected.
- Version 2049d4fcb057c263929bec480f2db079d25fd601 and below 0f172944534539a6691e3ecec741fe35f3ca4cb3 is affected.
- Version 2049d4fcb057c263929bec480f2db079d25fd601 and below 5a14e294c216ab0b74f4b62a8731c0d722221f54 is affected.
- Version 2049d4fcb057c263929bec480f2db079d25fd601 and below 23799d77a244aaa9c3c5f7d505d5cf76325729c6 is affected.
- Version 2049d4fcb057c263929bec480f2db079d25fd601 and below cd6d8b1891395b681f2060916a4b83880b765698 is affected.
- Version 4.6 is affected.
- Before 4.6 is unaffected.
- Version 5.10.275, <= 5.10.* is unaffected.
- Version 5.15.226, <= 5.15.* is unaffected.
- Version 6.1.193, <= 6.1.* is unaffected.
- Version 6.6.163, <= 6.6.* is unaffected.
- Version 6.12.119, <= 6.12.* is unaffected.
- Version 6.18.65, <= 6.18.* is unaffected.
- Version 7.3.6, <= 7.3.* is unaffected.
- Version 7.4-rc1, <= * is unaffected.