CVE-2024-36000: linux-libc-dev - Missing hugetlb_lock for resv uncharge

linux Updated 02 Oct 2025

Summary

20/05/2024
No i
Unrated
Not published

CVE-2024-36000: In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: fix missing hugetlb_lock for resv uncharge There is a recent report on UFFDIO_COPY over hugetlb: https://lore.kernel.org/all/000000000000ee0... 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 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

linux-libc-dev is a package in the Linux kernel that provides the C library headers for the Linux system. These headers define the system calls and data structures used by programs that interact with the kernel. The linux-libc-dev package is essential for compiling and building software on a Linux system. However, a vulnerability has been discovered in the package that could lead to a security issue.

Vulnerability Detail

The vulnerability in linux-libc-dev, identified as CVE-2024-36000, is related to the handling of hugetlb (huge page) operations. Specifically, there is a missing hugetlb_lock for resv uncharge, which can be triggered in an userfault context. This vulnerability can be exploited by two threads modifying the resv map simultaneously, leading to a potential security breach. The issue has been addressed with a fix in the hugetlb_cgroup_uncharge_folio_rsvd() function, which now properly handles the locking criteria.

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 mentioned for this vulnerability. It is advised to apply the recommended fix by updating the linux-libc-dev package.

Conclusion

The linux-libc-dev package is vulnerable to a missing hugetlb_lock for resv uncharge issue, which could potentially be exploited by attackers. It is crucial to update the package to the latest version 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 Linux system. These headers define the system calls and data structures used by programs that interact with the kernel.

This vulnerability could potentially be exploited by malicious actors to gain unauthorized access or perform other malicious activities on a system running the affected version of linux-libc-dev.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and the tool will provide real-time alerts for any open-source vulnerabilities, including this one.

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

You can find more information about this vulnerability on the Debian Security Tracker (https://salsa.debian.org/security-tracker-team/security-tracker) and the National Vulnerability Database (https://nvd.nist.gov/vuln/detail/CVE-2024-36000).

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