CVE-2025-38012
Last modified
CVE-2025-38012 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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()). EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.12, < 6.12.30 | — |
| Linux | Linux Kernel | >= 6.13, < 6.14.8 | — |
| Linux | Linux Kernel | 6.15 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38012?
How severe is CVE-2025-38012?
How do I fix CVE-2025-38012?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38007In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38008In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-38009In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3801A vulnerability was found in songquanpeng one-api up to 0.6.…4.8
- CVE-2025-38010In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38011In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38013In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38014In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38015In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38016In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38017In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38018In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-38012?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
