PT-2025-14323 · Linux+1 · Linux Kernel+1
Anubis
·
Published
2025-02-19
·
Updated
2025-04-02
·
CVE-2025-21942
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 6.13.0
Description
A vulnerability in the Linux kernel has been resolved, specifically in the btrfs zoned mode. The issue occurs when there is no active zone available, causing the
btrfs reserve extent() function to return -EAGAIN. This leads to a hang issue due to a failure to unlock allocated extents. The problem arises from a commit that moved the unlock code outside a loop, causing the allocated extents to remain locked in certain cases. The vulnerability can cause tasks to become blocked for an extended period, resulting in a system hang.Recommendations
To resolve the issue, update to a Linux kernel version that includes the fix for the extent range end unlock in
cow file range(). As a temporary workaround, consider disabling the btrfs module or restricting its use until a patched version is available. Additionally, avoid using the btrfs filesystem in zoned mode until the issue is resolved.Exploit
Fix
Infinite Loop
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel