PT-2025-16767 · Linux+2 · Linux Kernel+2
Jan Prusakowski
·
Published
2025-03-04
·
Updated
2026-05-26
·
CVE-2025-22127
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 potential deadloop issue in the Linux kernel's f2fs file system has been resolved. The problem occurred when the
f2fs prepare compress overwrite() function looped reading compressed cluster pages due to an IO error, blocking all other writeback tasks. This issue was reported by Jan Prusakowski while running xfstests on the linux-next kernel. The root cause was identified as the function holding the .writepages lock while looping, causing the blockage.Recommendations
To resolve this issue, apply the changes that add
f2fs handle page eio() in prepare compress overwrite() to detect IO errors and detect cp error earlier in f2fs read multi pages(). As a temporary workaround, consider disabling the compression feature in the f2fs file system until a patch is available. Update to a newer version of the Linux kernel that includes the fix for this issue.Exploit
Fix
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Debian
Linux Kernel
Ubuntu