Deadlock between quota disable and qgroup rescan worker in btrfs
Summary
GSD-2022-1000573: btrfs: fix deadlock between quota disable and qgroup rescan worker. Affects Kernel versions < 89d4cca583fc9594ee7d1a0bc986886d6fb587e6. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The btrfs package is a file system for Linux that provides advanced features such as snapshots, subvolumes, and data compression. It is widely used in various Linux distributions. This vulnerability in btrfs involves a deadlock between the quota disable functionality and the qgroup rescan worker. Quota disable is responsible for disabling the quota feature, which allows users to limit the disk space usage of specific directories. The qgroup rescan worker is responsible for updating the quota information for each directory. The deadlock occurs when these two functionalities interact, leading to a system freeze or unresponsiveness.
Vulnerability Detail
The vulnerability arises due to a deadlock between the quota disable and qgroup rescan worker in btrfs. When the quota disable functionality is triggered while the qgroup rescan worker is running, it can result in a deadlock situation where both processes are waiting for each other to complete. This deadlock can lead to a system freeze or unresponsiveness, impacting the availability and stability of the system. The vulnerability has been fixed in Linux Kernel version v5.15.22 by commit 89d4cca583fc9594ee7d1a0bc986886d6fb587e6.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.22 or later. This can be done by following the official update process for the specific Linux distribution being used. Additionally, it is advisable to keep the system up to date with the latest security patches and updates.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The deadlock between quota disable and qgroup rescan worker in btrfs can lead to system freeze or unresponsiveness. It is recommended to update the Linux Kernel to version v5.15.22 or later to fix this vulnerability. Keeping the system up to date with the latest security patches is also advisable. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
btrfs is a file system for Linux that provides advanced features such as snapshots, subvolumes, and data compression.
The vulnerability can lead to a system freeze or unresponsiveness, affecting the availability and stability of the system.
To fix this vulnerability, update the Linux Kernel to version v5.15.22 or later.
No specific workaround has been mentioned for this vulnerability.
More details about the fix can be found in the commit 89d4cca583fc9594ee7d1a0bc986886d6fb587e6 in the Linux Kernel repository.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.