Use-After-Free Vulnerability in Linux Kernel's Btrfs Package

linux Updated 02 Oct 2025

Summary

13/09/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-46687: In the Linux kernel, the following vulnerability has been resolved: btrfs: fix a use-after-free when hitting errors inside btrfs_submit_chunk() [BUG] There is an internal report that KASAN is reporting use-after-free, wi... Affects linux versions < 6.10.9-1. Fixed in 6.10.9-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware management and system resources. The Btrfs (B-tree file system) is a modern file system for Linux that offers advanced features such as snapshots, dynamic inode allocation, and built-in RAID capabilities. However, it is susceptible to vulnerabilities that can compromise system stability and security.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability has been identified in the Btrfs file system, specifically within the btrfs_submit_chunk() function. This issue arises when a critical error occurs during the submission of a bio (block I/O) request, leading to a double freeing of memory. The vulnerability can cause system crashes or allow attackers to exploit freed memory regions, potentially leading to arbitrary code execution. The vulnerability was reported through KASAN (Kernel Address Sanitizer), which detected the use-after-free condition during the processing of read requests.

How To Fix

Minimum fixed version

6.10.9-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 workarounds have been provided for this vulnerability. It is recommended to apply the patch as soon as it is available to mitigate potential risks.

Conclusion

The use-after-free vulnerability in the Linux kernel's Btrfs package poses significant risks to system stability and security. Users are strongly encouraged to update to the patched version to protect their systems from potential exploitation. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, leading to unpredictable behavior or security issues.

Exploitation of this vulnerability can lead to system crashes, data corruption, or unauthorized access to sensitive information.

If you are using a version of the Linux kernel prior to the patched version 6.10.9-1, your system may be at risk. It is advisable to check your kernel version and update if necessary.

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 receive real-time alerts about vulnerabilities, including this one.

While there are no specific workarounds, it is crucial to monitor your system for unusual behavior and apply the update as soon as possible to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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