HIGH · CVSS 7.8 Published: 2025-04-01
CVE-2025-21965 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-21965 |
|---|---|
| Base Severity / Score | HIGH (7.8 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Weakness Classification | CWE-476 |
| Archive Categories | HIGH Advisories · 2025 Index |
Operational Mitigation Guidance
Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://git.kernel.org/stable/c/515680e76c536dd4aa8e2b5d674b0d441baddf5b
- https://git.kernel.org/stable/c/752b56bb76e2471197d25d6948d85753043b10da
- https://git.kernel.org/stable/c/9360dfe4cbd62ff1eb8217b815964931523b75b3
Related Security Advisories
CVE-2025-21964 MEDIUM 5.5
CVE-2025-21966 HIGH 7.8
CVE-2025-21967 HIGH 8.8
CVE-2025-21968 HIGH 7.8
CVE-2025-21969 HIGH 8.8
CVE-2025-21970 HIGH 7.8
CVE-2025-21971 HIGH 7.8