CVE-2025-68208
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.12.63-84.121 | Amazon Linux | 1:1.0-0.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12-libbpf-static | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.63-84.121.amzn2023 |
| linux_kernel | linux | 6.18, 6.17.9, 6.12.59, 6.6.117 |
| Linux | Linux | 57e04e2ff56e32f923154f0f7bc476fcb596ffe7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ab470fefce2837e66b771c60858118d50bb5bb10, 2793a8b015f7f1caadb9bce9c63dc659f7522676, 2793a8b015f7f1caadb9bce9c63dc659f7522676 |
| Linux | Linux | 6.7, 0, 6.6.117 |
| amazon:2023 | kernel-livepatch-6.12.63-84.121 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| linux | linux_kernel | 6.7, 6.7, 6.6.15 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.12 | 0 |
| Linux | Linux | 6.6.15, 6.18, 6.6.117 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
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