# s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again

CVE record · `CVE-2025-38489`

- **Identifiers:** `CVE-2025-38489`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 28 Jul 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 28 Jul 2025, 11:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `c3062bdb859b6e2567e7f5c8cde20c0250bb130f to before 0c7b20f7785cfdd59403333612c90b458b12307c` (git)
  - affected: `7ded842b356d151ece8ac4985940438e6d3998bb to before d5629d1af0600f8cc7c9245e8d832a66358ef889` (git)
  - affected: `7ded842b356d151ece8ac4985940438e6d3998bb to before a4f9c7846b1ac428921ce9676b1b8c80ed60093c` (git)
  - affected: `7ded842b356d151ece8ac4985940438e6d3998bb to before 6a5abf8cf182f577c7ae6c62f14debc9754ec986` (git)
  - affected: `d3d74e45a060d218fe4b0c9174f0a77517509d8e` (git)
  - affected: `6.6.26 to before 6.6.100` (semver)
  - affected: `6.8.5 to before 6.9` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.9`
  - unaffected: `before 6.9` (semver)
  - unaffected: `6.6.100 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.40 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.8 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Linux kernel's s390 BPF JIT, in bpf_arch_text_poke(), has a fix that was accidentally removed by a later change, which caused intermittent kernel panics when BPF programs such as perf's on_switch() were attached. The source describes the bug only briefly and does not give an attacker-side trigger or privilege requirement. Fixed versions are listed by kernel branch in the CNA data; upgrade to a fixed kernel release for your branch, such as 6.6.100 or later in the 6.6 series, 6.12.40 or later, 6.15.8 or later, or 6.16 or later.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0017, the 6th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 28 Jul 2025, 11:21 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38489)
- 28 Jul 2025, 12:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38489)

## Sources

- [CVE List: CVE-2025-38489](https://www.cve.org/CVERecord?id=CVE-2025-38489)
- [NVD: CVE-2025-38489](https://nvd.nist.gov/vuln/detail/CVE-2025-38489)

### References from the CNA

- <https://git.kernel.org/stable/c/0c7b20f7785cfdd59403333612c90b458b12307c>
- <https://git.kernel.org/stable/c/d5629d1af0600f8cc7c9245e8d832a66358ef889>
- <https://git.kernel.org/stable/c/a4f9c7846b1ac428921ce9676b1b8c80ed60093c>
- <https://git.kernel.org/stable/c/6a5abf8cf182f577c7ae6c62f14debc9754ec986>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-38489>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-38489/>. Everything for agents: <https://agentprime.io/llms.txt>.
