# CVE-2025-68742: bpf: Fix invalid prog-\>stats access when update\_effective\_progs fails

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.31% (percentile 17, 2026-11-28)
- **Published:** 2025-12-24T12:09:39.341Z
- **Modified:** 2026-11-10T13:17:59.040Z

## Who should check

- Anyone running Linux \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 93d1964773ff513c9bd530f7686d3e48b786fa6b; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< bf2c990b012100610c0f1ec5c4ea434da2d080c2; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 539137e3038ce6f953efd72110110f03c14c7d97; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 56905bb70c8b88421709bb4e32fcba617aa37d41; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 2579c356ccd35d06238b176e4b460978186d804b; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 7dc211c1159d991db609bdf4b0fb9033c04adcbc
- Anyone running Linux 5.1

## 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.

## Affected and fixed versions

- Linux: \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 93d1964773ff513c9bd530f7686d3e48b786fa6b; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< bf2c990b012100610c0f1ec5c4ea434da2d080c2; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 539137e3038ce6f953efd72110110f03c14c7d97; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 56905bb70c8b88421709bb4e32fcba617aa37d41; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 2579c356ccd35d06238b176e4b460978186d804b; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 7dc211c1159d991db609bdf4b0fb9033c04adcbc (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 7dc211c1159d991db609bdf4b0fb9033c04adcbc or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68742. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68742.md
Affected: Linux >= 492ecee892c2a4ba6a14903d5d586ff750b7e805, < 93d1964773ff513c9bd530f7686d3e48b786fa6b; >= 492ecee892c2a4ba6a14903d5d586ff750b7e805, < bf2c990b012100610c0f1ec5c4ea434da2d080c2; >= 492ecee892c2a4ba6a14903d5d586ff750b7e805, < 539137e3038ce6f953efd72110110f03c14c7d97; >= 492ecee892c2a4ba6a14903…
Fixed in: Linux 93d1964773ff513c9bd530f7686d3e48b786fa6b, Linux 539137e3038ce6f953efd72110110f03c14c7d97, Linux 56905bb70c8b88421709bb4e32fcba617aa37d41, Linux 2579c356ccd35d06238b176e4b460978186d804b, Linux 7dc211c1159d991db609bdf4b0fb9033c04adcbc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68742 being exploited?

There is no confirmed exploitation: CVE-2025-68742 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-68742?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68742?

Linux \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 93d1964773ff513c9bd530f7686d3e48b786fa6b; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< bf2c990b012100610c0f1ec5c4ea434da2d080c2; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 539137e3038ce6f953efd72110110f03c14c7d97; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 56905bb70c8b88421709bb4e32fcba617aa37d41; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 2579c356ccd35d06238b176e4b460978186d804b; \>= 492ecee892c2a4ba6a14903d5d586ff750b7e805, \< 7dc211c1159d991db609bdf4b0fb9033c04adcbc; Linux 5.1.

### Is there a fix for CVE-2025-68742?

Yes. Fixed in Linux 93d1964773ff513c9bd530f7686d3e48b786fa6b, Linux 539137e3038ce6f953efd72110110f03c14c7d97, Linux 56905bb70c8b88421709bb4e32fcba617aa37d41, Linux 2579c356ccd35d06238b176e4b460978186d804b, Linux 7dc211c1159d991db609bdf4b0fb9033c04adcbc. Upgrade Linux to 7dc211c1159d991db609bdf4b0fb9033c04adcbc or later.

### How do I check if I'm affected by CVE-2025-68742?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/93d1964773ff513c9bd530f7686d3e48b786fa6b>
- other: <https://git.kernel.org/stable/c/bf2c990b012100610c0f1ec5c4ea434da2d080c2>
- other: <https://git.kernel.org/stable/c/539137e3038ce6f953efd72110110f03c14c7d97>
- other: <https://git.kernel.org/stable/c/56905bb70c8b88421709bb4e32fcba617aa37d41>
- other: <https://git.kernel.org/stable/c/2579c356ccd35d06238b176e4b460978186d804b>
- other: <https://git.kernel.org/stable/c/7dc211c1159d991db609bdf4b0fb9033c04adcbc>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68742>

HTML: <https://flawdb.com/CVE-2025-68742> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68742>
