CVE-2024-35784: Vulnerability in linux-libc-dev - Kernel Btrfs Deadlock

linux Updated 02 Oct 2025

Summary

17/05/2024
No i
Medium
5.5

CVE-2024-35784: In the Linux kernel, the following vulnerability has been resolved: btrfs: fix deadlock with fiemap and extent locking While working on the patchset to remove extent locking I got a lockdep splat with fiemap and pagefaul... 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

linux-libc-dev is a package in the Linux kernel that provides the C library headers for kernel development. It is an essential component for building and compiling kernel modules. The package is widely used in Linux distributions and plays a crucial role in the functioning of the kernel. However, a vulnerability has been discovered in the Btrfs file system implementation within the linux-libc-dev package.

Vulnerability Detail

The vulnerability (CVE-2024-35784) in the linux-libc-dev package arises from a deadlock issue related to the fiemap and extent locking functionality. When copying the fiemap extent to user space, there is a chance of pagefaulting. If a range in the file that is mmap'ed is mkwrite, it can lead to a deadlock. This deadlock occurs due to a lockdep splat with fiemap and pagefaulting. The extent locking in the code does not have lockdep annotations, which is why this deadlock has gone unnoticed. The vulnerability has been fixed by modifying the extent lock behavior during the fiemap operation.

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

No workaround has been provided for this vulnerability. It is essential to update the linux-libc-dev package to the latest version to ensure the fix is applied.

Conclusion

The vulnerability in the linux-libc-dev package has been addressed with the release of version 6.1.90-1. It is crucial to update the package to the latest version to ensure the fix is applied and to prevent potential deadlocks in the Btrfs file system implementation. For further support or assistance with 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 kernel development. It is used for building and compiling kernel modules.

The vulnerability can lead to a deadlock in the Btrfs file system implementation, potentially causing system instability or unresponsiveness.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and the playground will provide real-time alerts for open-source vulnerabilities.

Yes, a fix is available for this vulnerability. It is recommended to update the linux-libc-dev package to version 6.1.90-1 or later.

No, there are no known workarounds for this vulnerability. Updating the linux-libc-dev package is the recommended solution.

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