s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.40, 6.15.8, 6.6.100
- CVEs
- CVE-2025-38489
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 19:07 UTC · Revision 1
Source evidence
s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again
core-osv · Original sourcePublished 28 Jul 2025, 11:21 UTC
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.
osv:CVE-2025-38489
Kernel
Fixed versions: 6.6.100, 6.12.40, 6.15.8
Complete source record
{
"id": "4aecb978f1e5e6657ae4a2c6839a26852fb548b754c9ec7bc4f07f1bf606a513",
"url": "https://osv.dev/vulnerability/CVE-2025-38489",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again",
"summary": "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.",
"evidence": "osv:CVE-2025-38489",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.100",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.40",
"evidence": "/affected/1/ranges"
},
{
"value": "6.15.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-38489",
"aliases": [
"CVE-2025-38489"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c3062bdb859b6e2567e7f5c8cde20c0250bb130f"
},
{
"fixed": "0c7b20f7785cfdd59403333612c90b458b12307c"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7ded842b356d151ece8ac4985940438e6d3998bb"
},
{
"fixed": "d5629d1af0600f8cc7c9245e8d832a66358ef889"
},
{
"fixed": "a4f9c7846b1ac428921ce9676b1b8c80ed60093c"
},
{
"fixed": "6a5abf8cf182f577c7ae6c62f14debc9754ec986"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.6.26"
},
{
"fixed": "6.6.100"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.8.5"
},
{
"fixed": "6.9"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "d3d74e45a060d218fe4b0c9174f0a77517509d8e"
}
]
}
],
"versions": [
"v6.6.99",
"v6.6.98",
"v6.6.97",
"v6.6.96",
"v6.6.95",
"v6.6.94",
"v6.6.93",
"v6.6.92",
"v6.6.91",
"v6.6.90",
"v6.6.89",
"v6.6.88",
"v6.6.87",
"v6.6.86",
"v6.6.85",
"v6.6.84",
"v6.6.83",
"v6.6.82",
"v6.6.81",
"v6.6.80",
"v6.6.79",
"v6.6.78",
"v6.6.77",
"v6.6.76",
"v6.6.75",
"v6.6.74",
"v6.6.73",
"v6.6.72",
"v6.6.71",
"v6.6.70",
"v6.6.69",
"v6.6.68",
"v6.6.67",
"v6.6.66",
"v6.6.65",
"v6.6.64",
"v6.6.63",
"v6.6.62",
"v6.6.61",
"v6.6.60",
"v6.6.59",
"v6.6.58",
"v6.6.57",
"v6.6.56",
"v6.6.55",
"v6.6.54",
"v6.6.53",
"v6.6.52",
"v6.6.51",
"v6.6.50",
"v6.6.49",
"v6.6.48",
"v6.6.47",
"v6.6.46",
"v6.6.45",
"v6.6.44",
"v6.6.43",
"v6.6.42",
"v6.6.41",
"v6.6.40",
"v6.6.39",
"v6.6.38",
"v6.6.37",
"v6.6.36",
"v6.6.35",
"v6.6.34",
"v6.6.33",
"v6.6.32",
"v6.6.31",
"v6.6.30",
"v6.6.29",
"v6.6.28",
"v6.6.27",
"v6.6.26",
"v6.8.12",
"v6.8.11",
"v6.8.10",
"v6.8.9",
"v6.8.8",
"v6.8.7",
"v6.8.6",
"v6.8.5"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38489.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.6.100"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.9.0"
},
{
"fixed": "6.15.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38489.json"
}
}
],
"modified": "2026-10-28T02:30:38.885857878Z",
"provider": "osv",
"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",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38489.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38489",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38489.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38489",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 505995,
"published_at": "2025-07-28T11:21:53.024+00:00"
}