Deadlock Vulnerability in Linux Kernel's Btrfs Package: CVE-2022-49079

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Unrated
Not published

CVE-2022-49079: In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: traverse devices under chunk_mutex in btrfs_can_activate_zone btrfs_can_activate_zone() can be called with the device_list_mutex already h... Affects linux versions < 5.17.3-1. Fixed in 5.17.3-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 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 Linux kernel is the core component of Linux operating systems, managing hardware and system resources. Btrfs (B-tree file system) is a modern file system for Linux that provides advanced features like snapshots, dynamic inode allocation, and integrated volume management. However, it is susceptible to a deadlock vulnerability that can occur during chunk allocation, potentially leading to system instability.

Vulnerability Detail

The vulnerability, identified as CVE-2022-49079, arises from the function btrfs_can_activate_zone, which can be called while holding the device_list_mutex. This can lead to a deadlock situation where the system attempts to acquire the same lock multiple times, causing a halt in operations. The deadlock occurs during the chunk allocation process, where the system tries to traverse the device list while already holding a lock, resulting in a recursive locking scenario. This vulnerability can severely impact system performance and reliability, especially in environments relying on Btrfs for data management.

How To Fix

Minimum fixed version

5.17.3-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, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available to avoid potential deadlock scenarios.

Conclusion

CVE-2022-49079 is a critical deadlock vulnerability in the Linux kernel's Btrfs file system that can lead to significant system performance issues. Users are urged to update to the patched version to ensure system stability. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49079 is a vulnerability in the Linux kernel's Btrfs file system that can lead to a deadlock during chunk allocation.

This vulnerability can cause system instability and performance issues, particularly in systems using Btrfs for data management.

You should update your Linux kernel to version 5.17.3-1 or later to mitigate the vulnerability.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check for vulnerabilities in your application without needing to install anything.

Detailed information about CVE-2022-49079 can be found on security databases and the official Linux kernel mailing lists.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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

Minimum fixed version

5.17.3-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