CVE-2025-40260
publishedsched_ext: Fix scx_enable() crash on helper kthread creation failure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbff3b5aec1b727b620adc7c47085592802390125 to < 625e173e2a59b6cf6cbfb51c0a6bea47f3861eab · bff3b5aec1b727b620adc7c47085592802390125 to < 7b6216baae751369195fa3c83d434d23bcda406a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.17.10 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-6.17 | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-aws-6.17-cloud-tools-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-aws-6.17-headers-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-aws-6.17-tools-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-6.17 | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-azure-6.17-cloud-tools-6.17.0-1010 | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-azure-6.17-headers-6.17.0-1010 | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-azure-6.17-tools-6.17.0-1010 | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-gcp-64k | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-oracle | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1009-oracle-64k | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-19-generic-64k | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-gcp-6.17 | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-gcp-6.17-headers-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-gcp-6.17-tools-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-headers-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-headers-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-headers-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-headers-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-headers-6.17.0-1009-gcp-64k | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-headers-6.17.0-1009-oracle | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-headers-6.17.0-1009-oracle-64k | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-headers-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-headers-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-headers-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-headers-6.17.0-19-generic-64k | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-hwe-6.17 | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-hwe-6.17-cloud-tools-6.17.0-19 | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-hwe-6.17-headers-6.17.0-19 | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-hwe-6.17-tools-6.17.0-19 | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-image-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-gcp-64k | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-oracle | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1009-oracle-64k | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-19-generic-64k | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-lib-rust-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-modules-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-modules-6.17.0-1009-gcp-64k | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-modules-6.17.0-1009-oracle | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-1009-oracle-64k | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-modules-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-6.17.0-19-generic-64k | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-evdi-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-aws-64k | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-gcp | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-gcp-64k | Advisory build | 6.17.0-1009.9~24.04.3 | USN-8094-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-oracle | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1009-oracle-64k | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1010-azure | Advisory build | 6.17.0-1010.10~24.04.1 | USN-8094-4 |
| Ubuntu | noble | linux-modules-extra-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-1017-oem | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-19-generic | Advisory build | 6.17.0-19.19~24.04.2 | USN-8094-1 |
| Ubuntu | noble | linux-oem-6.17 | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-oem-6.17-headers-6.17.0-1017 | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-oem-6.17-tools-6.17.0-1017 | Advisory build | 6.17.0-1017.17 | USN-8152-1 |
| Ubuntu | noble | linux-oracle-6.17 | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-oracle-6.17-headers-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-oracle-6.17-tools-6.17.0-1009 | Advisory build | 6.17.0-1009.9~24.04.1 | USN-8094-1 |
| Ubuntu | noble | linux-realtime-6.17 | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-realtime-6.17-cloud-tools-6.17.0-1008 | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-realtime-6.17-headers-6.17.0-1008 | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-realtime-6.17-tools-6.17.0-1008 | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-tools-6.17.0-1008-realtime | Advisory build | 6.17.0-1008.9~24.04.1 | USN-8094-3 |
| Ubuntu | noble | linux-tools-6.17.0-1009-aws | Advisory build | 6.17.0-1009.9~24.04.2 | USN-8094-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix scx_enable() crash on helper kthread creation failure A crash was observed when the sched_ext selftests runner was terminated with Ctrl+\ while test 15 was running: NIP [c00000000028fa58] scx_enable.constprop.0+0x358/0x12b0 LR [c00000000028fa2c] scx_enable.constprop.0+0x32c/0x12b0 Call Trace: scx_enable.constprop.0+0x32c/0x12b0 (unreliable) bpf_struct_ops_link_create+0x18c/0x22c __sys_bpf+0x23f8/0x3044 sys_bpf+0x2c/0x6c system_call_exception+0x124/0x320 system_call_vectored_common+0x15c/0x2ec kthread_run_worker() returns an ERR_PTR() on failure rather than NULL, but the current code in scx_alloc_and_add_sched() only checks for a NULL helper. Incase of failure on SIGQUIT, the error is not handled in scx_alloc_and_add_sched() and scx_enable() ends up dereferencing an error pointer. Error handling is fixed in scx_alloc_and_add_sched() to propagate PTR_ERR() into ret, so that scx_enable() jumps to the existing error path, avoiding random dereference on failure.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | bff3b5aec1b727b620adc7c47085592802390125 to < 625e173e2a59b6cf6cbfb51c0a6bea47f3861eab (affected · git)bff3b5aec1b727b620adc7c47085592802390125 to < 7b6216baae751369195fa3c83d434d23bcda406a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.17.10 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
sched_ext: Fix scx_enable() crash on helper kthread creation failure
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a44560945844e4c1b753007cacc308e615b3318e2b024cc466c19d72917655ca
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record