Critical Memory Management Vulnerability in Linux Kernel: CVE-2024-57883

linux Updated 02 Oct 2025

Summary

15/01/2025
N/A
No i
Unrated
Not published

CVE-2024-57883: In the Linux kernel, the following vulnerability has been resolved: mm: hugetlb: independent PMD page table shared count The folio refcount may be increased unexpectly through try_get_folio() by caller such as split_huge... 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 kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It manages system resources, including memory, processes, and device drivers. The kernel's memory management subsystem is responsible for handling memory allocation and deallocation, ensuring efficient use of system resources. However, vulnerabilities in this subsystem can lead to serious security issues, such as memory leaks or unauthorized access to sensitive data. CVE-2024-57883 specifically affects the handling of HugeTLB pages, which are used for managing large memory pages in high-performance applications.

Vulnerability Detail

CVE-2024-57883 is a vulnerability in the Linux kernel's memory management system, specifically related to the handling of HugeTLB pages. The issue arises from an incorrect reference count check in the huge_pmd_unshare() function, which can lead to a page table leak. When the reference count is unexpectedly increased by functions like split_huge_pages, the kernel may treat a page table as shared when it is not, preventing proper memory deallocation. This can result in memory leaks and potentially allow unauthorized access to memory regions, leading to system instability and security risks. The vulnerability can be triggered by various kernel features, including damon, offline_page, and page_idle, which manipulate page table reference counts.

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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

CVE-2024-57883 is a critical vulnerability in the Linux kernel that affects memory management, particularly with HugeTLB pages. Users are advised to update their kernel to the latest patched version to protect against potential memory leaks and unauthorized access. Utilizing tools like Vulert can help monitor and identify vulnerabilities in your software effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-57883 is a vulnerability in the Linux kernel that affects memory management, specifically the handling of HugeTLB pages, leading to potential memory leaks.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file, such as package-lock.json, you can check for vulnerabilities without needing to install anything.

The risks include memory leaks, system instability, and potential unauthorized access to sensitive memory regions, which could compromise system security.

Yes, a patch has been developed and users are encouraged to update their Linux kernel to the latest version that includes the fix for CVE-2024-57883.

While there are no specific workarounds available, it is crucial to prioritize updating your kernel as soon as possible to mitigate the risks associated with this vulnerability.

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