CVE-2025-21965

MEDIUM

Linux Kernel 6.12-6.12.19, 6.13-6.13.7 - Null Pointer Dereference in scx_bpf_select_cpu_dfl

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 5.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (12)
linux/Kernel 6.12.0 - 6.12.20linux
linux/Kernel 6.13.0 - 6.13.8linux
Linux/Linux < 6.12
Linux/Linux 6.12
Linux/Linux 6.12.20 - 6.12.*
Linux/Linux 6.13.8 - 6.13.*
Linux/Linux 6.14
Linux/Linux f0e1a0643a59bf1f922fa209cec86a170b784f3f - 515680e76c536dd4aa8e2b5d674b0d441baddf5b
Linux/Linux f0e1a0643a59bf1f922fa209cec86a170b784f3f - 752b56bb76e2471197d25d6948d85753043b10da
Linux/Linux f0e1a0643a59bf1f922fa209cec86a170b784f3f - 9360dfe4cbd62ff1eb8217b815964931523b75b3
... and 2 more
Published Apr 01, 2025
Tracked Since Feb 18, 2026