boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2025-21965MEDIUM
Linux Linux — sched_ext: Validate prev_cpu in scx_bpf_select_cpu_dfl()
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  N  N  H    5.5   .0019    8.7     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    f0e1a0643a59bf1f922fa209cec86a170b784f3f –  —
  Linux    6.12 –                                      6.12.20
TIMELINE
  Dec 29  Reserved by Linux
  Apr 1   Published (CNA: Linux)
  Jul 30  RESCORED — CVE-2025-21965 (Linux). CVSS 7.8 → 5.5 (NVD).
CWE-476 · CNA: Linux · CVSS v3.1 · 3 references · NVD status: Modified

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.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
December 29, 2024ReservedReserved by Linux
April 1, 2025PublishedPublished (CNA: Linux)
July 30, 2026RESCOREDRESCORED — CVE-2025-21965 (Linux). CVSS 7.8 → 5.5 (NVD).

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinuxf0e1a0643a59bf1f922fa209cec86a170b784f3f
LinuxLinux6.126.12.20

Weaknesses

CWE-476

References (3)

Related

Authoritative record: CVE-2025-21965 at cve.org

Vendors: linux

Weaknesses: CWE-476

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2025-21965 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.