Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2410510pxa; Fri, 7 Aug 2020 10:24:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmPqyfPhO8pbLaE5dqVig0Wg7wOxITfPl+NBhV7fmznfbvkAZv5qh7gIBcmyJnipmGPxJ4 X-Received: by 2002:a05:6402:743:: with SMTP id p3mr9667066edy.19.1596821094302; Fri, 07 Aug 2020 10:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596821094; cv=none; d=google.com; s=arc-20160816; b=Bh0XlqGu8G4nOasqJrb3Rd4eQ6IbHZqrFiGDgjAMhGdpZ3m1cmDTQcVysdUuAZE7Ei wZXqu+atVpYRhfwNQN8dfimi5vfTXh38v+HUKUJXz++iLMuJM1o1PTUcRlFZUpgMzAfq DhHyTa+rgi7ZNQBJZ54VD7xRrELT5Bp7q298HdkGU/S/BmbJSSyoU3l9bPZt/BEsoP+i BkHRa5oIdXBkXWvJ5jfrIY9pcscNbPnvhrZI/5vlHTbSzVzuXZ1O/4vFkLyFmexlF19S O5rNoOyE2xh3Cxd5ycUtl91IsIGyXujpYdhCMP5ODr3v02FAP3/XvMptDdClXHaiT+Ln dimg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ZmKP+qCzihWJK9dXcNadQFATorS0FHUmvkMi7b8YfMY=; b=CxRcV8/mo8mA8XxxMy4O3lJbml5bk0PVGwCT9EmU2EfWMe+Rwot0RvtJTuwKskdJ5h 85g0Rzg4Ps4nSTjQG5KSlavoIj3jX9cFnyOzBzk2aAcsJMrYPoF8mlgSr4+V1OKkEEGv w4LuZJ6vG0xFoFfzDSzmoYkMppinMvhnTLsmpb8utrbNZ5MorhcYKQjc55tYtnCPOood gN30OPAH1TCr9pK462NKCv4zl1KYmM/0/GVgrMbWvJfiWNzAFq22tQUIKa8dfCPQFlm3 KesJTEBjRijv4bKGkca1AGsAGpmvtA2zqQ7QnqZ+WFfnOOI6ksiBGwb48EC/bbKs9te+ O6Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GhIm2Pa7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rl3si5972746ejb.643.2020.08.07.10.24.31; Fri, 07 Aug 2020 10:24:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GhIm2Pa7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726927AbgHGRU6 (ORCPT + 99 others); Fri, 7 Aug 2020 13:20:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726015AbgHGRU4 (ORCPT ); Fri, 7 Aug 2020 13:20:56 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1888EC061757 for ; Fri, 7 Aug 2020 10:20:55 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id w17so1349319ply.11 for ; Fri, 07 Aug 2020 10:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ZmKP+qCzihWJK9dXcNadQFATorS0FHUmvkMi7b8YfMY=; b=GhIm2Pa7v4YxhlXrHy3f/nlqbB1X4jZ2cO8Etlvz9zwHwM00RutEXb0eh+mr4sOATP aLxjs3msffA79SRugYCIpDPFF4XCrcdo2yPLvYsSi1VzP0prKlxDewDF4VO7M7mgBqrQ wBjOViIeaHA0LQo495hDAQ1HNFKtu0yZuJAlw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ZmKP+qCzihWJK9dXcNadQFATorS0FHUmvkMi7b8YfMY=; b=q/+MiC9qMohmUj/IfvAULozzdAfL4TNjfsluSeQ+yD39+0hh/aofuxP/aKDlhgmDxG D1JEfySjMSUrY+hI2lszBeM7zTvXaJBnmqGjvY8O915o1vaAWxJFhZBm3QPABB638+MZ SHyQiBDMxqoGPe4xrDjfXn6foCTKPnsCWV/xTP8GkeWDoGFd9CJF+w/mAXvb3nb+B56R pggu4p399vR041pRLiT9LdalhncTBDvZTMHoHTt6OBUUwaDqQKTKJuCA5Zl37SLONMCi QZCqKZcDxPrjuhonWejbjql8zfDjC8i8e1fdGD4CLFg1m8aeA+v0FHGCBKhnDV1m/UJh dwQw== X-Gm-Message-State: AOAM532Wvv7RdcPncZ7dok1CPbQSLT4UN/YBVc1UFhhCbOD7oit088xz Ju8DU28ZidqNSjUXbZDRBUG/MQ== X-Received: by 2002:a17:902:8643:: with SMTP id y3mr13409666plt.199.1596820855376; Fri, 07 Aug 2020 10:20:55 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id e29sm4935070pfj.92.2020.08.07.10.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2020 10:20:54 -0700 (PDT) Date: Fri, 7 Aug 2020 10:20:53 -0700 From: Kees Cook To: Kristen Carlson Accardi Cc: Joe Lawrence , tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, arjan@linux.intel.com, x86@kernel.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, rick.p.edgecombe@intel.com, live-patching@vger.kernel.org Subject: Re: [PATCH v4 00/10] Function Granular KASLR Message-ID: <202008071019.BF206AE8BD@keescook> References: <20200717170008.5949-1-kristen@linux.intel.com> <20200804182359.GA23533@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 07, 2020 at 09:38:11AM -0700, Kristen Carlson Accardi wrote: > Thanks for testing. Yes, Josh and I have been discussing the orc_unwind > issues. I've root caused one issue already, in that objtool places an > orc_unwind_ip address just outside the section, so my algorithm fails > to relocate this address. There are other issues as well that I still > haven't root caused. I'll be addressing this in v5 and plan to have > something that passes livepatch testing with that version. FWIW, I'm okay with seeing fgkaslr be developed progressively. Getting it working with !livepatching would be fine as a first step. There's value in getting the general behavior landed, and then continuing to improve it. -- Kees Cook