Deadlock between quota disable and qgroup rescan worker in btrfs
Summary
GSD-2022-1000170: btrfs: fix deadlock between quota disable and qgroup rescan worker. Affects Kernel versions < 26b3901d20bf9da2c6a00cb1fb48932166f80a45. 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, pooling, and integrated RAID. It is designed to be efficient and scalable, making it suitable for both personal and enterprise use. However, a vulnerability has been discovered in btrfs that can lead to a deadlock between the quota disable and qgroup rescan worker functions.
Vulnerability Detail
The vulnerability occurs when the quota disable function and the qgroup rescan worker function are executed concurrently. This can result in a deadlock, where both functions are waiting for each other to complete, causing the system to become unresponsive. The deadlock can potentially be exploited by an attacker to disrupt the normal operation of the system or cause a denial of service.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. Users are advised to update their Linux Kernel to the fixed version as soon as possible.
Conclusion
The deadlock between quota disable and qgroup rescan worker in btrfs can be a serious vulnerability that can lead to system unresponsiveness or denial of service. It is recommended to update the Linux Kernel to version v5.4.178 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
btrfs is a file system for Linux that provides advanced features such as snapshots, pooling, and integrated RAID.
The vulnerability can lead to a deadlock, causing the system to become unresponsive or resulting in a denial of service.
To fix the vulnerability, users should update their Linux Kernel to version v5.4.178 or later.
There is no known workaround for this vulnerability. Updating the Linux Kernel is the recommended solution.
For more information, you can refer to the vulnerability details in the Open Source Vulnerability format at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000170.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.