Critical Memory Management Error in Linux Kernel: btrfs Package Vulnerability

linux Updated 02 Oct 2025

Summary

04/09/2024
N/A
No i
Medium
5.5

CVE-2024-44963: In the Linux kernel, the following vulnerability has been resolved: btrfs: do not BUG_ON() when freeing tree block after error When freeing a tree block, at btrfs_free_tree_block(), if we fail to create a delayed referen... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 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 the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. The btrfs (B-tree file system) is a modern file system for Linux that offers advanced features such as snapshots, dynamic inode allocation, and integrated volume management. However, it is susceptible to vulnerabilities that can compromise system stability and data integrity.

Vulnerability Detail

In the Linux kernel, specifically within the btrfs file system, a critical vulnerability has been identified where the function btrfs_free_tree_block() improperly handles errors during the freeing of tree blocks. Instead of managing errors gracefully, the function triggers a BUG_ON() assertion failure, which can lead to system crashes. This issue primarily arises when memory allocation fails (e.g., -ENOMEM) or when qgroups are enabled, allowing other errors to propagate back to the btrfs_free_tree_block() function. The failure to handle these errors appropriately can result in memory leaks and system instability.

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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the kernel update as soon as it becomes available.

Conclusion

The CVE-2024-44963 vulnerability in the Linux kernel's btrfs file system poses significant risks related to memory management errors. Users are strongly encouraged to update their systems to the latest kernel version to mitigate these risks. Tools like Vulert can assist in monitoring for such vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-44963 is a vulnerability in the Linux kernel's btrfs file system that improperly handles errors during memory management, potentially leading to system crashes.

You can use Vulert, a tool that monitors open-source vulnerabilities in your software. By uploading your manifest file, such as package-lock.json, you can check for vulnerabilities without needing to install any software.

The risks include system crashes, memory leaks, and potential data loss, especially if the system is under heavy load or if qgroups are enabled.

Yes, a patch has been released in the latest kernel updates. Users should ensure they are running the latest version of the Linux kernel to mitigate this vulnerability.

While there are no specific workarounds, it is advisable to monitor your system closely for any unusual behavior and plan to update your kernel as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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