CVE-2024-26726: Vulnerability in linux-libc-dev package - btrfs: don't drop extent_map for free space inode on write error

linux Updated 02 Oct 2025

Summary

03/04/2024
No i
Medium
5.5

CVE-2024-26726: In the Linux kernel, the following vulnerability has been resolved: btrfs: don't drop extent_map for free space inode on write error While running the CI for an unrelated change I hit the following panic with generic/648... 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 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-libc-dev package is a development package that provides the necessary header files and libraries for compiling C programs that use the Linux kernel interfaces. It is an essential component for building and running applications on Linux systems. The package is widely used and plays a crucial role in the functioning of various software applications.

Vulnerability Detail

The vulnerability (CVE-2024-26726) in the linux-libc-dev package affects the btrfs (B-Tree File System) module. It arises when attempting to write the free space cache, resulting in a panic and potential system instability. The issue occurs due to a failure to write out the free space cache, leading to a dropped extent mapping. This can result in a bogus extent map and subsequent errors when accessing the affected range. The vulnerability has a CVSS score of 5.5, indicating a medium severity level.

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 provided for this vulnerability. However, users can mitigate the risk by ensuring they have the latest version of the linux-libc-dev package installed and promptly applying any security updates released by the package maintainers.

Conclusion

The vulnerability in the linux-libc-dev package, specifically affecting the btrfs module, can result in a panic and system instability. It is crucial for users to update to the latest version of the package to mitigate the risk and ensure the stability and security of their Linux systems. For further assistance and support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The linux-libc-dev package is a development package that provides header files and libraries for compiling C programs that use Linux kernel interfaces.

btrfs is a modern file system for Linux that supports advanced features such as snapshots, checksums, and RAID-like functionality.

The vulnerability can lead to a panic and system instability, potentially causing disruption of services and data loss.

To fix this vulnerability, update the linux-libc-dev package to version 6.1.90-1 or later.

While no specific workaround is provided, keeping the linux-libc-dev package up to date can help mitigate the risk.

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

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