CVE-2025-21965NULL Pointer Dereference in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 84.93%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel6.126.12.20+2
Debianlinux/linux_kernel< 6.12.20-1+1
CVEListV5linux/linuxf0e1a0643a59bf1f922fa209cec86a170b784f3f752b56bb76e2471197d25d6948d85753043b10da+3
debiandebian/linux< linux 6.12.20-1 (forky)

Patches

🔴Vulnerability Details

2
OSV
CVE-2025-21965: 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 provid2025-04-01
GHSA
GHSA-9gr8-3pvc-4w93: 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 prov2025-04-01

📋Vendor Advisories

2
Red Hat
kernel: sched_ext: Validate prev_cpu in scx_bpf_select_cpu_dfl()2025-04-01
Debian
CVE-2025-21965: linux - In the Linux kernel, the following vulnerability has been resolved: sched_ext: ...2025
CVE-2025-21965 — NULL Pointer Dereference in Linux | cvebase