Circular Locking Dependency Vulnerability in Linux Kernel's Btrfs Package

linux Updated 02 Oct 2025

Summary

17/05/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-52668: In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: fix lock ordering in btrfs_zone_activate() The btrfs CI reported a lockdep warning as follows by running generic generic/129. Affects linux versions < 6.6.15-1. Fixed in 6.6.15-1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware management, process control, and system security. The Btrfs (B-tree file system) is a modern file system for Linux that supports advanced features like snapshots, dynamic inode allocation, and volume management. This vulnerability specifically affects the Btrfs implementation, which is crucial for managing storage efficiently and securely.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the Btrfs file system related to lock ordering in the function btrfs_zone_activate(). This issue can lead to a circular locking dependency, which may cause deadlocks and hinder system performance. The problem arises when the fs_info->zone_active_bgs_lock is acquired after a block group's lock, contrary to the expected order in other parts of the code. This inconsistency can lead to potential system instability and performance degradation.

How To Fix

Minimum fixed version

6.6.15-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, no specific workaround is provided for this vulnerability. However, users are advised to monitor their systems for any unusual behavior and apply the patch as soon as it becomes available.

Conclusion

The identified vulnerability in the Linux kernel's Btrfs file system poses a risk of circular locking dependencies, which can lead to system instability. Users are encouraged to update to the patched version to mitigate this risk and ensure optimal system performance.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves a circular locking dependency in the Btrfs file system, which can lead to deadlocks.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.

If exploited, this vulnerability can cause system instability and performance issues due to deadlocks.

Yes, a patch is available in version 6.6.15-1 of the Linux package.

While no specific workaround is available, it is crucial to monitor your system for any unusual behavior until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.6.15-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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