7.8

CVE-2025-38012: linux Use of Uninitialized Resource

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2025-38012DEBIAN-CVE-2025-38012
Published 18-06-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-38012 is a high (CVSS 7.8) Use of Uninitialized Resource vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.20%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 3

Timeline

  1. 18-06-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

0.00 pp

From 0.20% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.20%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu83 products
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
  • linux-aws-5.13All versions (No fix recorded)
  • linux-aws-5.19All versions (No fix recorded)
Linux2 products
  • linux≥ 650ba21b131ed1f8ee57826b2c6295a3be221132, < 0102989af4c334d1d98b2a0fd4d61a5152e39b72 | ≥ 650ba21b131ed1f8ee57826b2c6295a3be221132, < 255dd31bfc4a67a19b1fc2cd130a50284dadfe3a | ≥ 650ba21b131ed1f8ee57826b2c6295a3be221132, < 428dc9fc0873989d73918d4a9cc22745b7bbc799 | 6.12
  • linux_kernel≥ 6.12, < 6.12.30 | ≥ 6.13, < 6.14.8 | 6.15:rc1 | 6.15:rc2 | 6.15:rc3 | 6.15:rc4 | 6.15:rc5 | 6.15:rc6
Debian1 product
  • linux< 6.12.30-1

3 vendors · 86 products

References

10 links