CVE-2025-68208
kernel: bpf: account for current allocated stack depth in widen_imprecise_scalars()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 16, 2025
Updated · July 30, 2026
Description
An out-of-bounds access vulnerability was found in the BPF verifier in the Linux kernel. The widen_imprecise_scalars() function compares verifier states with different allocated stack depths without bounds checking. This can cause out-of-bounds stack array access when the ancestor state has larger stack allocation than the current state.
Statement
Exploiting this requires loading BPF programs with specific verifier state patterns. CAP_BPF or equivalent privileges are needed to load BPF programs, limiting the attack surface.
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.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-805 · Buffer Access with Incorrect Length Value