# CVE-2025-38489: s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-07-28T11:21:53.024Z
- Modified: 2026-11-05T21:18:33.420Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

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

Commit 7ded842b356d ("s390/bpf: Fix bpf_plt pointer arithmetic") has
accidentally removed the critical piece of commit c730fce7c70c
("s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL"), causing
intermittent kernel panics in e.g. perf's on_switch() prog to reappear.

Restore the fix and add a comment.

(As written by CVE List.)

## Affected

- Linux Linux: from c3062bdb859b6e2567e7f5c8cde20c0250bb130f before 0c7b20f7785cfdd59403333612c90b458b12307c; from 7ded842b356d151ece8ac4985940438e6d3998bb before d5629d1af0600f8cc7c9245e8d832a66358ef889; from 7ded842b356d151ece8ac4985940438e6d3998bb before a4f9c7846b1ac428921ce9676b1b8c80ed60093c; from 7ded842b356d151ece8ac4985940438e6d3998bb before 6a5abf8cf182f577c7ae6c62f14debc9754ec986; d3d74e45a060d218fe4b0c9174f0a77517509d8e; from 6.6.26 before 6.6.100; from 6.8.5 before 6.9; 6.9 (not affected: before 6.9; from 6.6.100 up to 6.6.*; from 6.12.40 up to 6.12.*; from 6.15.8 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.6.26 before 6.6.100; from 6.8.5 before 6.9; from 6.9.1 before 6.12.40; from 6.13 before 6.15.8; 6.9; 6.16

## References

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

## Sources

- CVE List: [CVE-2025-38489](https://www.cve.org/CVERecord?id=CVE-2025-38489), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38489](https://nvd.nist.gov/vuln/detail/CVE-2025-38489), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38489 · Whole record: https://cve.day/CVE-2025-38489.json · Rebuilt by cve.day 2026-11-25T22:59:01.807Z
