From mboxrd@z Thu Jan 1 00:00:00 1970 Reply-To: kernel-hardening@lists.openwall.com Date: Wed, 12 Oct 2016 00:40:22 +0100 From: Mark Rutland Message-ID: <20161011234021.GA16858@remoulade> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [kernel-hardening] initcall randomization To: Ard Biesheuvel Cc: kernel-hardening@lists.openwall.com, Laura Abbott List-ID: On Tue, Oct 11, 2016 at 07:28:46PM +0100, Ard Biesheuvel wrote: > vmalloc and ioremap calls will simply be served bottom up, which is > why the beginning of the vmalloc area mostly looks the same between > boots, i.e., all non-kaslr boots look identical, and all kaslr boots > look identical with little variation. > > I am aware that random vmalloc is a bad idea, I must confess ignorance here; what problems does random vmalloc pose in particular? > hence my suggestion to perhaps randomize during the __init phase. I > must admit that this is simply me holding the randomization hammer and > looking for things that vaguely resemble nails, hence my request for > discussion rather than proposing patches. Do we have a particular threat model this helps with? Is it similar to that for SLUB freelist randomization? Do we have vmalloc area sepcific information leaks? Thanks, Mark.