From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f72.google.com (mail-vk0-f72.google.com [209.85.213.72]) by kanga.kvack.org (Postfix) with ESMTP id 378DE6B025F for ; Wed, 13 Jul 2016 18:01:49 -0400 (EDT) Received: by mail-vk0-f72.google.com with SMTP id r135so125321091vkf.0 for ; Wed, 13 Jul 2016 15:01:49 -0700 (PDT) Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com. [2607:f8b0:400c:c05::232]) by mx.google.com with ESMTPS id l189si921906vkh.174.2016.07.13.15.01.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jul 2016 15:01:48 -0700 (PDT) Received: by mail-vk0-x232.google.com with SMTP id x130so85238387vkc.0 for ; Wed, 13 Jul 2016 15:01:48 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1468446964-22213-2-git-send-email-keescook@chromium.org> References: <1468446964-22213-1-git-send-email-keescook@chromium.org> <1468446964-22213-2-git-send-email-keescook@chromium.org> From: Andy Lutomirski Date: Wed, 13 Jul 2016 15:01:28 -0700 Message-ID: Subject: Re: [PATCH v2 01/11] mm: Implement stack frame object validation Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Kees Cook Cc: "linux-kernel@vger.kernel.org" , Rik van Riel , Casey Schaufler , PaX Team , Brad Spengler , Russell King , Catalin Marinas , Will Deacon , Ard Biesheuvel , Benjamin Herrenschmidt , Michael Ellerman , Tony Luck , Fenghua Yu , "David S. Miller" , X86 ML , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Andy Lutomirski , Borislav Petkov , Mathias Krause , Jan Kara , Vitaly Wool , Andrea Arcangeli , Dmitry Vyukov , Laura Abbott , "linux-arm-kernel@lists.infradead.org" , "linux-ia64@vger.kernel.org" , linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, linux-arch , "linux-mm@kvack.org" , "kernel-hardening@lists.openwall.com" , Josh Poimboeuf On Wed, Jul 13, 2016 at 2:55 PM, Kees Cook wrote: > This creates per-architecture function arch_within_stack_frames() that > should validate if a given object is contained by a kernel stack frame. > Initial implementation is on x86. > > This is based on code from PaX. > This, along with Josh's livepatch work, are two examples of unwinders that matter for correctness instead of just debugging. ISTM this should just use Josh's code directly once it's been written. --Andy -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org