PT-2025-25787 · Linux+4 · Linux Kernel+4
Published
2025-05-05
·
Updated
2026-02-05
·
CVE-2025-38012
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A vulnerability in the Linux kernel has been identified where BPF programs may call next() and destroy() on BPF iterators even after new() returns an error value. This could cause bpf iter scx dsq new() to leave the iterator in an uninitialized state, leading to bpf iter scx dsq next() dereferencing garbage data. The issue is resolved by making bpf iter scx dsq new() always clear $kit->dsq, ensuring next() and destroy() become noops.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use of Uninitialized Resource
Access of Uninitialized Pointer
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu