Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 7 Nov 2017 13:56:05 +0000
From: David Laight <David.Laight@...LAB.COM>
To: "'Tobin C. Harding'" <me@...in.cc>, "kernel-hardening@...ts.openwall.com"
	<kernel-hardening@...ts.openwall.com>
CC: "Jason A. Donenfeld" <Jason@...c4.com>, Theodore Ts'o <tytso@....edu>,
	Linus Torvalds <torvalds@...ux-foundation.org>, Kees Cook
	<keescook@...omium.org>, Paolo Bonzini <pbonzini@...hat.com>, Tycho Andersen
	<tycho@...ker.com>, "Roberts, William C" <william.c.roberts@...el.com>, Tejun
 Heo <tj@...nel.org>, Jordan Glover <Golden_Miller83@...tonmail.ch>, Greg KH
	<gregkh@...uxfoundation.org>, Petr Mladek <pmladek@...e.com>, "Joe Perches"
	<joe@...ches.com>, Ian Campbell <ijc@...lion.org.uk>, "Sergey Senozhatsky"
	<sergey.senozhatsky@...il.com>, Catalin Marinas <catalin.marinas@....com>,
	Will Deacon <wilal.deacon@....com>, Steven Rostedt <rostedt@...dmis.org>,
	Chris Fries <cfries@...gle.com>, Dave Weinstein <olorin@...gle.com>, Daniel
 Micay <danielmicay@...il.com>, Djalal Harouni <tixxdz@...il.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Network
 Development <netdev@...r.kernel.org>, David Miller <davem@...emloft.net>
Subject: RE: [PATCH v4] scripts: add leaking_addresses.pl

From: Tobin C. Harding
> Sent: 07 November 2017 10:32
>
> Currently we are leaking addresses from the kernel to user space. This
> script is an attempt to find some of those leakages. Script parses
> `dmesg` output and /proc and /sys files for hex strings that look like
> kernel addresses.
...

Maybe the %p that end up in dmesg (via the kernel message buffer) should
be converted to text in a form that allows the code that reads them to
substitute alternate text for non-root users?

Then the actual addresses will be available to root (who can probably
get most by other means) but not to the casual observer.

	David

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.