cve.bz

CVE-2024-41023 linux linux kernel

5.5 mediumEPSS 0.4%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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 --minimize --quiet kmemleak frequently reported a memory leak concerning the task_struct: unreferenced object 0xffff8881305b8000 (size 16136): comm "stress-ng", pid 614, jiffies 4294883961 (age 286.412s) object hex dump (first 32 bytes): 02 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .@.............. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ debug hex dump (first 16 bytes): 53 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 S............... backtrace: [<00000000046b6790>] dup_task_struct+0x30/0x540 [<00000000c5ca0f0b>] copy_process+0x3d9/0x50e0 [<00000000ced59777>] kernel_clone+0xb0/0x770 [<00000000a50befdc>] __do_sys_clone+0xb6/0xf0 [<000000001dbf2008>] do_syscall_64+0x5d/0xf0 [<00000000552900ff>] entry_SYSCALL_64_after_hwframe+0x6e/0x76 The issue occurs in start_dl_timer(), which increments the task_struct reference count and sets a timer. The timer callback, dl_task_timer, is supposed to decrement the reference count upon expiration. However, if enqueue_task_dl() is called before the timer expires and cancels it, the reference count is not decremented, leading to the leak. This patch fixes the reference leak by ensuring the task_struct reference count is properly decremented when the timer is canceled.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-41023 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-41023?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-41023?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-41023 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 4.19.257 before 4.20
Linuxfrom 5.4.212 before 5.5
Linux5.10 and later

Fixed in

ProductRelease lineFixed in
Linux6.16.1.191
Linux6.66.6.160
Linux6.96.9.10
Linuxlater releases6.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.192-1DEBIAN-CVE-2024-41023
Debian13, 14linux6.9.10-1DEBIAN-CVE-2024-41023
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2024-41023
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2024-41023
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2024-41023
Ubuntu22.04:LTSlinux, linux-aws, linux-gcp and 47 moreno fix listedUBUNTU-CVE-2024-41023
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1018.19~22.04.1UBUNTU-CVE-2024-41023 USN-7089-3
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1017.20~22.04.1UBUNTU-CVE-2024-41023 USN-7090-1
Ubuntu22.04:LTSlinux-gcp-6.8, linux-nvidia-6.86.8.0-1017.19~22.04.1UBUNTU-CVE-2024-41023 USN-7089-1 USN-7095-1
Ubuntu22.04:LTSlinux-hwe-6.86.8.0-48.48~22.04.1UBUNTU-CVE-2024-41023 USN-7089-1
Ubuntu22.04:LTSlinux-ibm-6.8, linux-oracle-6.86.8.0-1015.15~22.04.1UBUNTU-CVE-2024-41023 USN-7089-3
Ubuntu22.04:LTSlinux-lowlatency-hwe-6.86.8.0-48.48.3~22.04.1UBUNTU-CVE-2024-41023 USN-7089-7
Ubuntu22.04:LTSlinux-riscv-6.86.8.0-48.48.1~22.04.2UBUNTU-CVE-2024-41023
Ubuntu24.04:LTSlinux6.8.0-48.48UBUNTU-CVE-2024-41023 USN-7089-1
22 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.22.1.el8_10RHSA-2024:7000
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.22.1.el8_10RHSA-2024:7000
Red Hatrhel_eus:8.8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.81.1.el8_8RHSA-2024:10262
Red Hatrhel_eus:8.8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.81.1.el8_8RHSA-2024:10262
Red Hatrhel_eus:9.2::appstreamperf, rtla, kernel-devel and 21 more0:5.14.0-284.84.1.el9_2RHSA-2024:6744
Red Hatrhel_eus:9.2::appstream, rhel_eus:9.2::crbbpftool-debuginfo0:7.0.0-284.84.1.el9_2RHSA-2024:6744
Red Hatrhel_eus:9.2::baseosbpftool, bpftool-debuginfo0:7.0.0-284.84.1.el9_2RHSA-2024:6744
Red Hatrhel_eus:9.2::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.84.1.el9_2RHSA-2024:6744
Red Hatrhel_eus:9.2::crbperf-debuginfo, kernel-debuginfo, kernel-64k-debuginfo and 10 more0:5.14.0-284.84.1.el9_2RHSA-2024:6744
Red Hatrhel_eus:9.2::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 14 more0:5.14.0-284.84.1.rt14.369.el9_2RHSA-2024:6745
Red Hatrhel_eus:9.2::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 12 more0:5.14.0-284.84.1.rt14.369.el9_2RHSA-2024:6745
Red Hatrhel_eus:9.4::appstreamrv, perf, rtla and 26 more0:5.14.0-427.44.1.el9_4RHSA-2024:9546
6 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 1 morekernel-default5.14.21-150500.55.88.1SUSE-SU-2024:4364-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.30.1SUSE-SU-2024:4318-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_231-150500.11.3.1SUSE-SU-2024:4315-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_211-150500.11.5.1SUSE-SU-2024:4364-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_61-150600.1.3.1SUSE-SU-2024:4314-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_61-150600.13.3.5SUSE-SU-2024:4318-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.79.1SUSE-SU-2024:4315-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5kernel-default-base5.14.21-150500.55.88.1.150500.6.39.4SUSE-SU-2024:4364-1
SUSELinux Enterprise Module for Basesystem 15 SP5kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.88.1SUSE-SU-2024:4364-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150600.23.30.1SUSE-SU-2024:4318-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.30.1.150600.12.12.6SUSE-SU-2024:4318-1
SUSELinux Enterprise Module for Confidential Computing Technical Preview 15 SP6kernel-coco, kernel-syms-coco, kernel-coco_debug and 1 more6.4.0-15061.9.coco15sp6.1SUSE-SU-2024:4387-1
16 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.75.1SUSE-SU-2024:4376-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.79.1SUSE-SU-2024:4315-1
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.30.1SUSE-SU-2024:4318-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.20.1SUSE-SU-2024:4316-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.30.1.150600.12.12.6SUSE-SU-2024:4318-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.20.1SUSE-SU-2024:4314-1
openSUSELeap Micro 5.5kernel-rt5.14.21-150500.13.79.1SUSE-SU-2024:4315-1
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.22.1.el8_10ALSA-2024:7000
Rocky Linux8kernel0:4.18.0-553.22.1.el8_10RLSA-2024:7000
Azure Linux2kernelno fix listedAZL-57743
Azure Linux3kernelno fix listedAZL-57740
Alpaquita23linux-lts6.1.191-r0BELL-CVE-2024-41023
Alpaquita25, streamlinux-lts6.12.41-r0BELL-CVE-2024-41023

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.22.1.el8_10Fixed 2024-09-24RHSA-2024:7000
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.81.1.el8_8Fixed 2024-11-26RHSA-2024:10262
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-0:5.14.0-284.84.1.el9_2Fixed 2024-09-18RHSA-2024:6744
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-rt-0:5.14.0-284.84.1.rt14.369.el9_2Fixed 2024-09-18RHSA-2024:6745
Red Hat Enterprise Linux 9.4 Extended Update Supportkernel-0:5.14.0-427.44.1.el9_4Fixed 2024-11-13RHSA-2024:9546
RHOAI-2.13-RHEL-8rhoai/odh-codeflare-operator-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-dashboard-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-data-science-pipelines-argo-argoexec-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-data-science-pipelines-operator-controller-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-kf-notebook-controller-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-kuberay-operator-controller-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-kueue-controller-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
RHOAI-2.13-RHEL-8rhoai/odh-mlmd-grpc-server-rhel8:v2.13.1-1Fixed 2024-10-24RHBA-2024:8413
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernel-rtWill not fix
Red Hat Enterprise Linux 9kernelAffected
Red Hat Enterprise Linux 9kernel-rtAffected
53 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-41023.

References

Check your stackJSON