PT-2024-11094 · Linux+2 · Linux Kernel+2

Wang Yugui

·

Published

2021-04-28

·

Updated

2026-03-14

·

CVE-2021-46987

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 (affected versions not specified)
Description The issue is related to a deadlock that occurs when cloning inline extents and using qgroups in the btrfs file system. This happens because when reserving metadata space for a transaction, the system may need to flush existing delalloc in case there is not enough free space. A mechanism was introduced to prevent a deadlock, but when using qgroups, a transaction also reserves metadata qgroup space, which can result in flushing delalloc and cause a deadlock. The deadlock occurs because flushing delalloc requires locking the file range in the inode's iotree, and the range was already locked at the beginning of the clone operation.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Improper Locking

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

Weakness Enumeration

Related Identifiers

BDU:2025-06526
CVE-2021-46987
DLA-4327-1
OESA-2024-1298
OESA-2024-1299
OESA-2024-1300
OESA-2024-1301
SUSE-SU-2025:02846-1
SUSE-SU-2025_02846-1

Affected Products

Debian
Linux Kernel
Suse