CVE-2025-40333
Not scored
f2fs: fix infinite loop in __insert_extent_tree()
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.
Exploit probability
0.2%
Published
December 9, 2025
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2025-40333
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/23361bd54966b437e1ed3eb1a704572f4b279e58
- https://git.kernel.org/stable/c/765f8816d3959ef1f3f7f85e2af748594d091f40
- https://git.kernel.org/stable/c/c0b9951bb2668d67eb4817bb23fc109abc08c075
- https://git.kernel.org/stable/c/f4c31adcb2a0556f43776d4e51a67de88d7fb9ee
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40333.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-40333