CVE-2025-38489

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

MEDIUM
5.5
CVSS Score
Published: July 28, 2025 at 11:21 AM UTC
Updated: June 17, 2026 at 09:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.8.56.13 ≤ v < 6.15.86.6.26 ≤ v < 6.6.1006.8.5 ≤ v < 6.96.9 ≤ v < 6.12.406.9 ≤ v < 6.15.86.9 ≤ v < 6.166.9.1 ≤ v < 6.12.406.16 rc16.16 rc26.16 rc36.16 rc46.16 rc56.16 rc66.6.266.8.56.96.9 rc26.9 rc36.9 rc46.9 rc56.9 rc66.9 rc77ded842b356d151ece8ac4985940438e6d3998bbc3062bdb859b6e2567e7f5c8cde20c0250bb130fd3d74e45a060d218fe4b0c9174f0a77517509d8e
Vendor states this is fixed in 0c7b20f7785cfdd59403333612c90b458b12307c (fixed)
Vendor states this is fixed in 6a5abf8cf182f577c7ae6c62f14debc9754ec986 (fixed)
Vendor states this is fixed in a4f9c7846b1ac428921ce9676b1b8c80ed60093c (fixed)
Vendor states this is fixed in d5629d1af0600f8cc7c9245e8d832a66358ef889 (fixed)
Vendor states this is fixed in 6.12.40 (unaffected)
Vendor states this is fixed in 6.15.8 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.100 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c7b20f7785cfdd59403333612c90b458b12307c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6a5abf8cf182f577c7ae6c62f14debc9754ec986
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a4f9c7846b1ac428921ce9676b1b8c80ed60093c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d5629d1af0600f8cc7c9245e8d832a66358ef889

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card