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-1000219: btrfs: fix deadlock between quota disable and qgroup rescan worker. Affects Kernel versions < 32747e01436aac8ef93fe85b5b523b4f3b52f040. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The btrfs package is a file system for Linux that provides advanced features such as snapshots, pooling, and data integrity. It is widely used in various Linux distributions. The quota feature in btrfs allows users to set limits on disk space usage for specific users or groups. The qgroup rescan worker is responsible for updating the quota information. However, a deadlock can occur when disabling the quota feature while the qgroup rescan worker is running.

Vulnerability Detail

The vulnerability arises from a deadlock situation between the quota disable operation and the qgroup rescan worker in the btrfs package. When the quota feature is disabled while the qgroup rescan worker is active, a deadlock can occur, leading to a system freeze or unresponsiveness. This vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition on a vulnerable system. The deadlock issue has been fixed in the Linux Kernel version v5.10.99 by commit 32747e01436aac8ef93fe85b5b523b4f3b52f040.

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. It is necessary to apply the fix by updating the Linux Kernel.

Conclusion

In conclusion, the btrfs package is vulnerable to a deadlock issue between the quota disable operation and the qgroup rescan worker. This vulnerability can be exploited to cause a denial-of-service condition. It is recommended to update the Linux Kernel to version v5.10.99 or later to fix this issue. For further support on vulnerability remediation, please 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 data integrity.

The quota feature in btrfs allows users to set limits on disk space usage for specific users or groups.

The qgroup rescan worker is responsible for updating the quota information in btrfs.

A deadlock is a situation where two or more processes are unable to proceed because each is waiting for the other to release a resource.

This vulnerability can lead to a system freeze or unresponsiveness, causing a denial-of-service (DoS) condition.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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