VDB

CVE-2025-40333

CVE-2025-40333 PUBLISHED

f2fs: fix infinite loop in __insert_extent_tree()

Reported by linux · Published December 9, 2025

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.

EPSS 0.24% · 14.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.18, 6.17.8, 6.12.58, 6.6.117
LinuxLinuxf4c31adcb2a0556f43776d4e51a67de88d7fb9ee, c0b9951bb2668d67eb4817bb23fc109abc08c075, 765f8816d3959ef1f3f7f85e2af748594d091f40, 3.8, 23361bd54966b437e1ed3eb1a704572f4b279e58

Risk scores

EPSS Score
0.24%
14.9th percentile

Affected products

VendorProductVersions
LinuxLinux98e4da8ca301e062d79ae168c67e56f3c3de3ce4, 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, 98e4da8ca301e062d79ae168c67e56f3c3de3ce4
LinuxLinux3.8, 0, 6.6.117
linuxlinux_kernel3.8, 3.8, 3.8
LinuxLinux98e4da8ca301e062d79ae168c67e56f3c3de3ce4, 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, 98e4da8ca301e062d79ae168c67e56f3c3de3ce4

Timeline

  • Dec 8, 2025 CVE Published
  • Dec 9, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (114 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (117 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40333
vulnetix vdb fixes CVE-2025-40333

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40333/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›