CVE-2025-38489

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

No CVSS score yet EPSS 0.17%

Published 28 Jul 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2025-38489

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38489 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.86% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c3062bdb859b6e2567e7f5c8cde20c0250bb130f, before 0c7b20f7785cfdd59403333612c90b458b12307c
affected from 7ded842b356d151ece8ac4985940438e6d3998bb, before d5629d1af0600f8cc7c9245e8d832a66358ef889
affected from 7ded842b356d151ece8ac4985940438e6d3998bb, before a4f9c7846b1ac428921ce9676b1b8c80ed60093c
affected from 7ded842b356d151ece8ac4985940438e6d3998bb, before 6a5abf8cf182f577c7ae6c62f14debc9754ec986
affected d3d74e45a060d218fe4b0c9174f0a77517509d8e
affected from 6.6.26, before 6.6.100
affected from 6.8.5, before 6.9
Other versions: unaffected
Linux
affected 6.9
unaffected before 6.9
unaffected from 6.6.100 up to and including 6.6.*
unaffected from 6.12.40 up to and including 6.12.*
unaffected from 6.15.8 up to and including 6.15.*
unaffected 6.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38489 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38489

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-38489
trivy image --scanners vuln IMAGE | grep CVE-2025-38489

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-38489 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.