Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp36021lqc; Thu, 29 Feb 2024 09:36:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWDGWW2uAY1csQM54CmFg+Rko7Hb1EkVyFBKSut1Gc0NCcxfnxLVyX35/WNJANak9GEnBgLc05ilV00SL4Mt+EZ0ZAbmRPv39q+Y6eY9w== X-Google-Smtp-Source: AGHT+IFeWmxehnFMMxzot8XAfhjFlaeikqzPPpS+IdKzE15e9aCgCeFRJTVn5m0PWXo1aMDfOxLs X-Received: by 2002:a50:cac7:0:b0:566:9fef:1ee9 with SMTP id f7-20020a50cac7000000b005669fef1ee9mr1736619edi.22.1709228182191; Thu, 29 Feb 2024 09:36:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709228182; cv=pass; d=google.com; s=arc-20160816; b=MGbabtiuqCMdTYmN+SbNHq9uNqBDx83rL2E30QRn6aNs83vr5yExwXIfkEnLcW+s+L Y2NwpcP41mi4YXzksQYS0ZPFwRr+efCfmkWi4bZMN/tV2J+00zX2Xd5OOjmQmxv+Qvtn TntTpwkl0nDv6HnbIgBaDJ8aCIZqTSZLVVErv5ppyMJqw3vt7Dxo56p0K5jx0pIAK6x7 TpZURUYZOJI8wyD3Nz1pC2JoUpkvow9ph+Cpksbf/LMD2vVuS/l78Bz90U1mu5Fa3mve k3a5POCBmt3W3AuQSfVHYWIhWVGeK50DjH18pwAe85rVADg9iC2QX8IcccrIpAWPGWfw rcjQ== 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=oZNrVW7cSqta8Wz96zTztuNZbu4OOfIpGDZywCSEmhc=; fh=2gI+wYAnvSGV9HJzh2oEBvdK9x6g7+YVtbtmQMGlhlE=; b=GlOZkEqV7bNqXHAOrVbGVd9gqG9rCGivzb3D31sM1gHPRvOufpXV4Oyixr/0PoNzHT zyU0sBWK3UJEKcaJYfpNq3cuMZglwL2W5wDfZhEu7JhrvP8UNWuUVTJab9dJO8nXfaWy iTJEW5GFs2Is/lWgVSb10r7SoB7HzofWJgFJ7ZLT4wLjovblXhbWfXv0u0ZSmEYdvmGo NthPhS5dfE4V0Lij+YoVDbASPKmR2o12JaMm3vn+ZTtvjzDMZd/fspw6s6QIWdY0djqn dGVJjj5iqu3caco0b5KZqrezoF+5+FP4XSu2U9xYP/fNMXmDSyU83F1QuoLKijP6Hkbv 2zXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=suixx2L4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87181-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 b18-20020a50b412000000b00566b4419c8bsi283959edh.418.2024.02.29.09.36.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 09:36:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87181-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=suixx2L4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87181-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 DDF0A1F237EA for ; Thu, 29 Feb 2024 17:36:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7205F70AED; Thu, 29 Feb 2024 17:36:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="suixx2L4" 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 960A76CBF7 for ; Thu, 29 Feb 2024 17:36:11 +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=1709228171; cv=none; b=Yh/7s3k/4P1cTc59HaQ1Ly/xaE046PNwYLNYA2ppQ1N8DxQItCBUiMFn0o9YosGHc1tGuTe8s3vSlxmKiESV7ugwNGtpy+GWx4tlWpWSy7SOekki8mMyOiVN0NyQNa20FqvAmvgjX4tQtCMtnJbHg3UUWUDoD4OeDJm0+iYCK74= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709228171; c=relaxed/simple; bh=WY258aooFcn6qkOL8EOxbiPNPHe9qPg7WdqKjI+2Wew=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=dIXEzKxtsi4cG5UmiuEXhgDzqhe/zDV6PgPD8weWU7bXv5PdTJFHZT5uF1yFLO4c31qQW77xVvNVePOA5quHCi2OjEsGu+UhyAlPVguLhA+0kjKDlBB0f4NmbnfyRfjQ/EGSA+vEs0aday81U2hQcyAWVaTb2HIn239uIuzsoWo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=suixx2L4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD502C433F1; Thu, 29 Feb 2024 17:36:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709228171; bh=WY258aooFcn6qkOL8EOxbiPNPHe9qPg7WdqKjI+2Wew=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=suixx2L4mx4+4hvxNg+sgRGiE1JQweXRpT+BnNu/4KEBfmwJJ2J6ozItvGiD2aNN1 JxWJzFTVleHV3LJicAMTYt3Oz/p9TZTeFO9q+NUU2UlyWlYbG6nw+6hTw7IlCH0phf 4jrEtmxwxk/qYkTmAtkI3dyr7sZfM2hPu5VYY5TIdE6rdxUG58jYLO3dLyCcRcugbF x1KGJueMT+KXnx/rrnGVFtwE/S4suyovkAmVKgWnnxUEESNqFVQmR7CcGEHOfJhfz3 37A5CnVdKhIXyFcrEqRJAToRtQSfl/TlGBBnu0m7rAOv44qi0bIV8Hq/hS0Fr8zWl7 6h1Yg+6G02Sxg== Date: Thu, 29 Feb 2024 18:36:08 +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, Jiri Kosina wrote: > - 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 To elaborate on this a little bit more -- I completely agree that this fix is completely in-line with what Kees is, in my view, quite nicely describing at [1]. You pointed to a weakness (for which a fix *is* in our queue), sure. But I see a HUGE leap from "fixes a weakness" to bold, aggressive and in my view exaggerating statements a-la "I am able to trivially pwn any kernel which is not -stable". [1] https://lore.kernel.org/all/D06F40E5-0DBC-4FF2-BAF5-2373BDF3815C@kernel.org/ -- Jiri Kosina SUSE Labs