CVE-2025-21965

MEDIUM EPSS 5.7%
Published Apr 1, 20251y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
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
5.5
Exploitability
1.8
Impact
3.6
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

VendorProductVersionRange
linuxlinux_kernel*≥6.12  –  <6.12.20
linuxlinux_kernel*≥6.13  –  <6.13.8
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any

References 3

  • git.kernel.org https://git.kernel.org/stable/c/515680e76c536dd4aa8e2b5d674b0d441baddf5b
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/752b56bb76e2471197d25d6948d85753043b10da
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/9360dfe4cbd62ff1eb8217b815964931523b75b3
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/515680e76c536dd4aa8e2b5d674b0d441baddf5b
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/752b56bb76e2471197d25d6948d85753043b10da
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/9360dfe4cbd62ff1eb8217b815964931523b75b3
    Patch