CVE-2025-40333 Details
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.
A vulnerability in the Linux kernel's F2FS (Flash-Friendly File System) implementation can lead to an infinite loop during the insertion of extent nodes into a red-black tree. This issue occurs when corrupted extent information is encountered, causing the lookup process to loop indefinitely, but only when the filesystem check feature is disabled. The vulnerability has been addressed by modifying the extent insertion function to return NULL upon detecting invalid data, while also logging an error message. This fix is included in the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux Kernel Archives.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/23361bd54966b437e1ed3eb1a704572f4b279e58 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/765f8816d3959ef1f3f7f85e2af748594d091f40 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c0b9951bb2668d67eb4817bb23fc109abc08c075 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f4c31adcb2a0556f43776d4e51a67de88d7fb9ee | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 9, 2025 | New CVE Received | kernel.org |
Volerion