Memory Leak Vulnerability in Linux Kernel - Task Struct Reference Leak

linux Updated 02 Oct 2025

Summary

29/07/2024
N/A
No i
Medium
5.5

CVE-2024-41023: In the Linux kernel, the following vulnerability has been resolved: sched/deadline: Fix task_struct reference leak During the execution of the following stress test with linux-rt: stress-ng --cyclic 30 --timeout 30 --min... 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

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 flexibility. However, like any complex software, it can have vulnerabilities that may affect its operation. The specific vulnerability in question relates to a memory leak in the task_struct reference count during the execution of certain stress tests, which can lead to inefficient memory usage and potential system instability.

Vulnerability Detail

The vulnerability, identified as CVE-2024-41023, arises from a reference count leak in the task_struct within the Linux kernel's scheduling subsystem. When the start_dl_timer() function is called, it increments the reference count of task_struct and sets a timer. If the timer is canceled before it expires due to the enqueue_task_dl() function being called, the reference count is not decremented, leading to a memory leak. This leak can accumulate over time, especially under stress testing conditions, potentially causing performance degradation or system crashes.

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 available patches as soon as they are released.

Conclusion

CVE-2024-41023 is a significant vulnerability in the Linux kernel that can lead to memory leaks and potential system instability. Users are advised to update their systems promptly to mitigate the risks associated with this vulnerability. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-41023 is a vulnerability in the Linux kernel that causes a memory leak in the task_struct reference count during specific stress tests.

This vulnerability can lead to inefficient memory usage, which may cause performance degradation or system instability over time.

You should update your Linux kernel to the latest version that includes the patch for this vulnerability.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

You can check if your application is affected by using the Vulert playground at Vulert Scanner without requiring any signup.

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