Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1784675ybv; Thu, 6 Feb 2020 09:44:32 -0800 (PST) X-Google-Smtp-Source: APXvYqz85b8UWAd+ELvI4NA4I7NhTR3eQip7yQesBr9DIz3Ok5WOu3AC4ZlapcYTAnA8iciEiOhm X-Received: by 2002:a54:4011:: with SMTP id x17mr7432567oie.35.1581011071908; Thu, 06 Feb 2020 09:44:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581011071; cv=none; d=google.com; s=arc-20160816; b=d7qXsPQDNMcbpiSngCfsJikOFwlhpMRBxWNre8tKz9V1jfQ00+wB7wI19xQ6+3zeaI rnY3lIZ2ifxNy/5Mqxu31jc37xzoJNxOHfrPxHW0rHSLJvewaM3070PD5aHs0WrXWt4l UqphfquhxLzGBwdAmBjcFoksSFyrLaKoNp1n+kQi2f/Mr57sXdoBoR7Q4r5HhGh3TC9Y E1Lj4cvc8HGjjzVL9OtjvjozYfnkaSC4gLekuQPogwWbtSjQZkyh2gCPixvKMqrXB3Di wOigFlVinzw40t64EUHMtk3zfhgGUmc2ncN1iDC6wPRYL3XmOpfdLp9TzPIGd0gpgA0G Cl3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=cPa/Q+EIhhkkNoelDNoQMt2dDNwMp9C5RDBMzU41oAU=; b=muGqWpn4Erbrxy6E+ybB8dFYyF2Yb476z9coB2nQ1ivSJv9zj/FPZAl0K8wb6y7bK3 HvxLLuZT6y8fxyqsmuoFLKGszkSA7t87/zuyiXet8dMhDgGC9lto3O5vzCFrp9XZn3s9 sdA6kxEwDMoefheg6uMbSQD4PN4cZHjqKV7cSTquI4jHpJ0DIXzSGdYOegNPj/cw1Yry h35a2eCUjtqRNMclegiYsRwy7ZTcFYDUiPOtKGdiynAEA8l3TGcKK0QL2cJpxXueLFev QqgXRWf1BBkwKriP7kNHhqFv3MpbHLbecj7e/Xk8aIGd/PD5OgH054tMd7VqiEhUqKsk bZhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f28si176482otc.110.2020.02.06.09.44.19; Thu, 06 Feb 2020 09:44:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727698AbgBFRnW (ORCPT + 99 others); Thu, 6 Feb 2020 12:43:22 -0500 Received: from mga09.intel.com ([134.134.136.24]:51172 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727479AbgBFRnW (ORCPT ); Thu, 6 Feb 2020 12:43:22 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2020 09:43:21 -0800 X-IronPort-AV: E=Sophos;i="5.70,410,1574150400"; d="scan'208";a="379136126" Received: from kcaccard-mobl.amr.corp.intel.com (HELO kcaccard-mobl1.jf.intel.com) ([10.24.10.96]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2020 09:43:21 -0800 Message-ID: Subject: Re: [RFC PATCH 08/11] x86: Add support for finer grained KASLR From: Kristen Carlson Accardi To: Peter Zijlstra Cc: Kees Cook , tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, arjan@linux.intel.com, rick.p.edgecombe@intel.com, x86@kernel.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com Date: Thu, 06 Feb 2020 09:43:21 -0800 In-Reply-To: <20200206173538.GY14914@hirez.programming.kicks-ass.net> References: <20200205223950.1212394-1-kristen@linux.intel.com> <20200205223950.1212394-9-kristen@linux.intel.com> <20200206103830.GW14879@hirez.programming.kicks-ass.net> <202002060356.BDFEEEFB6C@keescook> <20200206145253.GT14914@hirez.programming.kicks-ass.net> <9f337efdf226e51e3f5699243623e5de7505ac94.camel@linux.intel.com> <20200206173538.GY14914@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-02-06 at 18:35 +0100, Peter Zijlstra wrote: > On Thu, Feb 06, 2020 at 09:25:01AM -0800, Kristen Carlson Accardi > wrote: > > > That's right - all of these tables that you mention had relocs and > > thus > > I did not have to do anything special for them. The orc_unwind_ip > > tables get sorted during unwind_init(). > > No they're not: > > f14bf6a350df ("x86/unwind/orc: Remove boot-time ORC unwind tables > sorting") > > Or rather, it might be you're working on an old tree. Doh! Ok, I can make a patch to add it back based on CONFIG_FG_KASLR, or just do yet another resort at boot time.