Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-41023

MEDIUM 5.5EPSS 19%

sched/deadline: Fix task_struct reference leak

Mitigation

  • Upgrade Linux to 5.5 or later.

Who should check

  • Anyone running Linux >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < 8acaaeb484097f46c93bb6c3f836d1c1c07fcbdc; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < f8005214946fd1d9fefdeff19c6ce46d60de2cef; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < 7a54d31face626f62de415ebe77b43f76c3ffaf4; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < b58652db66c910c2245f5bee7deca41c12d707b9; f0e1c1d8ff908a39dd42e723d08f104505dfa601; 184c8ab5342450c4ae6fc5d937f9bb06c620dcf1; >= 4.19.257, < 4.20; >= 5.4.212, < 5.5
  • Anyone running Linux 5.10

Vulnerability facts

Affected
Linux >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < 8acaaeb484097f46c93bb6c3f836d1c1c07fcbdc; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < f8005214946fd1d9fefdeff19c6ce46d60de2cef; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < 7a54d31face626f62de415ebe77b43f76c3ffaf4; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < b58652db66c910c2245f5bee7deca41c12d707b9; f0e1c1d8ff908a39dd42e723d08f104505dfa601; 184c8ab5342450c4ae6fc5d937f9bb06c620dcf1; >= 4.19.257, < 4.20; >= 5.4.212, < 5.5; Linux 5.10
Fixed in
Linux 8acaaeb484097f46c93bb6c3f836d1c1c07fcbdc, Linux 7a54d31face626f62de415ebe77b43f76c3ffaf4, Linux 4.20, Linux 5.5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
CWE
CWE-401
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= feff2e65efd8d84cf831668e182b2ce73c604bbb, < 8acaaeb484097f46c93bb6c3f836d1c1c07fcbdc; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < f8005214946fd1d9fefdeff19c6ce46d60de2cef; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < 7a54d31face626f62de415ebe77b43f76c3ffaf4; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < b58652db66c910c2245f5bee7deca41c12d707b9; f0e1c1d8ff908a39dd42e723d08f104505dfa601; 184c8ab5342450c4ae6fc5d937f9bb06c620dcf1; >= 4.19.257, < 4.20; >= 5.4.212, < 5.5—cvelist
Linux5.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-41023. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41023.md
Affected: Linux >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < 8acaaeb484097f46c93bb6c3f836d1c1c07fcbdc; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < f8005214946fd1d9fefdeff19c6ce46d60de2cef; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < 7a54d31face626f62de415ebe77b43f76c3ffaf4; >= feff2e65efd8d84cf831668…
Fixed in: Linux 8acaaeb484097f46c93bb6c3f836d1c1c07fcbdc, Linux 7a54d31face626f62de415ebe77b43f76c3ffaf4, Linux 4.20, Linux 5.5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-41023 being exploited?

There is no confirmed exploitation: CVE-2024-41023 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-41023?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-41023?

Linux >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < 8acaaeb484097f46c93bb6c3f836d1c1c07fcbdc; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < f8005214946fd1d9fefdeff19c6ce46d60de2cef; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < 7a54d31face626f62de415ebe77b43f76c3ffaf4; >= feff2e65efd8d84cf831668e182b2ce73c604bbb, < b58652db66c910c2245f5bee7deca41c12d707b9; f0e1c1d8ff908a39dd42e723d08f104505dfa601; 184c8ab5342450c4ae6fc5d937f9bb06c620dcf1; >= 4.19.257, < 4.20; >= 5.4.212, < 5.5; Linux 5.10.

Is there a fix for CVE-2024-41023?

Yes. Fixed in Linux 8acaaeb484097f46c93bb6c3f836d1c1c07fcbdc, Linux 7a54d31face626f62de415ebe77b43f76c3ffaf4, Linux 4.20, Linux 5.5. Upgrade Linux to 5.5 or later.

How do I check if I'm affected by CVE-2024-41023?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors