CVE-2024-35956: Vulnerability in linux-libc-dev package - qgroup prealloc rsv leak in subvolume operations

linux Updated 02 Oct 2025

Summary

20/05/2024
No i
Unrated
Not published

CVE-2024-35956: In the Linux kernel, the following vulnerability has been resolved: btrfs: qgroup: fix qgroup prealloc rsv leak in subvolume operations Create subvolume, create snapshot and delete subvolume all use btrfs_subvolume_reser... 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

The linux-libc-dev package is a development package for the Linux kernel. It provides the necessary header files and libraries for compiling programs that interact with the kernel. This package is commonly used by developers to build and test kernel modules and other low-level software components. The vulnerability in this package affects the btrfs filesystem, specifically in the handling of qgroup prealloc reservation leaks during subvolume operations.

Vulnerability Detail

The vulnerability in the linux-libc-dev package allows for a qgroup prealloc reservation leak in subvolume operations. When creating a subvolume, creating a snapshot, or deleting a subvolume, the btrfs_subvolume_reserve_metadata() function is used to reserve metadata for the changes made to the parent subvolume's filesystem tree. However, the error paths of these operations do not handle the reservation correctly, leading to a potential leak of the reservation. This can result in a WARN message during unmount and may cause resource exhaustion in certain scenarios.

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 recommended to apply the official patch or update the linux-libc-dev package to the latest version as soon as possible.

Conclusion

The vulnerability in the linux-libc-dev package can lead to a qgroup prealloc reservation leak during subvolume operations. It is important to update the package to the latest version or apply the official patch to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The linux-libc-dev package is a development package for the Linux kernel, providing header files and libraries for compiling programs that interact with the kernel.

The vulnerability can lead to a qgroup prealloc reservation leak during subvolume operations, potentially causing resource exhaustion and triggering a WARN message during unmount.

To fix this vulnerability, update the linux-libc-dev package to version 6.1.90-1 or later. Restart affected services or reboot the system after the update.

There is no known workaround for this vulnerability. It is recommended to apply the official patch or update the linux-libc-dev package.

More information about this vulnerability can be found in the official CVE-2024-35956 advisory and the Debian Security Tracker.

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