Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2903367lqo; Tue, 21 May 2024 00:04:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXEKxDRDJY0/4mJKInRtgShuqSVrpshSHvjA4WnO/trnTTiV/YWWnvv3tuV8pNu4T+OB0I/fTr2RMgxm8Vu6dyPONViOt38Y7MEsxMj0w== X-Google-Smtp-Source: AGHT+IGSXZmmCmBxt5kwyHWyBgqP+rdVs0ZiVHKlCmsURoVR1eJQUJoswBZ8g4/V1T5UW89jbMuK X-Received: by 2002:a17:907:6e9e:b0:a59:c39b:6bc3 with SMTP id a640c23a62f3a-a5a2d6417e5mr2230104866b.49.1716275071982; Tue, 21 May 2024 00:04:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716275071; cv=pass; d=google.com; s=arc-20160816; b=kXaJZCs+EZ0SVe99Ia66drX1oH52d9zQxIYhbcbqlDJFjUPiFiRHuwdAFCUoXU2hrW lQe0/qhtxDAYNOy9F5/lTRmSQHrzkLfZ0Rp4B0IcpD4n2DeJdMZL8o4K7y2ORg38S5sm Lod8xt6xnFjx29TRN0GU/rbhnsS3g//ge5J+XWGpjScMpJw103C5uM6cHDfyddqxPMUA V3u+qt0lLW6I7wlVfI4XdgmXH7TQeXf/ZMO7GPjo0sTMYZ2wufZjYpSUlTijo4y9++hj Sgrj36eORzD4ZD293qsGdojZy4700fqzri/mPPHvB8ZB8jqExvx6UJZlJxXbjPDvXOID lM7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=apOncTb3i7XLT9jBb9tu9hBJLD6NTmlrxhPt8zWTl68=; fh=Zhugl+w/Uw7TmiraBATbKTWoTGOpiONSrx0UrPIj5fU=; b=GI8npIDhyOaokybkWjNNrBQ2HCqx66r3LQ0PF+kLiukjqYqpkpaH+MQSqfRrbqh8Da OfiAI5Y6ze4xNrnPpV7lFkqaLpFhHONc6D+DomLj3LWCzW1LkWaP6zf7OrGq+5QY8bVG oxu9fU4RxXloU2Og+BorL4GoVp+/rl4uQsdEjAkIM8w5JyZPjLE6kybkcGCJSRZzmfSH ChkYGrzWTuRfKuZDKcUqZaBvY5HWipXZxEK2dEs5nB4+TA6i4xsZBDKeSNv8xFobNbiw 3s5iuoetP0u8cciNTlY8DHj/gajmJvQVTlM6AsBtSpabbUn01o7ZAEbFZm61eIqCu6Pn XryQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zxTcwa2k; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-184545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a8cd7871dsi778790966b.314.2024.05.21.00.04.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 00:04:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zxTcwa2k; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-184545-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ACAFD1F2128E for ; Tue, 21 May 2024 07:04:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 636DD482EE; Tue, 21 May 2024 07:04:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="zxTcwa2k" 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 85F227F; Tue, 21 May 2024 07:04:23 +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=1716275063; cv=none; b=lS1ty6VAN9CkrOVixig/P4F81d9wMfDVWNspmtNvEk63BL9SlLbRhvQzCi0uGmiME7d67n+DmWFV4XkGCqz9YsY6K/i/Vznz493EbVmCdEkPkx4A7KcqpilrflP1Vi2+41/oMCj1dIEFL2USBSZ5mml4LRCVYEEEZVo3aDHLv6A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716275063; c=relaxed/simple; bh=jTFoWep9CrjPm1XdT0Ss5Vaisoeq5vLKtBQmSKNyKao=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iqHph/ma4rwEa8QkkL78KfcokPgquTByjspLNAZseHP0MZLO2/T+VUq6CgU8q1k2iziTKv8M1DyWZQumSw7n5lVkAq7YUtrXmvOhmTmmiI9tRUZLVPwqOf5sVp2v/zFMNrt4jE55bzxAb0QddTWk3h03aHxEJhiWybFM/swAZgw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zxTcwa2k; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4214C2BD11; Tue, 21 May 2024 07:04:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716275063; bh=jTFoWep9CrjPm1XdT0Ss5Vaisoeq5vLKtBQmSKNyKao=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=zxTcwa2k5RLnNo+p6Ae7dMqqW/o/VXwgPrQ0pHPTb3Yz1qNn3vC2feW8/x0Q9so3+ MdxDPBsuKTJXE8RgRs3zsFf2orypvFvyaGqWmUKqYKPIpEIfnZdsoEWa0PcRP2938d pI3lkNbE2zrUm2O6Yrpt9DG1tEc1FRNLGReRX8G8= Date: Tue, 21 May 2024 09:04:20 +0200 From: Greg Kroah-Hartman To: Michael Ellerman Cc: Geoff Levand , cve@kernel.org, linux-kernel@vger.kernel.org, linux-cve-announce@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: CVE-2023-52665: powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2 Message-ID: <2024052108-observing-veteran-a175@gregkh> References: <2024051725-CVE-2023-52665-1d6f@gregkh> <87zfslufoo.fsf@mail.lhotse> <2024052016-footnote-smelting-842e@gregkh> <8734qc3v1m.fsf@mail.lhotse> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8734qc3v1m.fsf@mail.lhotse> On Tue, May 21, 2024 at 09:47:33AM +1000, Michael Ellerman wrote: > Greg Kroah-Hartman writes: > > On Mon, May 20, 2024 at 05:35:32PM +0900, Geoff Levand wrote: > >> On 5/20/24 16:04, Michael Ellerman wrote: > >> > Greg Kroah-Hartman writes: > >> >> 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. > >> > > >> > IMHO this doesn't warrant a CVE. The crash mentioned above happens at > >> > boot, so the system is not vulnerable it's just broken :) > >> > >> As Greg says, with PPC64_BIG_ENDIAN_ELF_ABI_V2 enabled the system won't > >> boot, so there is no chance of a vulnerability. > > > > The definition of "vulnerability" from CVE.org is: > > An instance of one or more weaknesses in a Product that can be > > exploited, causing a negative impact to confidentiality, integrity, or > > availability; a set of conditions or behaviors that allows the > > violation of an explicit or implicit security policy. > > > > Having a system that does not boot is a "negative impact to > > availability", which is why this was selected for a CVE. I.e. if a new > > kernel update has this problem in it, it would not allow the system to > > boot correctly. > > I think the key word above is "exploited", implying some sort of > unauthorised action. > > This bug can cause the system to not boot, but only by someone who > builds a new kernel and installs it - and if they have permission to do > that they can just replace the kernel with anything, they don't need a > bug. > > > But, if the maintainer of the subsystem thinks this should not be > > assigned a CVE because of this fix, we'll be glad to revoke it. > > > > Michael, still want this revoked? > > Yes please. Now rejected, thanks all for the review! greg k-h