# CVE-2025-38280: bpf: Avoid \_\_bpf\_prog\_ret0\_warn when jit fails

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **Published:** 2025-07-10T07:41:58.853Z
- **Modified:** 2026-11-05T21:18:24.220Z

## Who should check

- Anyone running Linux \>= fa9dd599b4dae841924b022768354cfde9affecb, \< e7fb4ebee6e900899d2b2e5852c3e2eafcbcad66; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< ef92b96530d1731d9ac167bc7c193c683cd78fff; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 6f639c25bfad17d9fd7379ab91ff9678ea9aac85; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 2bc6dffb4b72d53d6a6ada510269bf548c3f7ae0; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 0b9bb52796b239de6792d0d68cdc6eb505ebff96; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 86bc9c742426a16b52a10ef61f5b721aecca2344; 5124abda3060e2eab506fb14a27acadee3c3e396; 234646dcfc5f531c74ab20595e89eacd62e3611f; \>= 4.9.190, \< 4.10; \>= 4.14.140, \< 4.15
- Anyone running Linux 4.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Avoid \_\_bpf\_prog\_ret0\_warn when jit fails

syzkaller reported an issue:

WARNING: CPU: 3 PID: 217 at kernel/bpf/core.c:2357 \_\_bpf\_prog\_ret0\_warn+0xa/0x20 kernel/bpf/core.c:2357
Modules linked in:
CPU: 3 UID: 0 PID: 217 Comm: kworker/u32:6 Not tainted 6.15.0-rc4-syzkaller-00040-g8bac8898fe39
RIP: 0010:\_\_bpf\_prog\_ret0\_warn+0xa/0x20 kernel/bpf/core.c:2357
Call Trace:
 \<TASK\>
 bpf\_dispatcher\_nop\_func include/linux/bpf.h:1316 \[inline\]
 \_\_bpf\_prog\_run include/linux/filter.h:718 \[inline\]
 bpf\_prog\_run include/linux/filter.h:725 \[inline\]
 cls\_bpf\_classify+0x74a/0x1110 net/sched/cls\_bpf.c:105
 ...

When creating bpf program, 'fp-\>jit\_requested' depends on bpf\_jit\_enable.
This issue is triggered because of CONFIG\_BPF\_JIT\_ALWAYS\_ON is not set
and bpf\_jit\_enable is set to 1, causing the arch to attempt JIT the prog,
but jit failed due to FAULT\_INJECTION. As a result, incorrectly
treats the program as valid, when the program runs it calls
\`\_\_bpf\_prog\_ret0\_warn\` and triggers the WARN\_ON\_ONCE(1).

## Affected and fixed versions

- Linux: \>= fa9dd599b4dae841924b022768354cfde9affecb, \< e7fb4ebee6e900899d2b2e5852c3e2eafcbcad66; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< ef92b96530d1731d9ac167bc7c193c683cd78fff; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 6f639c25bfad17d9fd7379ab91ff9678ea9aac85; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 2bc6dffb4b72d53d6a6ada510269bf548c3f7ae0; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 0b9bb52796b239de6792d0d68cdc6eb505ebff96; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 86bc9c742426a16b52a10ef61f5b721aecca2344; 5124abda3060e2eab506fb14a27acadee3c3e396; 234646dcfc5f531c74ab20595e89eacd62e3611f; \>= 4.9.190, \< 4.10; \>= 4.14.140, \< 4.15 (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- Upgrade Linux to 4.15 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-38280. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38280.md
Affected: Linux >= fa9dd599b4dae841924b022768354cfde9affecb, < e7fb4ebee6e900899d2b2e5852c3e2eafcbcad66; >= fa9dd599b4dae841924b022768354cfde9affecb, < ef92b96530d1731d9ac167bc7c193c683cd78fff; >= fa9dd599b4dae841924b022768354cfde9affecb, < 6f639c25bfad17d9fd7379ab91ff9678ea9aac85; >= fa9dd599b4dae841924b022…
Fixed in: Linux 6f639c25bfad17d9fd7379ab91ff9678ea9aac85, Linux 2bc6dffb4b72d53d6a6ada510269bf548c3f7ae0, Linux 0b9bb52796b239de6792d0d68cdc6eb505ebff96, Linux 86bc9c742426a16b52a10ef61f5b721aecca2344, Linux 4.10, Linux 4.15

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-38280 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= fa9dd599b4dae841924b022768354cfde9affecb, \< e7fb4ebee6e900899d2b2e5852c3e2eafcbcad66; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< ef92b96530d1731d9ac167bc7c193c683cd78fff; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 6f639c25bfad17d9fd7379ab91ff9678ea9aac85; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 2bc6dffb4b72d53d6a6ada510269bf548c3f7ae0; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 0b9bb52796b239de6792d0d68cdc6eb505ebff96; \>= fa9dd599b4dae841924b022768354cfde9affecb, \< 86bc9c742426a16b52a10ef61f5b721aecca2344; 5124abda3060e2eab506fb14a27acadee3c3e396; 234646dcfc5f531c74ab20595e89eacd62e3611f; \>= 4.9.190, \< 4.10; \>= 4.14.140, \< 4.15; Linux 4.16.

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

Yes. Fixed in Linux 6f639c25bfad17d9fd7379ab91ff9678ea9aac85, Linux 2bc6dffb4b72d53d6a6ada510269bf548c3f7ae0, Linux 0b9bb52796b239de6792d0d68cdc6eb505ebff96, Linux 86bc9c742426a16b52a10ef61f5b721aecca2344, Linux 4.10, Linux 4.15. Upgrade Linux to 4.15 or later.

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

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

- patch: <https://git.kernel.org/stable/c/e7fb4ebee6e900899d2b2e5852c3e2eafcbcad66>
- patch: <https://git.kernel.org/stable/c/ef92b96530d1731d9ac167bc7c193c683cd78fff>
- patch: <https://git.kernel.org/stable/c/6f639c25bfad17d9fd7379ab91ff9678ea9aac85>
- patch: <https://git.kernel.org/stable/c/2bc6dffb4b72d53d6a6ada510269bf548c3f7ae0>
- patch: <https://git.kernel.org/stable/c/0b9bb52796b239de6792d0d68cdc6eb505ebff96>
- patch: <https://git.kernel.org/stable/c/86bc9c742426a16b52a10ef61f5b721aecca2344>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.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-38280>

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