Deadlock between quota disable and qgroup rescan worker in btrfs

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000170: btrfs: fix deadlock between quota disable and qgroup rescan worker. Affects Kernel versions < 26b3901d20bf9da2c6a00cb1fb48932166f80a45. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Share this vulnerability

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.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback