PT-2025-16770 · Linux+4 · Linux Kernel+4
Syzbot
·
Published
2025-02-12
·
Updated
2026-05-07
·
CVE-2025-23130
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to the fixed version
Description
A bug in the f2fs file system has been identified, which can cause a panic when fallocation fails for pinfile. This issue occurs due to concurrent pinfile allocation running out of free sections, resulting in a panic in the
get new segment() function. To address this, the pin sem lock coverage has been expanded to include f2fs gc(), ensuring enough free space for subsequent allocations. Additionally, error path handling has been enhanced by calling f2fs bug on() only in non-pinfile allocation paths in get new segment() and resetting curseg fields in new curseg().Recommendations
For Linux kernel versions prior to the fixed version, consider applying the provided patch to resolve the issue. As a temporary workaround, restrict access to the
f2fs file system to minimize the risk of exploitation. Avoid using the fallocate function in the affected f2fs file system until the issue is resolved.Exploit
Fix
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Linuxmint
Linux Kernel
Ubuntu