PT-2025-18420 · Linux+5 · Linux Kernel+5

Published

2025-03-04

·

Updated

2026-04-20

·

CVE-2025-37739

CVSS v3.1

7.1

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.14.0-rc3-syzkaller-00060-g6537cfb395f3
Description The issue is related to an out-of-bounds access in the f2fs truncate inode blocks() function. The problem occurs when get nid() tries to access an array with an index that is out of range. This happens when f2fs do truncate blocks() attempts to truncate the inode size to zero, but dn.ofs in node is zero and dn.node page is not an inode page. As a result, f2fs truncate inode blocks() receives a zeroed free from value, leading to the out-of-bounds access issue. The estimated number of potentially affected devices is not provided.
Recommendations To resolve the issue, apply the fix to avoid out-of-bounds access in f2fs truncate inode blocks(). Add a sanity check to ensure that dn.node page is an inode page before attempting to truncate the inode size to zero. As a temporary workaround, consider adding a check for dn.ofs in node and IS INODE(dn.node page) before calling f2fs truncate data blocks range() and updating free from. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Improper Validation of Array Index

Out of bounds Read

Weakness Enumeration

Related Identifiers

BDU:2025-11896
CVE-2025-37739
DLA-4178-1
DLA-4193-1
ECHO-AB2F-324C-C01A
OESA-2025-1823
OESA-2025-1824
OESA-2025-1870
USN-7594-1
USN-7594-2
USN-7594-3
USN-7654-1
USN-7654-2
USN-7654-3
USN-7654-4
USN-7654-5
USN-7655-1
USN-7686-1
USN-7711-1
USN-7712-1
USN-7712-2
USN-8028-1
USN-8028-2
USN-8028-3
USN-8028-4
USN-8028-5
USN-8028-6
USN-8028-7
USN-8028-8
USN-8031-1
USN-8031-2
USN-8031-3
USN-8052-1
USN-8052-2
USN-8074-1
USN-8074-2
USN-8126-1

Affected Products

Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Ubuntu