Critical Memory Management Vulnerability in Linux Kernel Affects Debian Packages

linux Updated 02 Oct 2025

Summary

19/01/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-57928: In the Linux kernel, the following vulnerability has been resolved: netfs: Fix enomem handling in buffered reads If netfs_read_to_pagecache() gets an error from either ->prepare_read() or from netfs_prepare_read_iterator... Affects linux versions < 6.12.10-1. Fixed in 6.12.10-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 Penetration testing for web, API and mobile 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 is known for its stability, performance, and security features. However, vulnerabilities can arise, impacting the system's integrity and security. This specific issue pertains to memory management within the netfs subsystem, which handles network file systems.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the netfs subsystem related to memory management during buffered reads. The function netfs_read_to_pagecache() fails to properly handle errors from certain operations, leading to potential memory leaks and system instability. Specifically, when encountering errors from ->prepare_read() or netfs_prepare_read_iterator(), the function does not adequately decrement the number of outstanding requests or cancel subrequests, which can result in resource exhaustion and degraded performance.

How To Fix

Minimum fixed version

6.12.10-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

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch by updating the Linux kernel to the fixed version.

Conclusion

The identified vulnerability in the Linux kernel's netfs subsystem poses significant risks to Debian systems. Users are strongly advised to update their kernel to the patched version 6.12.10-1 to ensure system stability and security. Regular monitoring for vulnerabilities using tools like Vulert can help maintain a secure environment.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves improper error handling in the netfs subsystem of the Linux kernel, which can lead to memory leaks and system instability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without any signup.

If exploited, this vulnerability could lead to resource exhaustion, degraded system performance, and potential crashes.

Yes, a patch is available in the form of the Linux kernel version 6.12.10-1 for Debian 13 and 14.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risks associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.10-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