From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:58638 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731740AbeGZRy5 (ORCPT ); Thu, 26 Jul 2018 13:54:57 -0400 Date: Thu, 26 Jul 2018 12:37:19 -0400 From: Steven Rostedt To: Nick Desaulniers Cc: salyzyn@android.com, LKML , mingo@redhat.com, kernel-team@android.com, stable@vger.kernel.org Subject: Re: [PATCH] tracing: do not leak kernel addresses Message-ID: <20180726123719.0db9dca0@gandalf.local.home> In-Reply-To: References: <20180725202238.165314-1-salyzyn@android.com> <20180725210717.3b807191@vmware.local.home> <11437c3e-5131-7190-c496-7b51eb7fcc2a@android.com> <20180726112245.3c1bf91d@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On Thu, 26 Jul 2018 09:32:07 -0700 Nick Desaulniers wrote: > On Thu, Jul 26, 2018 at 8:22 AM Steven Rostedt wrote: > > > > On Thu, 26 Jul 2018 08:14:08 -0700 > > Mark Salyzyn wrote: > > > > > Thank you Steve, much appreciated feedback, I have asked the security > > > developers to keep this in mind and come up with a correct fix. > > > > > > The correct fix that meets your guidelines would _not_ be suitable for > > > stable due to the invasiveness it sounds, only for the latest will such > > > a rework make sense. As such, the fix proposed in this patch is the only > > > one that meets the bar for stable patch simplicity, and merely(!) needs > > > to state that if the fix is taken, perf and trace are broken. > > > > > > Posting this patch publicly on the lists, that may never be applied, may > > > be the limit of our responsibility for a fix to stable kernel releases, > > > to be optionally applied by vendors concerned with this CVE criteria? > > > > > > > The patch breaks the code it touches. It makes it useless. > > Doesn't that depend on kptr_restrict, or would it be broken if > kptr_restrict was set to 0? Is that what governs the output of kallsyms? -- Steve