From mboxrd@z Thu Jan 1 00:00:00 1970 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 2B12354BEF for ; Fri, 17 May 2024 14:01:40 +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=1715954501; cv=none; b=brKGWwI812QYDLuKtJ94iYODn1vo01BU1xH7kcQkemr72lEnfP4oSoclccCst8XfKsvXjGJoJHRqLxEhppcnPdtY9K4ZKcozwTXi08k2vrGsJQyuOBa5vVDHH8Ua+LUTcTjo/0wafQfqPBRn4D/iPw4o3U+4Q0pFs4XFoen4k9o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715954501; c=relaxed/simple; bh=ip+Lz2ryZVkXtSEUzt89LPCsz69Cz5o1SemacMTb+Dg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tIdQkdBmoIWLsMSOnkiMUYnSTIWqfz2a+nCPnU/z6FVjq9xwkVRzb/EDA1GDW5y8tvF59uSurssyHESsgm/2NQKdlW050FRbCiq67h0Et96sBXGkyzkPVqGqMLgceXUDw5iF9S+x1unNAjGs+Sd29AtrdWtl1B9uSzz3jxc5xpw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YMYTN2wZ; 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="YMYTN2wZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52A4FC2BD10; Fri, 17 May 2024 14:01:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715954500; bh=ip+Lz2ryZVkXtSEUzt89LPCsz69Cz5o1SemacMTb+Dg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=YMYTN2wZk078up1FVdgzgkQqAFGyj7TsSx1T6ZsAi8MlJhq0Ku19ON62lwzlDgCe1 kFZn9wZ+UlAB/bdFXkKQekBujTozUt6UMJbqo78/NlVzfyrDYnnfv+e8l1x1onOCKm z9XBothAQYEf4rUQOqZxRFIp8ZwajLXhQ88EOcy4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52665: powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2 Date: Fri, 17 May 2024 16:01:26 +0200 Message-ID: <2024051725-CVE-2023-52665-1d6f@gregkh> X-Mailer: git-send-email 2.45.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=2622; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ip+Lz2ryZVkXtSEUzt89LPCsz69Cz5o1SemacMTb+Dg=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuyaZPPIJyVoSG33BrNcr17dIQnJ1hoX5cT5VpncYcQ 71Tx151xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESWmDHMr+7da5I8nbP1yvJl mW3cnwRLzdVyGBZcSTU6OemtueAfmUlrr67KuXtHJqcWAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2 Commit 8c5fa3b5c4df ("powerpc/64: Make ELFv2 the default for big-endian builds"), merged in Linux-6.5-rc1 changes the calling ABI in a way that is incompatible with the current code for the PS3's LV1 hypervisor calls. This change just adds the line '# CONFIG_PPC64_BIG_ENDIAN_ELF_ABI_V2 is not set' to the ps3_defconfig file so that the PPC64_ELF_ABI_V1 is used. Fixes run time errors like these: BUG: Kernel NULL pointer dereference at 0x00000000 Faulting instruction address: 0xc000000000047cf0 Oops: Kernel access of bad area, sig: 11 [#1] Call Trace: [c0000000023039e0] [c00000000100ebfc] ps3_create_spu+0xc4/0x2b0 (unreliable) [c000000002303ab0] [c00000000100d4c4] create_spu+0xcc/0x3c4 [c000000002303b40] [c00000000100eae4] ps3_enumerate_spus+0xa4/0xf8 The Linux kernel CVE team has assigned CVE-2023-52665 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 8c5fa3b5c4df and fixed in 6.6.15 with commit f70557d48215 Issue introduced in 6.5 with commit 8c5fa3b5c4df and fixed in 6.7.3 with commit d0f0780f03df Issue introduced in 6.5 with commit 8c5fa3b5c4df and fixed in 6.8 with commit 482b718a84f0 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-2023-52665 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/powerpc/configs/ps3_defconfig 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/f70557d48215b14a9284ac3a6ae7e4ee1d039f10 https://git.kernel.org/stable/c/d0f0780f03df54d08ced118d27834ee5008724e4 https://git.kernel.org/stable/c/482b718a84f08b6fc84879c3e90cc57dba11c115