CVE-2025-40333
JSON

Not scored

f2fs: fix infinite loop in __insert_extent_tree()

Severity
Not scored
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 765f8816d3959ef1f3f7f85e2af748594d091f40, from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before c0b9951bb2668d67eb4817bb23fc109abc08c075, from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before f4c31adcb2a0556f43776d4e51a67de88d7fb9ee, from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 before 23361bd54966b437e1ed3eb1a704572f4b279e58, 3.8
Not affected: before 3.8, from 6.6.117 up to 6.6.*, from 6.12.58 up to 6.12.*, from 6.17.8 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: f2fs: solución de bucle infinito en __insert_extent_tree() Cuando obtenemos datos de información de extensión incorrectos y buscamos extent_node en el árbol rb, causará un bucle infinito (CONFIG_F2FS_CHECK_FS=n). Evitando esto al devolver NULL e imprimir algunos mensajes del kernel en ese caso.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40333 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-40333 changed 2026-10-14Public domain