CVE-2024-26792: linux-libc-dev - Double Free of Anonymous Device After Snapshot Creation Failure

linux Updated 02 Oct 2025

Summary

04/04/2024
No i
High
7.8

CVE-2024-26792: In the Linux kernel, the following vulnerability has been resolved: btrfs: fix double free of anonymous device after snapshot creation failure When creating a snapshot we may do a double free of an anonymous device in ca... 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

linux-libc-dev is a package in the Linux kernel that provides the C library headers for the kernel. These headers are necessary for compiling programs that interface with the kernel. The package is widely used and is a critical component for building and running applications on Linux systems. However, a vulnerability has been discovered in the package that could lead to a double free of an anonymous device after a snapshot creation failure.

Vulnerability Detail

The vulnerability in linux-libc-dev arises when creating a snapshot. If there is an error committing the transaction during snapshot creation, a double free of an anonymous device may occur. This can result in freeing an anonymous device number that was allocated by another subsystem in the kernel or another btrfs filesystem. The issue occurs due to a flaw in the code path that handles the allocation and freeing of anonymous device numbers. An attacker could potentially exploit this vulnerability to cause a denial of service or execute arbitrary code with kernel privileges.

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 known workaround for this vulnerability. It is crucial to apply the provided fix by updating the linux-libc-dev package to the patched version.

Conclusion

The linux-libc-dev package is vulnerable to a double free issue when creating a snapshot. This vulnerability could lead to a denial of service or arbitrary code execution. It is crucial to update the package to version 6.1.90-1 or later to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

linux-libc-dev is a package in the Linux kernel that provides the C library headers for the kernel. These headers are necessary for compiling programs that interface with the kernel.

The vulnerability could allow an attacker to cause a denial of service or execute arbitrary code with kernel privileges.

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

No, there is no known workaround. It is necessary to apply the provided fix by updating the linux-libc-dev package.

Users can obtain the updated linux-libc-dev package from the official Debian repositories or through the package manager of their Linux distribution.

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