CVE-2025-40333: Linux kernel · f2fs: fix infinite loop in __insert_extent_tree()
Source GCVE Database
Not known to be exploited.
Data as of 27 Nov 2026, 04:55 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Exploitation evidence
Disclosed: evidence found.
CVE published 9 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to prevent the infinite loop by returning NULL and logging messages when invalid extent data is detected. Users should apply the updated kernel version containing this fix once available. No additional mitigation steps are indicated.
Description
A vulnerability in the Linux kernel's f2fs filesystem code could cause an infinite loop in the __insert_extent_tree() function when incorrect extent information is encountered and CONFIG_F2FS_CHECK_FS is disabled. The issue is addressed by returning NULL and logging kernel messages to avoid the loop.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40333 (opens in a new tab)
- git.kernel.org/stable/c/23361bd54966b437e1ed3eb1a704572f4b279e58 (opens in a new tab)
- git.kernel.org/stable/c/765f8816d3959ef1f3f7f85e2af748594d091f40 (opens in a new tab)
- git.kernel.org/stable/c/c0b9951bb2668d67eb4817bb23fc109abc08c075 (opens in a new tab)
- git.kernel.org/stable/c/f4c31adcb2a0556f43776d4e51a67de88d7fb9ee (opens in a new tab)