From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f198.google.com (mail-io0-f198.google.com [209.85.223.198]) by kanga.kvack.org (Postfix) with ESMTP id 4E7C36B0007 for ; Fri, 29 Jun 2018 12:36:13 -0400 (EDT) Received: by mail-io0-f198.google.com with SMTP id s24-v6so7401363iob.5 for ; Fri, 29 Jun 2018 09:36:13 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l11-v6sor3247778ioe.171.2018.06.29.09.36.12 for (Google Transport Security); Fri, 29 Jun 2018 09:36:12 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180629110709.GA17859@arm.com> References: <20180628105057.GA26019@e103592.cambridge.arm.com> <20180629110709.GA17859@arm.com> From: Andrey Konovalov Date: Fri, 29 Jun 2018 18:36:10 +0200 Message-ID: Subject: Re: [PATCH v4 00/17] khwasan: kernel hardware assisted address sanitizer Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Will Deacon Cc: Dave Martin , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Catalin Marinas , Christoph Lameter , Andrew Morton , Mark Rutland , Nick Desaulniers , Marc Zyngier , Ard Biesheuvel , "Eric W . Biederman" , Ingo Molnar , Paul Lawrence , Geert Uytterhoeven , Arnd Bergmann , "Kirill A . Shutemov" , Greg Kroah-Hartman , Kate Stewart , Mike Rapoport , kasan-dev , linux-doc@vger.kernel.org, LKML , Linux ARM , linux-sparse@vger.kernel.org, Linux Memory Management List , Linux Kbuild mailing list , Chintan Pandya , Jacob Bramley , Jann Horn , Ruben Ayrapetyan , Lee Smith , Kostya Serebryany , Mark Brand , Ramana Radhakrishnan , Evgeniy Stepanov On Fri, Jun 29, 2018 at 1:07 PM, Will Deacon wrote: > It might not seen sensible, but we could still be relying on this in the > kernel and so this change would introduce a regression. I think we need > a way to identify such pointer usage before these patches can seriously be > considered for mainline inclusion. Another point that I have here is that KHWASAN is a debugging tool not meant to be used in production. We're not trying to change the ABI or something like that (referring to the other HWASAN patchset). We can fix up the non obvious places where untagging is needed in a case by case basis with additional patches when testing reveals it.