CVEvulnerability
CVE-2026-89833
- Status
- Received
- Published
- 2026-09-16
- Last modified
- 2026-10-21
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
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
- https://git.kernel.org/stable/c/161513f53e4ac90fd356433bdf8e31e6adeb92af git.kernel.org
- https://git.kernel.org/stable/c/58ca9f06480457eb9c9513e1ae2b75316d4ed1e5 git.kernel.org
- https://git.kernel.org/stable/c/905411f6504876d268ba8dafc8e75367782da4b7 git.kernel.org
- https://git.kernel.org/stable/c/bdc06381d590ad5833ee7a2c56b8b685d80ee9b5 git.kernel.org
- https://git.kernel.org/stable/c/ce366bfa821ec81dd45bde547ee31e659306cc61 git.kernel.org