← CVE Intelligence

CVE-2025-40333

f2fs: fix infinite loop in __insert_extent_tree() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix infinite loop in __insert_extent_tree() When we get wrong extent info data, and look up extent_node in rb tree, it will cause infinite loop (CONFIG_F2FS_CHECK_FS=n). Avoiding this by return NULL and print some kernel messages in that case.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 765f8816d3959ef1f3f7f85e2af748594d091f40; affected 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before c0b9951bb2668d67eb4817bb23fc109abc08c075; affected 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before f4c31adcb2a0556f43776d4e51a67de88d7fb9ee; affected 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 23361bd54966b437e1ed3eb1a704572f4b279e58
Linux / Linuxaffected 3.8; unaffected 0 before 3.8; unaffected 6.6.117 through 6.6.*; unaffected 6.12.58 through 6.12.*; unaffected 6.17.8 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References