Skip to main content

Linux Kernel CVE-2025-68208

HIGH
2025-12-16 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain BPF load capability (CAP_BPF/unpriv BPF)
  2. Delivery
    Craft eBPF program with mismatched stack-frame callsite
  3. Exploit
    Submit program to verifier
  4. Execution
    Trigger OOB in widen_imprecise_scalars()
  5. Impact
    Leak or corrupt kernel stack state

Vulnerability Assessment

Exploitation Conditions

Requires the ability to load eBPF programs into the kernel - practically CAP_BPF or CAP_SYS_ADMIN, or a system where unprivileged eBPF is enabled (kernel.unprivileged_bpf_disabled=0). The specific trigger is an eBPF program that invokes a subprogram from a single shared callsite with differing stack-frame sizes across invocations, combined with an iterator-based loop, so that a previously explored ancestor state has a larger allocated_stack than the newly queued state processed by widen_imprecise_scalars(). Limiting factors: exploitation is local only (AV:L), requires BPF-load privilege, and on default-hardened distributions unprivileged BPF is disabled, substantially narrowing the exploitable population to privileged or misconfigured hosts and capability-granted containers. No user interaction is required (UI:N).

Impact

The NVD CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8) reflects a local, low-complexity, low-privilege issue with high confidentiality, integrity and availability impact - consistent with a memory-safety bug in a privileged kernel subsystem. However, the practical attack surface hinges on whether the target permits eBPF program loading: on most modern distributions unprivileged eBPF is disabled by default (kernel.unprivileged_bpf_disabled=1), meaning exploitation realistically requires CAP_BPF/CAP_SYS_ADMIN, which raises the true privilege bar above what PR:L alone conveys. EPSS is low (0.17%, 7th percentile) and there is no KEV listing and no public exploit identified, so this is not an active-exploitation priority. The tag 'Information Disclosure' and the out-of-bounds nature suggest the most likely observable impact is kernel memory leakage or a crash (DoS) rather than turnkey code execution, though OOB access in verifier state metadata could be chained toward escalation. Net: a genuine local memory-safety bug worth patching in the normal kernel-update cadence, not an emergency. Note the conflict to verify: the C:H/I:H rating implies memory corruption / EoP potential, while the description and tag emphasize an out-of-bounds access consistent with disclosure - confirm the achievable impact against the kernel maintainers' assessment.

Exploit ScenarioDerived

A local user (or a container/service process granted CAP_BPF) submits a crafted eBPF program whose control flow calls the same helper/subprogram from one callsite with two differently sized stack frames - one path allocating a large frame, the other a small one. When the verifier widens imprecise scalars from the larger ancestor state onto the smaller queued state, it indexes the stack slot array out of bounds, leaking adjacent kernel memory or corrupting verifier state. No public exploit code has been identified, and the low CVSS attack complexity reflects that the triggering program is deterministic to construct given BPF-load privileges.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Out-of-bounds memory access in the Linux kernel's eBPF verifier (widen_imprecise_scalars()) allows a local actor able to load eBPF programs to read or corrupt kernel memory beyond the bpf_verifier_state stack array. The flaw arises because the verifier assumed an ancestor state (prev_st) shares the same allocated_stack depth as a newly queued state (queued_st), which is false when the same callsite is invoked with differently sized stack frames. No public exploit has been identified at time of analysis; EPSS risk is low (0.17%, 7th percentile) and the issue has been resolved upstream.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the kernel update from your distribution that incorporates the fix commits (git.kernel.org/stable/c/57e04e2ff56e32f923154f0f7bc476fcb596ffe7, /64b12dca2b0abcb5fc0542887d18b926ea5cf711, /9944c7938cd5b3f37b0afec0481c7c015e4f1c58, /b0c8e6d3d866b6a7f73877f71968dbffd27b7785). Because these are stable-tree commits rather than a single tagged release, track your distribution's security advisory for the corresponding backported kernel package version and reboot into the patched kernel. As a compensating control until patched, ensure unprivileged eBPF is disabled by setting sysctl kernel.unprivileged_bpf_disabled=1 (or =2), which prevents non-privileged users from loading BPF programs and reaching the vulnerable verifier path - trade-off: this can break legitimate unprivileged BPF workloads such as some seccomp/observability tooling. Where feasible, further restrict CAP_BPF/CAP_SYS_ADMIN to trusted service accounts and constrain container capabilities (drop CAP_BPF/CAP_SYS_ADMIN in unneeded workloads), noting this may disable in-container tracing or networking eBPF features.

Affected ProductsAI

The Linux kernel BPF subsystem is affected in versions containing widen_imprecise_scalars() prior to the fix. No specific version range or CPE was provided in the input; affected releases are those before the stable trees represented by the fix commits at git.kernel.org (57e04e2ff56e, 64b12dca2b0a, 9944c7938cd5, b0c8e6d3d866). The four separate stable-branch commits indicate the fix was backported across multiple maintained kernel series. Exact vulnerable version boundaries should be confirmed from each stable branch's changelog, as NVD supplied no CPE match data.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the Berkeley Packet Filter (eBPF) verifier, the in-kernel static analyzer that validates BPF bytecode before JIT compilation and execution. During state-space exploration the verifier widens imprecise scalar values from a previously explored ancestor state onto a newly pushed state via widen_imprecise_scalars(). Each verifier state tracks per-frame register and stack slot state in bpf_verifier_state->frame[*]->stack, whose size is governed by allocated_stack. Because a shared callsite can be reached with different stack depths (e.g. one code path uses 128 bytes and another much less), the ancestor's allocated_stack can exceed the queued state's, and iterating over the larger bound indexes the smaller state's stack array out of bounds. The root cause class is a classic out-of-bounds access (CWE-125/CWE-787 family; NVD lists CWE as N/A) driven by an incorrect array-bounds assumption. Affected code is the kernel BPF subsystem itself, so any kernel build with BPF enabled contains the vulnerable logic prior to the fix commits.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local eBPF load privilege gives PR:L and AV:L; program construction is deterministic (AC:L); OOB in kernel verifier state yields high memory-safety impact across C/I/A.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 6.0 MEDIUM
AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A privilege escalation vulnerability in the Linux kernel's eBPF verifier (CVE-2025-68208) enables local attackers with eBPF loading capability to breach kernel memory boundaries; no public exploit identified at time of analysis. Organizations operating Kubernetes clusters and containerized infrastructure should assess their eBPF exposure, as kernel memory corruption could undermine multi-tenant isolation and enable system compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce Linux capability restrictions on eBPF loading (cap_sys_admin requirement); deploy mandatory access controls via SELinux or AppArmor to limit eBPF operations; implement audit logging and alerting for eBPF program load attempts; disable eBPF on systems where not operationally required; maintain network and access-control segregation to limit which users can load eBPF programs.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel BPF subsystem present in virtually all Linux deployments
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.95 Image SL-Micro Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.115 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.0/toolbox:latest Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy