Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp20375lqc; Thu, 29 Feb 2024 09:12:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXOYqGdSBM/RJLjr1o38uylKzeVL3tQpJmm5xnS5g6+McsrXLHHwcJaToCly3WuGPYj2dRo9ZpfieANMCoZD7Li8XpdPXu77zMIDYyj8w== X-Google-Smtp-Source: AGHT+IE4mA/5FCm9IW//sAksfnoz/MWFCcOL60mA1jmqar2rLM3eQvYC+4eyninKTtldeWoDZOmZ X-Received: by 2002:a17:906:80d7:b0:a3e:58df:fb08 with SMTP id a23-20020a17090680d700b00a3e58dffb08mr1806273ejx.44.1709226726699; Thu, 29 Feb 2024 09:12:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709226726; cv=pass; d=google.com; s=arc-20160816; b=U/E6HcAfuKRhaWbjDeKiQ6OGhJ+6vYafFZuoIMLHnvsCgQtYkTk1ayo0XBW/GECaN0 Ph4SoNwHDu15jKMUSBGm0AJSe+sTXzumMAvtvJ+EnAbV2b49lpk6A78eWEI4MXN2Ntlc QTSa5YyHj73Szlf/4JCC71Fa/19i+We2SVGcrhdTpqmelQRhOH/cI+t93363YQexcill 37DciNVNLME5fhPZXNuFBM8OB+Aj4uwF7JZrsO21Kpbx1Fxylq5yP6K32In+H0F4Iaim bHW2SYw+RvYJiitkpS00vqSoKnr1KKMeiIcOwJBeGg3IeSEGW05QUcYZb80fJl0Fqtnf aI0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=/XarsjEwUwYVx1Zuqb4Z+2epCjBT4BFIHLpVE0wJOIc=; fh=2gI+wYAnvSGV9HJzh2oEBvdK9x6g7+YVtbtmQMGlhlE=; b=gJvcxMURpqyRHSNdobl9GorFJEbpLV+c/J4PcsLc5eW0J5RNMFEBNyZqEbQQewwPGg gggbO9wMyYMKdiVWaOJv+Uv1QU8SXYz7DSF+n1o1zxWmblcmgKPPqBWAr7GvBMOEpzCU 3xRZaPMSJF5B70mRwXSJnqoVrfcsZ27Hi0M0MoyK8NO7VR0gHJJK+4exffsgNhzzaRcA HU8JRoV8n1Re4CeeckfHpj5eQNIIAfjUER7WFmUXW0Z1omSYWGqHQmQNZiwDOSmu4jT+ Fv1OkBEPkKhVws1t6PSKOJMPY8lhysg1tQUjRvu33Hea3+0eALeL536o5NqLmpbbfN+p mevw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Gbbu2zVi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87147-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a13-20020a1709066d4d00b00a4422897611si689109ejt.789.2024.02.29.09.12.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 09:12:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87147-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=@kernel.org header.s=k20201202 header.b=Gbbu2zVi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87147-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 47F991F22207 for ; Thu, 29 Feb 2024 17:11:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9291D4AED5; Thu, 29 Feb 2024 17:11:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Gbbu2zVi" 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 BFE606CBF4 for ; Thu, 29 Feb 2024 17:11:43 +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=1709226703; cv=none; b=C9jWflmzu+Fpf6AzKgc38ScUgN3vLQy0tISiO/hwoZE4XdY77QvksvzCvu3Ze6KPDZgvZllhP3kooIo1ghL8a6AfMIvrfUzhIaeW1EpfL6S2OYTTfKqXVNo+K0UdeeHZSqhIH5AiYgPLz7ATQ4jYEeBQrC1zKZZxx0xe37SLD4I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709226703; c=relaxed/simple; bh=hmzZB1RMnyCzUt+d63lCVZYeV1p79MWV8jAn56LJ9Lk=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=nKs/rWKheA+t5WwIfI8R/P86Xv/hlMFX+vWHHguFxZdcRDsKuEsyWFBGGmjZ8m3zhxpQYQ/H2xQIHDGgvpNk++Hb2zbBqyGD6DcwA2JlxTqTKj4lQR3JUyAcaLVdkPTPBFIkCzkosZgfEq5wGdsZquUofQsFBFWCRScrODQwhpk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Gbbu2zVi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09D06C433C7; Thu, 29 Feb 2024 17:11:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709226703; bh=hmzZB1RMnyCzUt+d63lCVZYeV1p79MWV8jAn56LJ9Lk=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=Gbbu2zVi2Xrpo9FcCdOMRlUJSeFmHGOhrTS2oFkR0lej/rYIEN5+uFi6K8XVT5ZQB S348O0510nlb4YaaEfMgGtv+as+MKqYQ+ws5WStaYnBmJfoaUU2cwEKcvGmvBSVKHm mAU9embj/4Ty8uy28mgAsCZS2X/H95vKdDXcFB6IK3ojpW+BeOQmL7KkVswOckU++F psJXDobRY869trRSZwzqcQxN1ysGBK4Nq1dfnQTfKJpBsKv8noG1VXhE3Fzh/6BZgy 76CA4un00p7REo4GEnnOX7YkAYN8WmDfEbj48TPnazlbWnEcQd48pBNxMxe1wbFxff EQLgFA6ffbLFw== Date: Thu, 29 Feb 2024 18:11:40 +0100 (CET) From: Jiri Kosina To: Sasha Levin cc: Greg Kroah-Hartman , Michal Hocko , Kees Cook , cve@kernel.org, linux-kernel@vger.kernel.org Subject: Re: CVE-2023-52451: powerpc/pseries/memhp: Fix access beyond end of drmem array In-Reply-To: Message-ID: References: <2024022639-wronged-grafted-6777@gregkh> <202402271029.FD67395@keescook> <202402280906.D6D5590DB@keescook> <2024022915-dissuade-grandson-ebd4@gregkh> <2024022913-borrower-resource-ecc9@gregkh> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) 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 On Thu, 29 Feb 2024, Sasha Levin wrote: > >> It's pretty trivial to get root on most of the "enterprise" kernels > > > >Wow, that's a very strong statement you are making here, and I'd now > >really like to ask you to back that up with some real data. > > Is something like https://www.suse.com/security/cve/CVE-2023-52447.html > a good example? - this fix is on our list/queue to be integrated into one of our kernel branches, and was even beore it just got CVE assigned, as it references a commit in Fixes: that we have present in one of our branches, but hasn't been processed yet, mainly because we don't allow unprivileged BPF - you pointed to a fix for UAF in BPF, which definitely is a good fix to have, I don't even dispute that CVE is justified in this particular case. What I haven't yet seen though how this connects to in my view rather serious 'trivial to get root' statement Thanks, -- Jiri Kosina SUSE Labs