{"id":"CVE-2025-38489","state":"PUBLISHED","title":"s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again\n\nCommit 7ded842b356d (\"s390/bpf: Fix bpf_plt pointer arithmetic\") has\naccidentally removed the critical piece of commit c730fce7c70c\n(\"s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL\"), causing\nintermittent kernel panics in e.g. perf's on_switch() prog to reappear.\n\nRestore the fix and add a comment.","publishedAt":"2025-07-28T11:21:53.024Z","updatedAt":"2026-05-23T15:59:52.014Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c3062bdb859b6e2567e7f5c8cde20c0250bb130f","status":"affected","lessThan":"0c7b20f7785cfdd59403333612c90b458b12307c","versionType":"git"},{"version":"7ded842b356d151ece8ac4985940438e6d3998bb","status":"affected","lessThan":"d5629d1af0600f8cc7c9245e8d832a66358ef889","versionType":"git"},{"version":"7ded842b356d151ece8ac4985940438e6d3998bb","status":"affected","lessThan":"a4f9c7846b1ac428921ce9676b1b8c80ed60093c","versionType":"git"},{"version":"7ded842b356d151ece8ac4985940438e6d3998bb","status":"affected","lessThan":"6a5abf8cf182f577c7ae6c62f14debc9754ec986","versionType":"git"},{"version":"d3d74e45a060d218fe4b0c9174f0a77517509d8e","status":"affected","versionType":"git"},{"version":"6.6.26","status":"affected","lessThan":"6.6.100","versionType":"semver"},{"version":"6.8.5","status":"affected","lessThan":"6.9","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/net/bpf_jit_comp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.6.100","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.40","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.8","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/net/bpf_jit_comp.c"]}],"references":["https://git.kernel.org/stable/c/0c7b20f7785cfdd59403333612c90b458b12307c","https://git.kernel.org/stable/c/d5629d1af0600f8cc7c9245e8d832a66358ef889","https://git.kernel.org/stable/c/a4f9c7846b1ac428921ce9676b1b8c80ed60093c","https://git.kernel.org/stable/c/6a5abf8cf182f577c7ae6c62f14debc9754ec986"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/38xxx/CVE-2025-38489.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38489","state":"PUBLISHED","datePublished":"2025-07-28T11:21:53.024Z","dateUpdated":"2026-05-23T15:59:52.014Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:24.021Z"},"containers":{"cna":{"title":"s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again\n\nCommit 7ded842b356d (\"s390/bpf: Fix bpf_plt pointer arithmetic\") has\naccidentally removed the critical piece of commit c730fce7c70c\n(\"s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL\"), causing\nintermittent kernel panics in e.g. perf's on_switch() prog to reappear.\n\nRestore the fix and add a comment."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c3062bdb859b6e2567e7f5c8cde20c0250bb130f","status":"affected","lessThan":"0c7b20f7785cfdd59403333612c90b458b12307c","versionType":"git"},{"version":"7ded842b356d151ece8ac4985940438e6d3998bb","status":"affected","lessThan":"d5629d1af0600f8cc7c9245e8d832a66358ef889","versionType":"git"},{"version":"7ded842b356d151ece8ac4985940438e6d3998bb","status":"affected","lessThan":"a4f9c7846b1ac428921ce9676b1b8c80ed60093c","versionType":"git"},{"version":"7ded842b356d151ece8ac4985940438e6d3998bb","status":"affected","lessThan":"6a5abf8cf182f577c7ae6c62f14debc9754ec986","versionType":"git"},{"version":"d3d74e45a060d218fe4b0c9174f0a77517509d8e","status":"affected","versionType":"git"},{"version":"6.6.26","status":"affected","lessThan":"6.6.100","versionType":"semver"},{"version":"6.8.5","status":"affected","lessThan":"6.9","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/net/bpf_jit_comp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.6.100","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.40","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.8","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/net/bpf_jit_comp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0c7b20f7785cfdd59403333612c90b458b12307c"},{"url":"https://git.kernel.org/stable/c/d5629d1af0600f8cc7c9245e8d832a66358ef889"},{"url":"https://git.kernel.org/stable/c/a4f9c7846b1ac428921ce9676b1b8c80ed60093c"},{"url":"https://git.kernel.org/stable/c/6a5abf8cf182f577c7ae6c62f14debc9754ec986"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:59:52.014Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.26","versionEndExcluding":"6.6.100"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.15.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}