Critical Memory Management Vulnerability in Linux Kernel Affecting Debian Packages

linux Updated 02 Oct 2025

Summary

17/08/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-42317: In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: avoid PMD-size page cache if needed xarray can't support arbitrary page cache size. Affects linux versions < 6.10.3-1. Fixed in 6.10.3-1. 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 the Debian operating system, responsible for managing hardware resources and providing essential services to applications. It supports various architectures and is known for its stability and performance. However, it is also susceptible to vulnerabilities that can compromise system integrity and security. This particular vulnerability affects Debian versions 13 and 14, specifically in the 'linux' package, which is crucial for system operations.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the memory management subsystem, particularly in the handling of huge pages. The issue arises from the potential for a PMD-size page cache to exceed the defined limits, leading to warnings and possible system instability. This vulnerability is particularly relevant for ARM64 systems with a base page size of 64KB, where a 512MB page cache can be created, violating the MAX_PAGECACHE_ORDER limit. The implications of this vulnerability include system crashes and data corruption, as the kernel may not handle the oversized page cache correctly.

How To Fix

Minimum fixed version

6.10.3-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid creating large page caches by adjusting their memory management settings. However, specific code or configuration changes were not provided in the vulnerability details. It is advisable to monitor system performance and avoid operations that may lead to excessive memory allocation until the patch is applied.

Conclusion

The identified vulnerability in the Linux kernel poses significant risks to Debian systems, particularly regarding memory management. Users are strongly encouraged to update their systems to the patched version to ensure stability and security. Monitoring tools like Vulert can assist in identifying vulnerabilities in real-time, enhancing overall security posture.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves improper handling of PMD-size page caches in the Linux kernel, which can lead to system instability.

Debian versions 13 and 14 are affected by this vulnerability in the 'linux' package.

You can use the Vulert platform to check if your application is affected by this vulnerability without requiring installation. Visit Vulert Scanner for more information.

If an immediate update is not possible, monitor your system closely for any unusual behavior and consider adjusting memory management settings as a temporary workaround.

Detailed information about this vulnerability can be found in the Debian CVE database or through the provided JSON vulnerability details.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.10.3-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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