All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tobin C. Harding" <me@tobin.cc>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Felix Fietkau <nbd@nbd.name>,
	kernel-hardening@lists.openwall.com,
	Tycho Andersen <tycho@tycho.ws>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Kees Cook <keescook@chromium.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	Alexei Starovoitov <ast@kernel.org>,
	linux-kernel@vger.kernel.org,
	Network Development <netdev@vger.kernel.org>
Subject: [kernel-hardening] Re: [PATCH 1/3] kallsyms: don't leak address when symbol not found
Date: Tue, 19 Dec 2017 11:24:18 +1100	[thread overview]
Message-ID: <20171219002418.GF19604@eros> (raw)
In-Reply-To: <20171218184324.527ffd0e@gandalf.local.home>

On Mon, Dec 18, 2017 at 06:43:24PM -0500, Steven Rostedt wrote:
> On Tue, 19 Dec 2017 09:41:29 +1100
> "Tobin C. Harding" <me@tobin.cc> wrote:
> 
> > Current suggestion on list is to remove this function. Do you have a use
> > case in mind where debugging will break? We could add a fix to this
> > series if so. Otherwise next version will likely drop
> > string_is_no_symbol()
> 
> What about adding a kernel command line parameter that lets one put
> back the old behavior.
> 
> "insecure_print_all_symbols" ?

Cool. I've not done that before it will be a good learning
experience. I'll hack it up and see what people think.

thanks,
Tobin.

WARNING: multiple messages have this Message-ID (diff)
From: "Tobin C. Harding" <me@tobin.cc>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Felix Fietkau <nbd@nbd.name>,
	kernel-hardening@lists.openwall.com,
	Tycho Andersen <tycho@tycho.ws>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Kees Cook <keescook@chromium.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	Alexei Starovoitov <ast@kernel.org>,
	linux-kernel@vger.kernel.org,
	Network Development <netdev@vger.kernel.org>
Subject: Re: [PATCH 1/3] kallsyms: don't leak address when symbol not found
Date: Tue, 19 Dec 2017 11:24:18 +1100	[thread overview]
Message-ID: <20171219002418.GF19604@eros> (raw)
In-Reply-To: <20171218184324.527ffd0e@gandalf.local.home>

On Mon, Dec 18, 2017 at 06:43:24PM -0500, Steven Rostedt wrote:
> On Tue, 19 Dec 2017 09:41:29 +1100
> "Tobin C. Harding" <me@tobin.cc> wrote:
> 
> > Current suggestion on list is to remove this function. Do you have a use
> > case in mind where debugging will break? We could add a fix to this
> > series if so. Otherwise next version will likely drop
> > string_is_no_symbol()
> 
> What about adding a kernel command line parameter that lets one put
> back the old behavior.
> 
> "insecure_print_all_symbols" ?

Cool. I've not done that before it will be a good learning
experience. I'll hack it up and see what people think.

thanks,
Tobin.

  reply	other threads:[~2017-12-19  0:24 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-17 23:53 [kernel-hardening] [PATCH 0/3] kallsyms: don't leak address Tobin C. Harding
2017-12-17 23:53 ` Tobin C. Harding
2017-12-17 23:53 ` [kernel-hardening] [PATCH 1/3] kallsyms: don't leak address when symbol not found Tobin C. Harding
2017-12-17 23:53   ` Tobin C. Harding
2017-12-18  9:55   ` [kernel-hardening] " Felix Fietkau
2017-12-18  9:55     ` Felix Fietkau
2017-12-18 22:41     ` [kernel-hardening] " Tobin C. Harding
2017-12-18 22:41       ` Tobin C. Harding
2017-12-18 23:43       ` [kernel-hardening] " Steven Rostedt
2017-12-18 23:43         ` Steven Rostedt
2017-12-19  0:24         ` Tobin C. Harding [this message]
2017-12-19  0:24           ` Tobin C. Harding
2017-12-17 23:53 ` [kernel-hardening] [PATCH 2/3] vsprintf: print <no-symbol> if " Tobin C. Harding
2017-12-17 23:53   ` Tobin C. Harding
2017-12-18  0:04   ` [kernel-hardening] " Joe Perches
2017-12-18  0:04     ` Joe Perches
2017-12-18  1:04     ` [kernel-hardening] " Tobin C. Harding
2017-12-18  1:04       ` Tobin C. Harding
2017-12-17 23:53 ` [kernel-hardening] [PATCH 3/3] trace: print address " Tobin C. Harding
2017-12-17 23:53   ` Tobin C. Harding
2017-12-18 16:49   ` [kernel-hardening] " Steven Rostedt
2017-12-18 16:49     ` Steven Rostedt
2017-12-18 21:16     ` [kernel-hardening] " Tobin C. Harding
2017-12-18 21:16       ` Tobin C. Harding
2017-12-18 23:51       ` [kernel-hardening] " Steven Rostedt
2017-12-18 23:51         ` Steven Rostedt
2017-12-19  0:22         ` [kernel-hardening] " Tobin C. Harding
2017-12-19  0:22           ` Tobin C. Harding
2017-12-19  3:00         ` [kernel-hardening] " Tobin C. Harding
2017-12-19  3:00           ` Tobin C. Harding
2017-12-19  3:02           ` [kernel-hardening] " Tobin C. Harding
2017-12-19  3:02             ` Tobin C. Harding
2017-12-19  3:37           ` [kernel-hardening] " Steven Rostedt
2017-12-19  3:37             ` Steven Rostedt
2017-12-19  4:20             ` [kernel-hardening] " Tobin C. Harding
2017-12-19  4:20               ` Tobin C. Harding
2017-12-18 22:35     ` [kernel-hardening] " Tobin C. Harding
2017-12-18 22:35       ` Tobin C. Harding
2017-12-19 23:19   ` [kernel-hardening] " kbuild test robot
2017-12-19 23:19     ` kbuild test robot
2017-12-19 23:39   ` [kernel-hardening] " kbuild test robot
2017-12-19 23:39     ` kbuild test robot
2017-12-18  5:31 ` [kernel-hardening] [PATCH 0/3] kallsyms: don't leak address Michael Ellerman
2017-12-18  5:31   ` Michael Ellerman
2017-12-18  6:00   ` Tobin C. Harding
2017-12-18  9:17     ` Tobin C. Harding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171219002418.GF19604@eros \
    --to=me@tobin.cc \
    --cc=akpm@linux-foundation.org \
    --cc=ast@kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=keescook@chromium.org \
    --cc=kernel-hardening@lists.openwall.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nbd@nbd.name \
    --cc=netdev@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=torvalds@linux-foundation.org \
    --cc=tycho@tycho.ws \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.