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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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").

ProductVersions
Linux Linux2049d4fcb057c263929bec480f2db079d25fd601 to before afa14d79fc253f7720ea4e9643d445239d2254ed Affected2049d4fcb057c263929bec480f2db079d25fd601 to before 4c54fd8022208091095c5b6b44ba8d802728e538 Affected2049d4fcb057c263929bec480f2db079d25fd601 to before 46adb259a4109967566d42fc3dac7dc50c0d71e4 Affected2049d4fcb057c263929bec480f2db079d25fd601 to before d524abf8d9e798e985dcd0c4bf08b04c03fcce6b Affected2049d4fcb057c263929bec480f2db079d25fd601 to before 0f172944534539a6691e3ecec741fe35f3ca4cb3 Affected2049d4fcb057c263929bec480f2db079d25fd601 to before 5a14e294c216ab0b74f4b62a8731c0d722221f54 Affected2049d4fcb057c263929bec480f2db079d25fd601 to before 23799d77a244aaa9c3c5f7d505d5cf76325729c6 Affected2049d4fcb057c263929bec480f2db079d25fd601 to before cd6d8b1891395b681f2060916a4b83880b765698 Affected
Linux Linux4.6 Affectedbefore 4.6 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.