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").
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
2049d4fcb057c263929bec480f2db079d25fd601 to < afa14d79fc253f7720ea4e9643d445239d2254edaffected2049d4fcb057c263929bec480f2db079d25fd601 to < 4c54fd8022208091095c5b6b44ba8d802728e538affected2049d4fcb057c263929bec480f2db079d25fd601 to < 46adb259a4109967566d42fc3dac7dc50c0d71e4affected2049d4fcb057c263929bec480f2db079d25fd601 to < d524abf8d9e798e985dcd0c4bf08b04c03fcce6baffected2049d4fcb057c263929bec480f2db079d25fd601 to < 0f172944534539a6691e3ecec741fe35f3ca4cb3affected2049d4fcb057c263929bec480f2db079d25fd601 to < 5a14e294c216ab0b74f4b62a8731c0d722221f54affected2049d4fcb057c263929bec480f2db079d25fd601 to < 23799d77a244aaa9c3c5f7d505d5cf76325729c6affected2049d4fcb057c263929bec480f2db079d25fd601 to < cd6d8b1891395b681f2060916a4b83880b765698affected
Linux Linux
Default version status: affected
4.6affected0 to < 4.6unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/afa14d79fc253f7720ea4e9643d445239d2254ed ↗
- https://git.kernel.org/stable/c/4c54fd8022208091095c5b6b44ba8d802728e538 ↗
- https://git.kernel.org/stable/c/46adb259a4109967566d42fc3dac7dc50c0d71e4 ↗
- https://git.kernel.org/stable/c/d524abf8d9e798e985dcd0c4bf08b04c03fcce6b ↗
- https://git.kernel.org/stable/c/0f172944534539a6691e3ecec741fe35f3ca4cb3 ↗
- https://git.kernel.org/stable/c/5a14e294c216ab0b74f4b62a8731c0d722221f54 ↗
- https://git.kernel.org/stable/c/23799d77a244aaa9c3c5f7d505d5cf76325729c6 ↗
- https://git.kernel.org/stable/c/cd6d8b1891395b681f2060916a4b83880b765698 ↗