From mboxrd@z Thu Jan 1 00:00:00 1970 Reply-To: kernel-hardening@lists.openwall.com MIME-Version: 1.0 Sender: linus971@gmail.com In-Reply-To: References: <20160623143126.GA16664@redhat.com> <20160623170352.GA17372@redhat.com> <20160623185340.GO30154@twins.programming.kicks-ass.net> From: Linus Torvalds Date: Fri, 24 Jun 2016 10:51:35 -0700 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: [kernel-hardening] Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core) To: Brian Gerst Cc: Peter Zijlstra , Oleg Nesterov , Andy Lutomirski , Andy Lutomirski , the arch/x86 maintainers , Linux Kernel Mailing List , "linux-arch@vger.kernel.org" , Borislav Petkov , Nadav Amit , Kees Cook , "kernel-hardening@lists.openwall.com" , Josh Poimboeuf , Jann Horn , Heiko Carstens List-ID: On Fri, Jun 24, 2016 at 10:40 AM, Linus Torvalds wrote: > > I think I have a few new places to look at.. Yeah, making the 'stack' pointer be 'unsigned long *' rather than 'void *' shows a number of places where we were very confused about things. And in particular, the init_task stack initialization initialized it to the init_thread pointer. Which was definitely deadly. Let's see if that was it.. Linus