Linux Kernel
CVE-2025-38489
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal access with BPF load privileges on s390
-
DeliveryLoad and detach BPF program (e.g. perf on_switch)
-
Exploitbpf_arch_text_poke() called with new_addr==NULL
-
ExecutionNULL pointer dereference in kernel
-
ImpactKernel panic / system DoS
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the s390 (IBM Z / s390x) architecture specifically - the flaw is in the s390 BPF JIT's bpf_arch_text_poke() and does not exist on other architectures. The attacker must be local (AV:L) and hold privileges sufficient to load/attach and detach BPF programs (PR:L, typically CAP_BPF or CAP_SYS_ADMIN, or a configuration permitting such BPF activity such as perf-driven program switching); the panic path is reached when bpf_arch_text_poke() is invoked with new_addr == NULL. Limiting factors that reduce realistic risk: no remote vector, no unauthenticated path, it affects only s390 deployments, it requires BPF-loading capability rather than being reachable by any ordinary user, and the trigger is described as intermittent/non-deterministic rather than reliably on demand. Impact is confined to availability (kernel panic); there is no confidentiality or integrity effect. |
| Impact | All available signals point to a genuinely low operational priority, and they are mutually consistent rather than conflicting. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5 Medium) describes a local, low-privilege, availability-only impact with no confidentiality or integrity loss - i.e. a denial-of-service via kernel panic, consistent with the CWE-476 NULL pointer dereference and the description's 'intermittent kernel panics'. EPSS is very low at 0.17% (6th percentile), there is NO CISA KEV listing, and no public exploit identified at time of analysis. The vuln.today decision label is 'this_month', the second-lowest routine tier, which agrees with the low-urgency picture. A critical scoping note the raw CVSS does not convey: this is an s390/bpf defect, so the vulnerable code path exists ONLY on IBM Z (s390x) builds of the Linux kernel - not on the far more common x86_64/ARM deployments. The description also frames this as a regression (commit 7ded842b356d accidentally reverted an earlier fix, c730fce7c70c), meaning it reads more as a reliability/stability bug surfaced by legitimate workloads such as perf's on_switch() prog than as an attacker-engineered exploit primitive. Net: a real fix worth applying on s390 systems during normal patch cycles, but not a drop-everything emergency. |
| Exploit ScenarioDerived | On an s390x Linux host, a local actor able to load and detach BPF programs (for example through perf event handling) triggers bpf_arch_text_poke() with new_addr == NULL, hitting the restored-then-removed NULL check and dereferencing a NULL pointer in kernel context. The result is an intermittent kernel panic and system crash (denial of service) with no disclosure or data modification. No public exploit code exists; the condition is described as surfacing during normal perf activity rather than via a weaponized trigger. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Intermittent kernel panics on s390 (IBM Z / s390x) systems can be triggered when the s390 BPF JIT's bpf_arch_text_poke() is invoked with new_addr == NULL, a NULL-pointer dereference condition (CWE-476) that a local user with privileges to load, attach and detach BPF programs can reach - for example through perf's on_switch() program switching. The bug exists only on the s390 architecture, was introduced when commit 7ded842b356d ("s390/bpf: Fix bpf_plt pointer arithmetic") silently dropped the guard added by c730fce7c70c, and is now restored by the referenced stable commits. Impact is availability only (kernel panic, CVSS 5.5 AV:L/AC:L/PR:L/UI:N/C:N/I:N/A:H), exploitation requires local BPF-loading capability and the trigger is described as intermittent rather than reliably on demand; no public exploit has been identified at time of analysis and the EPSS score is 0.17% (6th percentile).
RemediationAI
Apply the upstream fix: the s390/bpf correction is published as stable-tree commits 0c7b20f7785cfdd59403333612c90b458b12307c, 6a5abf8cf182f577c7ae6c62f14debc9754ec986, a4f9c7846b1ac428921ce9676b1b8c80ed60093c and d5629d1af0600f8cc7c9245e8d832a66358ef889 (https://git.kernel.org/stable/c/0c7b20f7785cfdd59403333612c90b458b12307c and the sibling links), which restore the new_addr == NULL handling removed by commit 7ded842b356d; the supplied data confirms patch availability from the vendor but does not state the exact released kernel version numbers, so match the commit to the stable branch your s390 kernel derives from and confirm with your distribution's kernel advisory before rolling out. Because a complete fix requires that kernel update, exposures in the interim can only be narrowed by the prerequisite the assessment identifies: the panic path needs a local user able to load, attach and detach BPF programs (typically CAP_BPF or CAP_SYS_ADMIN, or a configuration permitting perf-driven program switching), so constraining who holds those capabilities and avoiding unnecessary perf BPF program switching on s390 hosts reduces the reachable surface - with the trade-off of limiting legitimate BPF observability and tracing workloads, and without eliminating the defect. The decision label for this entry is this_month, consistent with the low EPSS score (0.17%, 6th percentile), absence from KEV and lack of identified public exploit code.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Linux kernel's BPF JIT for s390 emits and rewrites machine code at runtime; bpf_arch_text_poke() is the architecture hook used to patch a call/jump site, and it is also used when a poke is meant to remove an existing patch by passing new_addr NULL. In that code path the earlier fix commit c730fce7c70c ("s390/bpf: Fix bpf_arch_text_poke() with new_addr NULL") supplied a critical piece of handling for the NULL-address case, but commit 7ded842b356d ("s390/bpf: Fix bpf_plt pointer arithmetic") removed it as a side effect, reintroducing a NULL pointer dereference class of defect (CWE-476) and the associated intermittent kernel panics during perf-driven program switching. The CPE data covers the linux_kernel operating system entries including 6.9 and its release candidates 6.9-rc2 through 6.9-rc6, reflecting the window in which the regression was present on s390 builds. Because the defect lives in architecture-specific JIT code, only s390/s390x kernels are affected; x86, arm64 and other architectures are outside the affected code path. The CVSS metrics describe severity rather than the precise triggering sequence, and the supplied sources do not detail the exact instruction-level conditions beyond the new_addr == NULL invocation.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Local s390 trigger (AV:L) needing BPF-load privilege (PR:L), low complexity, causing only a kernel-panic availability loss (A:H; C:N/I:N).
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB