Lock Inversion Problem in btrfs Package

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001175: btrfs: fix lock inversion problem when doing qgroup extent tracing. Affects Kernel versions < f5ef2fe05d386995b951476ffc8d6a6023888d99. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The btrfs package is a file system for Linux that provides advanced features such as snapshots, pooling, and checksums. It is designed to be efficient and scalable, making it suitable for use in both personal computers and enterprise environments. However, the package is vulnerable to a lock inversion problem when performing qgroup extent tracing.

Vulnerability Detail

The lock inversion problem in the btrfs package occurs when there is a conflict in the order of acquiring locks during qgroup extent tracing. This can lead to a deadlock situation where multiple threads are waiting for each other's locks, resulting in a system freeze or crash. The vulnerability has the potential to be exploited by an attacker to disrupt the normal functioning 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 specific workaround mentioned for this vulnerability. The recommended solution is to update the Linux Kernel to the fixed version.

Conclusion

The lock inversion problem in the btrfs package can be fixed by updating the Linux Kernel to the latest version. Users should ensure they have the fixed version installed to mitigate the risk of system freezes or crashes. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The btrfs package is a file system for Linux that provides advanced features such as snapshots, pooling, and checksums.

Qgroup extent tracing is a process in the btrfs file system that tracks the usage of disk space by different groups of files or directories.

A lock inversion problem occurs when there is a conflict in the order of acquiring locks, leading to a deadlock situation where multiple threads are waiting for each other's locks.

The vulnerability can result in a system freeze or crash, potentially leading to a denial of service or disruption of normal system functioning.

To fix the vulnerability, users should update their Linux Kernel to the latest version available.

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