Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD1691DB125 for ; Mon, 28 Jul 2025 11:23:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753701780; cv=none; b=Jz0cHMQXrBPC6E4X7XrriN9bU6nGFQmYCIxonenRPUu784o59Z4S3B+V4TgaYLsYtSabJRnj3brYT4yHhnfEsZwzuxP+6KPeI+zQ0fCFHKDjyueffsB4lT2HvQBwc7YCL9LWARYaJVfPINC1tteVAfjcrAPu4VpOGYsBaLcI+Qg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753701780; c=relaxed/simple; bh=vKSl3yWHYY4vGINJplqzTPd/2S8X67E0Zpa1HLsx5KE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B9ov9KNyBS60+Hf8NiR03h6SvTfeiarp946kZ17wlft3tKpy1COqyr8MWcNorvCWCcs56nkNA2rNc1GRTezqkzdjimHBsdkoL74y9pnU6UWGHf40ua0bhRIvEqWaYJ6E0UIFdsQXvsdinaTOwO6OSp/lwvQch6I/r/9C1nkYxCs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WtHYO3Nx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WtHYO3Nx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEED8C4CEE7; Mon, 28 Jul 2025 11:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753701780; bh=vKSl3yWHYY4vGINJplqzTPd/2S8X67E0Zpa1HLsx5KE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=WtHYO3NxKX6PrTHQNxIk9xlkZv2s9Fe4KwDPUIR8mKnCikCaPdyGYqtq4Gf2jxYo6 HCEyWiZgDCpnlArwfG/DpccSfdtez51rrjVDI1IfWIK7bh0OX15w5MC5zA706E9MtE 1VPu6f86K7PVPPGw2kM37A++pPTO6o/ISo1GB988= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38489: s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again Date: Mon, 28 Jul 2025 13:22:31 +0200 Message-ID: <2025072816-CVE-2025-38489-0fd7@gregkh> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2626; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bJkbzTaXAc+q9Q0pMI6Yllk/A/zyrvXHiEBphAh+FmY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBntsRmJvV8fr7AKjlv29/lqB9tM08MaOZ5Bejc0LfX5d prdWaLfEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPRd2WYZxoU7DNXortZ2e+7 zsQlD+PXXJ85l2Gexl9TIxOve0uOSS141F3yMVjBX3IGAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2025-38489 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.26 with commit c3062bdb859b6e2567e7f5c8cde20c0250bb130f and fixed in 6.6.100 with commit 0c7b20f7785cfdd59403333612c90b458b12307c Issue introduced in 6.9 with commit 7ded842b356d151ece8ac4985940438e6d3998bb and fixed in 6.12.40 with commit d5629d1af0600f8cc7c9245e8d832a66358ef889 Issue introduced in 6.9 with commit 7ded842b356d151ece8ac4985940438e6d3998bb and fixed in 6.15.8 with commit a4f9c7846b1ac428921ce9676b1b8c80ed60093c Issue introduced in 6.9 with commit 7ded842b356d151ece8ac4985940438e6d3998bb and fixed in 6.16 with commit 6a5abf8cf182f577c7ae6c62f14debc9754ec986 Issue introduced in 6.8.5 with commit d3d74e45a060d218fe4b0c9174f0a77517509d8e Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-38489 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: arch/s390/net/bpf_jit_comp.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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