CVE-2025-21965
MEDIUM EPSS 5.7%
Published Apr 1, 20251y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Published Apr 1, 2025 1y ago
Last Modified Jun 17, 2026 1w ago
Description
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Validate prev_cpu in scx_bpf_select_cpu_dfl() If a BPF scheduler provides an invalid CPU (outside the nr_cpu_ids range) as prev_cpu to scx_bpf_select_cpu_dfl() it can cause a kernel crash. To prevent this, validate prev_cpu in scx_bpf_select_cpu_dfl() and trigger an scx error if an invalid CPU is specified.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
5.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-476 NULL Pointer Dereference Memory Safety
Affected Products 8
References 3
- git.kernel.org https://git.kernel.org/stable/c/515680e76c536dd4aa8e2b5d674b0d441baddf5b
- git.kernel.org https://git.kernel.org/stable/c/752b56bb76e2471197d25d6948d85753043b10da
- git.kernel.org https://git.kernel.org/stable/c/9360dfe4cbd62ff1eb8217b815964931523b75b3
Remediation
- git.kernel.org https://git.kernel.org/stable/c/515680e76c536dd4aa8e2b5d674b0d441baddf5b
- git.kernel.org https://git.kernel.org/stable/c/752b56bb76e2471197d25d6948d85753043b10da
- git.kernel.org https://git.kernel.org/stable/c/9360dfe4cbd62ff1eb8217b815964931523b75b3