CVE-2025-40333

f2fs: fix infinite loop in __insert_extent_tree()

State
Published
Severity
Not scored
Published
Dec 9, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 765f8816d3959ef1f3f7f85e2af748594d091f40Affected
  • 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before c0b9951bb2668d67eb4817bb23fc109abc08c075Affected
  • 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before f4c31adcb2a0556f43776d4e51a67de88d7fb9eeAffected
  • 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 23361bd54966b437e1ed3eb1a704572f4b279e58Affected
LinuxLinux
  • 3.8Affected
  • before 3.8Not affected
  • 6.6.117 through 6.6.*Not affected
  • 6.12.58 through 6.12.*Not affected
  • 6.17.8 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.