CVE-2025-40260: Linux kernel · sched_ext: Fix scx_enable() crash on helper kthread creation failure
Source GCVE Database
Not known to be exploited.
Data as of 25 Nov 2026, 03:39 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Exploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to properly handle error pointers returned by kthread_run_worker() in scx_alloc_and_add_sched(). Users should apply the updated kernel version containing this fix once available. No other mitigation steps are indicated.
Description
A vulnerability in the Linux kernel's sched_ext subsystem caused a crash when the helper kernel thread creation failed. This occurred because the error handling in scx_alloc_and_add_sched() did not correctly check for error pointers returned by kthread_run_worker(), leading to a null pointer dereference and kernel crash. The issue was fixed by improving error propagation to avoid dereferencing invalid pointers.