PT-2025-26015 · Btrfs+2 · Btrfs+2

CVE-2022-50089

·

Published

2022-07-21

·

Updated

2025-06-18

CVSS v3.1

5.5

Medium

VectorAV: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 5.16.0-rc1+
Description A vulnerability in the Linux kernel has been resolved, related to the btrfs file system. The issue causes a hang when the cow file range() function fails during allocation, leaving pages locked. This occurs when the function is called with the unlock parameter set to 0 and allocation fails for one part of the split region. The vulnerability can lead to a hung task, as reported in a zoned btrfs setup. The estimated number of potentially affected devices is not specified.
Recommendations For Linux kernel versions prior to 5.16.0-rc1+, update to a newer version that includes the fix for this issue. As a temporary workaround, consider disabling the cow file range() function until a patch is available. Restrict access to the vulnerable btrfs module to minimize the risk of exploitation. Avoid using the do allocation zoned() function in the affected API endpoint until the issue is resolved.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-09588
CVE-2022-50089

Affected Products

Astra Linux
Linux Kernel
Btrfs