Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp564256ybh; Wed, 22 Jul 2020 07:40:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4pJ7aUwcp7WoUd1tsqbvCzihabz2atMpasFqJvKXNVeRFye3cwA7T1SHsYQwfQLmtW5hg X-Received: by 2002:a17:906:6606:: with SMTP id b6mr31778989ejp.102.1595428853754; Wed, 22 Jul 2020 07:40:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595428853; cv=none; d=google.com; s=arc-20160816; b=oVa5IK9wTJCAgTQkpKbhwwtm79mQlfkehJN0JpcGPAWwNQNRSPFlH7vuu/xPq5VsJ9 +aiqe8rh9nCX7lhge9XkR8zuGmzdXGYiknwi3U9f88rLW/TTdA1/K/cEG2V4g7YuJ34i 9XsW33z9xJsgJ5biNWgxd7elWUq2gi9+IjKQAsVvjIK+uXve+Wb8zX5dtvPffbxnap/M CCJi/UQ2BwNA7q5Y7pDux3hu25iPQV80BUmIetsO4f8RaRN3zYeXhCY6w3WBBl9yBQAn YSysCXnPyhDRZlbU11IJqoZJ+rKqwDanB5nvBd8Wn/c5PKimSTbVc0H5hqjPfMY+GNFR /Bzg== 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=16Y8bWUyysyD6RX/r5XeFDtXgEqasoaIb5QlD/Fn9gY=; b=tbncjYKnrMecJaP845VQKETqoypuAjnJxaTemnGJcDDbv/BM9FxaO6H61nQp2CzV6h xkQFVMJRZ976dP4ql98Jp4j8yBcngwSNHRamo+rpWHlIhWxOlrO/gh2R0PW1RLEkw7yC 9vkSzCm9be3pADNXuqEDX8nXF4UIhE1l8AsfuP1s2rTGZLcaKwlTZxP92fPor2EzWee8 fz9UhrDe26a9DenU2iYH9CzFEO/FyfX4IIosvhexR0ANz+MBchHW+nTVczCIt95Z88YX 0M5p9iq8mLKo+2mFjZnQbVlr+3nTmMx52bvGISNktYTyH5o5kzS+cWnoOQ4bFMicY1WN cVvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="m6/oHRfM"; 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 c3si118147edn.385.2020.07.22.07.40.29; Wed, 22 Jul 2020 07:40:53 -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="m6/oHRfM"; 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 S1732584AbgGVOj6 (ORCPT + 99 others); Wed, 22 Jul 2020 10:39:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728837AbgGVOj6 (ORCPT ); Wed, 22 Jul 2020 10:39:58 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DFD7C0619DC for ; Wed, 22 Jul 2020 07:39:58 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id l63so1352445pge.12 for ; Wed, 22 Jul 2020 07:39:58 -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=16Y8bWUyysyD6RX/r5XeFDtXgEqasoaIb5QlD/Fn9gY=; b=m6/oHRfM8k+Nz9zcIKR0qeNOD5tEEwDyDId3PTGUUDN4p9UGsI0fn00KoI9/QyQ1v8 apM4heGRp20HL1suh7bRv/oYHQT+8FbwsOEUGzspMxDK5to8xMCVJ1IVeG4ELQ8PRnvM UVLan5R8bzs3XxdU33aX86W1aVtTlW0hiqd8Y= 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=16Y8bWUyysyD6RX/r5XeFDtXgEqasoaIb5QlD/Fn9gY=; b=RiNjsmaL2WLc6g13T1Dm3iFbcp6JQYOVr6GI+cJL5w8fC80NTYP2rgGulxRfvVl3Y/ HFelRMXPCu9iB/FD0+Z18aNieZfMU0E1hrGIk2RXkKsZGjSvy8M7o4zJ2qAmKOB2xE4M 5E8te6tIG7yhCHiE99ZWtXA6ksu6W86OtXp1ACpfbvkSEn9V6k4lIb/Xe1A/8prPYWrq 5O8DGjU5y9oCXhO2+/xdgwKrEDhJgli/Re/qxRQ382ICPhHgyRILW4NUqCWXr5SCR5z+ li8c9/qV59EB+jDaeUbauy+uY5j83IblF+iWoAl9yA1A5jDWQkXplieI0I+T+N/yYx3B /3Ww== X-Gm-Message-State: AOAM533utEUK5F6r4mls8PGlCvq+TfdNAoIhqp79vXfYrtryYhoIy4M7 9rsUhJ5InUfHJhvLOSfblS2QpQ== X-Received: by 2002:aa7:9ac6:: with SMTP id x6mr3300pfp.326.1595428797861; Wed, 22 Jul 2020 07:39:57 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id q17sm116352pfk.0.2020.07.22.07.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2020 07:39:56 -0700 (PDT) Date: Wed, 22 Jul 2020 07:39:55 -0700 From: Kees Cook To: Miroslav Benes Cc: Kristen Carlson Accardi , 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: <202007220738.72F26D2480@keescook> References: <20200717170008.5949-1-kristen@linux.intel.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 Wed, Jul 22, 2020 at 11:27:30AM +0200, Miroslav Benes wrote: > Let me CC live-patching ML, because from a quick glance this is something > which could impact live patching code. At least it invalidates assumptions > which "sympos" is based on. In a quick skim, it looks like the symbol resolution is using kallsyms_on_each_symbol(), so I think this is safe? What's a good selftest for live-patching? -- Kees Cook