CVE-2025-40333: f2fs: fix infinite loop in __insert_extent_tree()
Vulnerability summary
CVE-2025-40333 is a high (CVSS 7.1) vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.7% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 17 · Related 15Timeline
- 09-12-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu154 products
- linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linuxAll versions (No fix recorded) | < 6.12.63-1 | < 6.17.8-1
Linux1 product
- linux≥ 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 765f8816d3959ef1f3f7f85e2af748594d091f40 | ≥ 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < c0b9951bb2668d67eb4817bb23fc109abc08c075 | ≥ 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < f4c31adcb2a0556f43776d4e51a67de88d7fb9ee | ≥ 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, < 23361bd54966b437e1ed3eb1a704572f4b279e58 | 3.8
3 vendors · 156 products