cbcvebase.
CVE-2025-38012
published 2025-06-18

CVE-2025-38012: 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…

PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.17%
6.2th percentile
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.

Affected

15 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.12.30-1 (forky)linux 6.12.30-1 (forky)
linuxlinux
linuxlinux>= 650ba21b131ed1f8ee57826b2c6295a3be221132 < 0102989af4c334d1d98b2a0fd4d61a5152e39b720102989af4c334d1d98b2a0fd4d61a5152e39b72
linuxlinux>= 650ba21b131ed1f8ee57826b2c6295a3be221132 < 255dd31bfc4a67a19b1fc2cd130a50284dadfe3a255dd31bfc4a67a19b1fc2cd130a50284dadfe3a
linuxlinux>= 650ba21b131ed1f8ee57826b2c6295a3be221132 < 428dc9fc0873989d73918d4a9cc22745b7bbc799428dc9fc0873989d73918d4a9cc22745b7bbc799
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.12.30-16.12.30-1
linuxlinux_kernel>= 0 < 6.12.30-16.12.30-1
linuxlinux_kernel>= 6.12 < 6.12.306.12.30
linuxlinux_kernel>= 6.13 < 6.14.86.14.8

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian5.5LOW
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.