From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f197.google.com (mail-io0-f197.google.com [209.85.223.197]) by kanga.kvack.org (Postfix) with ESMTP id 243E86B0003 for ; Tue, 6 Mar 2018 13:21:13 -0500 (EST) Received: by mail-io0-f197.google.com with SMTP id d18so19496446iob.23 for ; Tue, 06 Mar 2018 10:21:13 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id i1sor5918525iob.36.2018.03.06.10.21.12 for (Google Transport Security); Tue, 06 Mar 2018 10:21:12 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20180304114439.zxksut65mefrpc7w@gmail.com> From: Andrey Konovalov Date: Tue, 6 Mar 2018 19:21:09 +0100 Message-ID: Subject: Re: [RFC PATCH 00/14] khwasan: kernel hardware assisted address sanitizer Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Geert Uytterhoeven Cc: Ingo Molnar , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Jonathan Corbet , Catalin Marinas , Will Deacon , Theodore Ts'o , Jan Kara , Christopher Li , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Masahiro Yamada , Michal Marek , Mark Rutland , Ard Biesheuvel , Yury Norov , Nick Desaulniers , Marc Zyngier , Bob Picco , Suzuki K Poulose , Kristina Martsenko , Punit Agrawal , Dave Martin , James Morse , Julien Thierry , Michael Weiser , Steve Capper , Thomas Gleixner , Sandipan Das , Paul Lawrence , David Woodhouse , Kees Cook , Josh Poimboeuf , Arnd Bergmann , kasan-dev , linux-doc@vger.kernel.org, Linux Kernel Mailing List , Linux ARM , linux-ext4@vger.kernel.org, linux-sparse@vger.kernel.org, Linux MM , linux-kbuild , Kostya Serebryany , Evgeniy Stepanov , Lee Smith , Ramana Radhakrishnan , Jacob Bramley , Ruben Ayrapetyan , Kees Cook , Jann Horn , Mark Brand On Sun, Mar 4, 2018 at 4:49 PM, Geert Uytterhoeven wrote: > Hi Ingo, > > On Sun, Mar 4, 2018 at 12:44 PM, Ingo Molnar wrote: >> * Geert Uytterhoeven wrote: >>> On Fri, Mar 2, 2018 at 8:44 PM, Andrey Konovalov wrote: >>> > >>> > The overall idea of the approach used by KHWASAN is the following: >>> > >>> > 1. By using the Top Byte Ignore arm64 CPU feature, we can store pointer >>> > tags in the top byte of each kernel pointer. >>> >>> And for how long will this be OK? >> >> Firstly it's not for production kernels, it's a hardware accelerator for an >> intrusive debug feature, so it shouldn't really matter, right? > > Sorry, I didn't know it was a debug feature. Hi! Sorry, I'll add a description of what KASAN is in the next revision to avoid confusion. Thanks! -- 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