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-38012MEDIUM
Linux Linux — sched_ext: bpf_iter_scx_dsq_new() should always initialize iterator
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  N  N  H    5.5   .0017    7.0     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    650ba21b131ed1f8ee57826b2c6295a3be221132 –  —
  Linux    6.12 –                                      6.12.30
TIMELINE
  Apr 16  Reserved by Linux
  Jun 18  Published (CNA: Linux)
  Jul 30  RESCORED — CVE-2025-38012 (Linux). CVSS 7.8 → 5.5 (NVD).
CWE-908 · CNA: Linux · CVSS v3.1 · 3 references · NVD status: Modified

Description

In the Linux kernel, the following vulnerability has been resolved: sched_ext: bpf_iter_scx_dsq_new() should always initialize iterator BPF programs may call next() and destroy() on BPF iterators even after new() returns an error value (e.g. bpf_for_each() macro ignores error returns from new()). bpf_iter_scx_dsq_new() could leave the iterator in an uninitialized state after an error return causing bpf_iter_scx_dsq_next() to dereference garbage data. Make bpf_iter_scx_dsq_new() always clear $kit->dsq so that next() and destroy() become noops.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
April 16, 2025ReservedReserved by Linux
June 18, 2025PublishedPublished (CNA: Linux)
July 30, 2026RESCOREDRESCORED — CVE-2025-38012 (Linux). CVSS 7.8 → 5.5 (NVD).

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinux650ba21b131ed1f8ee57826b2c6295a3be221132
LinuxLinux6.126.12.30

Weaknesses

CWE-908

References (3)

Related

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

Vendors: linux

Weaknesses: CWE-908

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2025-38012 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.