
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-41023 is a reference leak vulnerability in the Linux kernel's deadline scheduler component. The issue was discovered in July 2024 and affects the task_struct reference count handling. The vulnerability occurs in the start_dl_timer() function, which increments the task_struct reference count and sets a timer, but fails to properly decrement the count when the timer is canceled under specific conditions (Kernel Patch).
The vulnerability manifests during the execution of stress tests with linux-rt, specifically when running 'stress-ng --cyclic 30 --timeout 30 --minimize --quiet'. The issue arises when enqueue_task_dl() is called before a timer expires and cancels it, leading to a failure to decrement the reference count. This results in a memory leak of the task_struct. The CVSS v3.1 base score for this vulnerability is 5.5 (Medium), with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The vulnerability results in a memory leak concerning the task_struct, which can lead to resource exhaustion over time. The issue specifically affects the kernel's deadline scheduler component and can impact system stability and performance when the deadline scheduler is in use (Kernel Patch).
The vulnerability requires local access and can be triggered through specific scheduling scenarios involving the deadline scheduler. It has been demonstrated using the stress-ng tool with particular parameters, indicating that exploitation requires specific conditions to be met (NVD).
A patch has been developed and committed to the Linux kernel that ensures proper reference count handling. The fix modifies the enqueue_task_dl() function to properly decrement the task_struct reference count when the timer is canceled. The patch has been included in various Linux distributions' security updates, including Red Hat Enterprise Linux (Red Hat Advisory).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."