diff options
| author | Matthew Wilcox <mawilcox@microsoft.com> | 2018-04-11 02:33:06 +0300 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-11 20:28:35 +0300 | 
| commit | 68c1f08203f2b06b3b888229b1524cfbfe51660d (patch) | |
| tree | bea95dca78b080042951cb038efeb6a48622c060 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | 317506009216f5103e185fe626d61361a899909d (diff) | |
| download | linux-68c1f08203f2b06b3b888229b1524cfbfe51660d.tar.xz | |
lib/list_debug.c: print unmangled addresses
The entire point of printing the pointers in list_debug is to see if
there's any useful information in them (eg poison values, ASCII, etc);
obscuring them to see if they compare equal makes them much less useful.
If an attacker can force this message to be printed, we've already lost.
Link: http://lkml.kernel.org/r/20180401223237.GV13332@bombadil.infradead.org
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Tobin C. Harding <me@tobin.cc>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Eric Biggers <ebiggers3@gmail.com>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
