CVE-2026-89833 PUBLISHED

f2fs: fix to avoid potential deadloop in f2fs_fsync_node_pages()

Assigner: Linux
Reserved: 11.09.2026 Published: 16.09.2026 Updated: 16.09.2026

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

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 608514deba38c8611ad330d6a3c8e2b9a1f68e4b to 161513f53e4ac90fd356433bdf8e31e6adeb92af (excl.)
  • affected from 608514deba38c8611ad330d6a3c8e2b9a1f68e4b to 905411f6504876d268ba8dafc8e75367782da4b7 (excl.)
  • affected from 608514deba38c8611ad330d6a3c8e2b9a1f68e4b to ce366bfa821ec81dd45bde547ee31e659306cc61 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.7 is affected
  • unaffected from 0 to 4.7 (excl.)
  • unaffected from 6.18.51 to 6.18.* (incl.)
  • unaffected from 7.2.5 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References