# CVE-2026-89833: f2fs: fix to avoid potential deadloop in f2fs_fsync_node_pages()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:05.680Z
- Modified: 2026-10-30T13:20:30.497Z
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 608514deba38c8611ad330d6a3c8e2b9a1f68e4b before 64a47dc8286ff98d8c231ae035bdfe16be1b93bf; from 608514deba38c8611ad330d6a3c8e2b9a1f68e4b before 58ca9f06480457eb9c9513e1ae2b75316d4ed1e5; from 608514deba38c8611ad330d6a3c8e2b9a1f68e4b before bdc06381d590ad5833ee7a2c56b8b685d80ee9b5; from 608514deba38c8611ad330d6a3c8e2b9a1f68e4b before 161513f53e4ac90fd356433bdf8e31e6adeb92af; from 608514deba38c8611ad330d6a3c8e2b9a1f68e4b before 905411f6504876d268ba8dafc8e75367782da4b7; from 608514deba38c8611ad330d6a3c8e2b9a1f68e4b before ce366bfa821ec81dd45bde547ee31e659306cc61; 4.7 (not affected: before 4.7; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/64a47dc8286ff98d8c231ae035bdfe16be1b93bf>
- <https://git.kernel.org/stable/c/58ca9f06480457eb9c9513e1ae2b75316d4ed1e5>
- <https://git.kernel.org/stable/c/bdc06381d590ad5833ee7a2c56b8b685d80ee9b5>
- <https://git.kernel.org/stable/c/161513f53e4ac90fd356433bdf8e31e6adeb92af>
- <https://git.kernel.org/stable/c/905411f6504876d268ba8dafc8e75367782da4b7>
- <https://git.kernel.org/stable/c/ce366bfa821ec81dd45bde547ee31e659306cc61>

## Sources

- CVE List: [CVE-2026-89833](https://www.cve.org/CVERecord?id=CVE-2026-89833), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89833](https://nvd.nist.gov/vuln/detail/CVE-2026-89833), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89833 · Whole record: https://cve.day/CVE-2026-89833.json · Rebuilt by cve.day 2026-11-25T22:59:38.950Z
