CVE-2025-68742 Details
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix invalid prog->stats access when update_effective_progs fails Syzkaller triggers an invalid memory access issue following fault injection in update_effective_progs. The issue can be described as follows: __cgroup_bpf_detach update_effective_progs compute_effective_progs bpf_prog_array_alloc <-- fault inject purge_effective_progs /* change to dummy_bpf_prog */ array->items[index] = &dummy_bpf_prog.prog ---softirq start--- __do_softirq ... __cgroup_bpf_run_filter_skb __bpf_prog_run_save_cb bpf_prog_run stats = this_cpu_ptr(prog->stats) /* invalid memory access */ flags = u64_stats_update_begin_irqsave(&stats->syncp) ---softirq end--- static_branch_dec(&cgroup_bpf_enabled_key[atype]) The reason is that fault injection caused update_effective_progs to fail and then changed the original prog into dummy_bpf_prog.prog in purge_effective_progs. Then a softirq came, and accessing the members of dummy_bpf_prog.prog in the softirq triggers invalid mem access. To fix it, skip updating stats when stats is NULL.
A vulnerability in the Linux kernel's BPF (Berkeley Packet Filter) implementation has been identified, which leads to invalid memory access. This issue arises when the 'update_effective_progs' function fails, allowing a fault injection to occur. The problem is triggered during the execution of a softirq (software interrupt), where the BPF program's statistics are accessed. If the statistics pointer is null, it results in an invalid memory access, potentially causing a crash or other unintended behavior.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-019113.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-457936.html | siemens-SADP | |
| https://git.kernel.org/stable/c/2579c356ccd35d06238b176e4b460978186d804b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/539137e3038ce6f953efd72110110f03c14c7d97 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/56905bb70c8b88421709bb4e32fcba617aa37d41 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/7dc211c1159d991db609bdf4b0fb9033c04adcbc | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/93d1964773ff513c9bd530f7686d3e48b786fa6b | kernel.org | |
| https://git.kernel.org/stable/c/bf2c990b012100610c0f1ec5c4ea434da2d080c2 | kernel.org |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Modified | siemens-SADP |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 11, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion