CVE Database›CVE-2025-38012

CVE-2025-38012

kernel: sched_ext: bpf_iter_scx_dsq_new() should always initialize iterator

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · June 18, 2025

Updated · October 21, 2026

Description

A flaw was found in the Linux kernel sched_ext BPF iterator. bpf_iter_scx_dsq_new() can return an error without clearing the iterator, and a later next() call dereferences that uninitialized state. A local user who can load that BPF program can crash the kernel.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-824 · Access of Uninitialized Pointer