CVE-2025-37739: Linux kernel · f2fs: fix to avoid out-of-bounds access in f2fs_truncate_inode_blocks()
Source GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 4 Nov 2026, 17:24 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 May 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 4 Nov 2026.
What to do
AI-suggested
No explicit patch links or fixed versions are provided in the data. Until a fix is available, avoid triggering inode truncation operations on f2fs filesystems in untrusted environments. Monitor official Linux kernel releases and security advisories for updates addressing this issue.
Description
CVE-2025-37739 is a high-severity vulnerability in the Linux kernel's f2fs filesystem code that causes an out-of-bounds array access in the function f2fs_truncate_inode_blocks(). This occurs due to improper handling of inode truncation when certain conditions cause an invalid index to be used. The issue was detected by UBSAN and involves accessing a negative offset in an array, potentially leading to memory corruption. The root cause relates to a missing sanity check when truncating inode blocks, especially when node pages are reused and not properly identified as inode pages.
References
- nvd.nist.gov/vuln/detail/CVE-2025-37739 (opens in a new tab)
- git.kernel.org/stable/c/67e16ccba74dd8de0a7b10062f1e02d77432f573 (opens in a new tab)
- git.kernel.org/stable/c/6ba8b41d0aa4b82f90f0c416cb53fcef9696525d (opens in a new tab)
- git.kernel.org/stable/c/8b5e5aac44fee122947a269f9034c048e4c295de (opens in a new tab)
- git.kernel.org/stable/c/98dbf2af63de0b551082c9bc48333910e009b09f (opens in a new tab)
- git.kernel.org/stable/c/a67e1bf03c609a751d1740a1789af25e599966fa (opens in a new tab)
- git.kernel.org/stable/c/d7242fd7946d4cba0411effb6b5048ca55125747 (opens in a new tab)
- git.kernel.org/stable/c/e6494977bd4a83862118a05f57a8df40256951c0 (opens in a new tab)
- git.kernel.org/stable/c/ecc461331604b07cdbdb7360dbdf78471653264c (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)