{"id":"CVE-2026-89833","summary":"f2fs: fix to avoid potential deadloop in f2fs_fsync_node_pages()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to avoid potential deadloop in f2fs_fsync_node_pages()\n\nThere is potential deadloop in race condition:\n\nThread A\t\t\t\tThread B\n- fsync\n - f2fs_do_sync_file\n  - f2fs_fsync_node_pages\n   - last_fsync_dnode\n    - folio_get(last_folio)\n\t\t\t\t\t- f2fs_setattr\n\t\t\t\t\t - f2fs_truncate\n\t\t\t\t\t  - f2fs_truncate_blocks\n\t\t\t\t\t   - f2fs_do_truncate_blocks\n\t\t\t\t\t    - f2fs_truncate_inode_blocks\n\t\t\t\t\t     - truncate_dnode\n\t\t\t\t\t      - truncate_node\n\t\t\t\t\t       - invalidate_mapping_pages\n\t\t\t\t\t        - folio-\u003emapping = NULL\n   - is_node_folio alwasy return false\n   - atomic && !marked is always true,\n     then goto retry","modified":"2026-09-18T03:48:33.309817561Z","published":"2026-09-16T10:31:05.680Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89833.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/161513f53e4ac90fd356433bdf8e31e6adeb92af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/905411f6504876d268ba8dafc8e75367782da4b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ce366bfa821ec81dd45bde547ee31e659306cc61"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89833.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89833"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"608514deba38c8611ad330d6a3c8e2b9a1f68e4b"},{"fixed":"161513f53e4ac90fd356433bdf8e31e6adeb92af"},{"fixed":"905411f6504876d268ba8dafc8e75367782da4b7"},{"fixed":"ce366bfa821ec81dd45bde547ee31e659306cc61"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89833.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.7.0"},{"fixed":"6.18.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89833.json"}}],"schema_version":"1.9.0"}