Memory Leak Vulnerability in Linux Kernel - CVE-2024-57841

linux Updated 02 Oct 2025

Summary

15/01/2025
N/A
Yes i
Medium
5.5

CVE-2024-57841: In the Linux kernel, the following vulnerability has been resolved: net: fix memory leak in tcp_conn_request() If inet_csk_reqsk_queue_hash_add() return false, tcp_conn_request() will return without free the dst memory,... Affects linux versions < 6.1.124-1. Fixed in 6.1.124-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 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

The Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It is known for its stability, performance, and security features. However, vulnerabilities can arise, impacting the kernel's functionality and the overall system's security. CVE-2024-57841 is a specific vulnerability that affects the Linux kernel in Debian versions 12 and 13, leading to potential memory leaks.

Vulnerability Detail

CVE-2024-57841 is a memory leak vulnerability found in the tcp_conn_request() function of the Linux kernel. The issue occurs when the inet_csk_reqsk_queue_hash_add() function returns false, causing tcp_conn_request() to exit without freeing the allocated destination (dst) memory. This unreferenced memory can lead to increased memory usage over time, potentially affecting system performance and stability. The vulnerability was identified through kmemleak, which showed an unreferenced object in memory, indicating that the allocated memory was not properly released.

How To Fix

Minimum fixed version

6.1.124-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 monitor their system's memory usage and manually release resources when necessary. However, the best course of action is to apply the patch as soon as it becomes available.

Conclusion

CVE-2024-57841 is a critical memory leak vulnerability in the Linux kernel that requires immediate attention. Users are advised to update their systems to the latest kernel version to prevent potential memory-related issues. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities in your software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-57841 is a memory leak vulnerability in the Linux kernel that can lead to increased memory usage and potential system instability.

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 any software.

If exploited, this vulnerability can lead to memory leaks, which may degrade system performance and stability over time.

Yes, a patch is available. Users should update their Linux kernel to the latest version to mitigate this vulnerability.

If an immediate update is not possible, monitor your system's memory usage closely and consider implementing temporary workarounds until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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