GHSA-fw8r-p3gh-gw7xunknown
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid potential...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix to avoid potential deadloop in f2fs_fsync_node_pages()
There is potential deadloop in race condition:
Thread A Thread B
- fsync
- f2fs_do_sync_file
- f2fs_fsync_node_pages
- last_fsync_dnode - folio_get(last_folio) - f2fs_setattr - f2fs_truncate - f2fs_truncate_blocks - f2fs_do_truncate_blocks - f2fs_truncate_inode_blocks - truncate_dnode - truncate_node - invalidate_mapping_pages - folio->mapping = NULL
- is_node_folio alwasy return false
- atomic && !marked is always true, then goto retry
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-89833
- https://git.kernel.org/stable/c/161513f53e4ac90fd356433bdf8e31e6adeb92af
- https://git.kernel.org/stable/c/905411f6504876d268ba8dafc8e75367782da4b7
- https://git.kernel.org/stable/c/ce366bfa821ec81dd45bde547ee31e659306cc61
- https://github.com/advisories/GHSA-fw8r-p3gh-gw7x