What’s Vulnerable › Vulnerabilities
CVE-2025-38489: s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-28 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- 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.9-rc2, 6.9-rc3, 6.9-rc4, 6.9-rc5, 6.9-rc6 (+7) — fixed in 6.12.40, 6.15.8, 6.6.100, 6.9
How to fix
Upgrade to a fixed version: Linux kernel 6.12.40, 6.15.8, 6.6.100, 6.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0c7b20f7785cfdd59403333612c90b458b12307c
- https://git.kernel.org/stable/c/6a5abf8cf182f577c7ae6c62f14debc9754ec986
- https://git.kernel.org/stable/c/a4f9c7846b1ac428921ce9676b1b8c80ed60093c
- https://git.kernel.org/stable/c/d5629d1af0600f8cc7c9245e8d832a66358ef889
Get alerted when CVE-2025-38489 or the next vulnerability affects your stack