VDB

CVE-2025-68208

CVE-2025-68208 PUBLISHED CVSS 7.8 HIGH

bpf: account for current allocated stack depth in widen_imprecise_scalars()

Reported by linux · Published December 16, 2025

In the Linux kernel, the following vulnerability has been resolved: bpf: account for current allocated stack depth in widen_imprecise_scalars() The usage pattern for widen_imprecise_scalars() looks as follows: prev_st = find_prev_entry(env, ...); queued_st = push_stack(...); widen_imprecise_scalars(env, prev_st, queued_st); Where prev_st is an ancestor of the queued_st in the explored states tree. This ancestor is not guaranteed to have same allocated stack depth as queued_st. E.g. in the following case: def main(): for i in 1..2: foo(i) // same callsite, differnt param def foo(i): if i == 1: use 128 bytes of stack iterator based loop Here, for a second 'foo' call prev_st->allocated_stack is 128, while queued_st->allocated_stack is much smaller. widen_imprecise_scalars() needs to take this into account and avoid accessing bpf_verifier_state->frame[*]->stack out of bounds.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.12.63-84.121Amazon Linux1:1.0-0.amzn2023
bpftool6.12Amazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-headersAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-develAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-libbpfAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12-libbpf-staticAmazon Linux1:6.12.63-84.121.amzn2023
kernel6.12Amazon Linux1:6.12.63-84.121.amzn2023
linux_kernellinux6.18, 6.17.9, 6.12.59, 6.6.117
LinuxLinux57e04e2ff56e32f923154f0f7bc476fcb596ffe7

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxab470fefce2837e66b771c60858118d50bb5bb10, 2793a8b015f7f1caadb9bce9c63dc659f7522676, 2793a8b015f7f1caadb9bce9c63dc659f7522676
LinuxLinux6.7, 0, 6.6.117
amazon:2023kernel-livepatch-6.12.63-84.1210
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-tools0
linuxlinux_kernel6.7, 6.7, 6.6.15
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.120
LinuxLinux6.6.15, 6.18, 6.6.117
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023python3-perf6.120
amazon:2023perf6.120

Timeline

  • Dec 16, 2025 CVE Published
  • Dec 17, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (205 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (211 in total, the first dated here)
  • Jul 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-68208
vulnetix vdb fixes CVE-2025-68208

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68208/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›