sched/deadline: Fix task_struct reference leak
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 16 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-401.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.19.257 to before 4.20; 5.4.212 to before 5.5 | 4.20, 5.5 | Patch available | CNA |
| Linux | Linux | 5.10 and later | 6.1.191, 6.6.160, 6.9.10, 6.10 | Patch available | CNA |
- Linux VendorLinux Affected 4.19.257 to before 4.20; 5.4.212 to before 5.5 Fixed in 4.20, 5.5 Patch available CNA
- Linux VendorLinux Affected 5.10 and later Fixed in 6.1.191, 6.6.160, 6.9.10, 6.10 Patch available CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.19.257 to before 4.20; 5.4.212 to before 5.5; 5.10 to before 6.9.10 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:* | 6.10 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:* | 6.10 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:* | 6.10 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:* | 6.10 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:* | 6.10 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:* | 6.10 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.10:rc7:*:*:*:*:*:* | 6.10 rc7 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.19.257 to before 4.20; 5.4.212 to before 5.5; 5.10 to before 6.9.10 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:* Versions 6.10 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:* Versions 6.10 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:* Versions 6.10 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:* Versions 6.10 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:* Versions 6.10 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:* Versions 6.10 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.10:rc7:*:*:*:*:*:* Versions 6.10 rc7 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.20, 5.5
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.160, 6.9.10, 6.10
Red Hat 5 advisories
- RHSA-2024:10262 Released 2024-11-26 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-tools-libs-devel-4.18.0-477.81.1.el8_8
- Red Hat Enterprise Linux BaseOS EUS (v.8.8) bpftool-4.18.0-477.81.1.el8_8, kernel-4.18.0-477.81.1.el8_8, kernel-abi-stablelists-4.18.0-477.81.1.el8_8 +19
- RHSA-2024:9546 Released 2024-11-13 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.4) kernel-tools-libs-devel-5.14.0-427.44.1.el9_4, libperf-5.14.0-427.44.1.el9_4
- Red Hat Enterprise Linux AppStream EUS (v.9.4) kernel-64k-debug-devel-5.14.0-427.44.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.44.1.el9_4, kernel-64k-devel-5.14.0-427.44.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool-7.3.0-427.44.1.el9_4, kernel-5.14.0-427.44.1.el9_4, kernel-64k-5.14.0-427.44.1.el9_4 +29
- Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt-5.14.0-427.44.1.el9_4, kernel-rt-core-5.14.0-427.44.1.el9_4, kernel-rt-debug-5.14.0-427.44.1.el9_4 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt-5.14.0-427.44.1.el9_4, kernel-rt-core-5.14.0-427.44.1.el9_4, kernel-rt-debug-5.14.0-427.44.1.el9_4 +11
- RHSA-2024:7000 Released 2024-09-24 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.22.1.el8_10, kernel-4.18.0-553.22.1.el8_10, kernel-abi-stablelists-4.18.0-553.22.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.22.1.el8_10
Show 2 more Red Hat advisories
- RHSA-2024:6744 Released 2024-09-18 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-tools-libs-devel-5.14.0-284.84.1.el9_2
- Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-64k-debug-devel-5.14.0-284.84.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.84.1.el9_2, kernel-64k-devel-5.14.0-284.84.1.el9_2 +9
- Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool-7.0.0-284.84.1.el9_2, kernel-5.14.0-284.84.1.el9_2, kernel-64k-5.14.0-284.84.1.el9_2 +29
- RHSA-2024:6745 Released 2024-09-18 · Red Hat rating Moderatekernel-rt security update
- Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-core-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-debug-5.14.0-284.84.1.rt14.369.el9_2 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-core-5.14.0-284.84.1.rt14.369.el9_2, kernel-rt-debug-5.14.0-284.84.1.rt14.369.el9_2 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| RHOAI-2.13-RHEL-8 | Fixed | — |
| RHOAI-2.14-RHEL-8 | Fixed | — |
| Red Hat CodeReady Linux Builder EUS (v.8.8) | Fixed | RHSA-2024:10262 |
| Red Hat CodeReady Linux Builder EUS (v.9.2) | Fixed | RHSA-2024:6744 |
| Red Hat CodeReady Linux Builder EUS (v.9.4) | Fixed | RHSA-2024:9546 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:6744 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2024:9546 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2024:7000 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.8) | Fixed | RHSA-2024:10262 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.2) | Fixed | RHSA-2024:6744 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.4) | Fixed | RHSA-2024:9546 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2024:7000 |
| Red Hat Enterprise Linux Real Time EUS (v.9.2) | Fixed | RHSA-2024:6745 |
| Red Hat Enterprise Linux Real Time EUS (v.9.4) | Fixed | RHSA-2024:9546 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) | Fixed | RHSA-2024:6745 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) | Fixed | RHSA-2024:9546 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux AppStream EUS (v.9.2)
Timeline
- 2026-10-02 Threatist record created from CVE-2024-41023
- 2026-10-03 Alias added: GHSA-v75f-hc9p-6g26
- 2026-10-21 Fix available: Linux/[email protected], Linux/Linux@f8005214946fd1d9fefdeff19c6ce46d60de2cef · CNA
- 2026-10-21 1 new reference · CNA
- 2026-10-30 Fix available: Linux/[email protected], Linux/Linux@8acaaeb484097f46c93bb6c3f836d1c1c07fcbdc · CNA
- 2026-10-30 1 new reference · CNA
- 2026-10-30 Fix available: RHOAI-2.13-RHEL-8, RHOAI-2.14-RHEL-8 · Red Hat
References
Patch 2
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2024-41023 · CVE Program
- CVE-2024-41023 · NVD
- FIRST EPSS
- GHSA-v75f-hc9p-6g26 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-41023 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences