From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.4 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51D81C388F9 for ; Fri, 30 Oct 2020 10:57:09 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8CE7522267 for ; Fri, 30 Oct 2020 10:57:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="TfYtmrep" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8CE7522267 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 84CA66B005C; Fri, 30 Oct 2020 06:57:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7FC876B005D; Fri, 30 Oct 2020 06:57:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6C4656B0062; Fri, 30 Oct 2020 06:57:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0127.hostedemail.com [216.40.44.127]) by kanga.kvack.org (Postfix) with ESMTP id 3A4A86B005C for ; Fri, 30 Oct 2020 06:57:07 -0400 (EDT) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id CADF61EF1 for ; Fri, 30 Oct 2020 10:57:06 +0000 (UTC) X-FDA: 77428289652.22.roof31_2c0d38027295 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin22.hostedemail.com (Postfix) with ESMTP id A930A18038E68 for ; Fri, 30 Oct 2020 10:57:06 +0000 (UTC) X-HE-Tag: roof31_2c0d38027295 X-Filterd-Recvd-Size: 4835 Received: from mail-oi1-f194.google.com (mail-oi1-f194.google.com [209.85.167.194]) by imf32.hostedemail.com (Postfix) with ESMTP for ; Fri, 30 Oct 2020 10:57:06 +0000 (UTC) Received: by mail-oi1-f194.google.com with SMTP id d9so240758oib.3 for ; Fri, 30 Oct 2020 03:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x083AjvGF0zQfoi/Zp4lR99mcm5WG8qTkAtv8ezIp6w=; b=TfYtmrepxSGkTOhnz89oz6fSDep8VfjQbMpR6CczHyYU+W2W7jTUmEowCn4QD/hVvq dsWCZauyXVabXaqJnvVyWA0PwsX0aWqKTQ7ckuvxEREHo2CGKGVQcZRnxqxutoHya7za 6QPSPDYJmVISC6QxiRn1TMZpWFIqSBWHAMQRqRPj+wTPNmDukvtu9Vp56kZSAIBKkGLo 6Z5VieLX+zzEXrsM7nqfyZXoq6B6+/cUtEh46djyIf/4EhucCioVM3q8c00a0RdHT3AD RcDiuqZCdNgmt5y+jqSaBseAoLg3/PpF7r96838wOeOEM2oPoa0HChKzDMv6jrZVVaaS sfKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x083AjvGF0zQfoi/Zp4lR99mcm5WG8qTkAtv8ezIp6w=; b=ZCRa4kDGdVgKbREk+TuWtfMqVQl4P660uk61Yue2emgN3YVOGS52JJooqX/vm8Qcxf 5N6sk03HD3Rey9G4eoWhywauMBeUBmQj530wW/lX4HMronRslEL5RvnDWlyL8zQDCh6t 2z3bmzyoaE77PCnAmnC7y0VrAq8HRXacl/D+644N6nhj/EOzZWBWF4SfkMTRFpJCh7wX r+p4M+65Mryd363l5XImDlpn1CtqZcmkV4CdrKpq3NqCSM08LH9ZaXESl0QVcBOquKuN 5d22jRORd7imFdxd2E3zRXJlmDMVHrsYFTApDPEwZewjETOtkvzto+vY7LYZl7tJfDuq fKgg== X-Gm-Message-State: AOAM530FfgfepwREvdG5iQeNAanmZFAlDbOcisq0xl44HYhJrKvKfs4p tPM1pvBl32LAzK2r7mwaaGEsN9bnrqD9e/rJNLLZpg== X-Google-Smtp-Source: ABdhPJz3C4ZPru/opHgaUXloKSf0xyz52fj93A1p3T9rYcAFfZuZf7nAa+ojQJj0KzgJdsGQpQt03lRixeBInl+1H40= X-Received: by 2002:aca:4f55:: with SMTP id d82mr1153951oib.172.1604055425438; Fri, 30 Oct 2020 03:57:05 -0700 (PDT) MIME-Version: 1.0 References: <20201029131649.182037-1-elver@google.com> In-Reply-To: From: Marco Elver Date: Fri, 30 Oct 2020 11:56:53 +0100 Message-ID: Subject: Re: [PATCH v6 0/9] KFENCE: A low-overhead sampling-based memory safety error detector To: Jann Horn Cc: Andrew Morton , Alexander Potapenko , "H . Peter Anvin" , "Paul E . McKenney" , Andrey Konovalov , Andrey Ryabinin , Andy Lutomirski , Borislav Petkov , Catalin Marinas , Christoph Lameter , Dave Hansen , David Rientjes , Dmitry Vyukov , Eric Dumazet , Greg Kroah-Hartman , Hillf Danton , Ingo Molnar , Jonathan Cameron , Jonathan Corbet , Joonsoo Kim , =?UTF-8?Q?J=C3=B6rn_Engel?= , Kees Cook , Mark Rutland , Pekka Enberg , Peter Zijlstra , SeongJae Park , Thomas Gleixner , Vlastimil Babka , Will Deacon , "the arch/x86 maintainers" , "open list:DOCUMENTATION" , kernel list , kasan-dev , Linux ARM , Linux-MM Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, 30 Oct 2020 at 03:49, Jann Horn wrote: > On Thu, Oct 29, 2020 at 2:16 PM Marco Elver wrote: > > This adds the Kernel Electric-Fence (KFENCE) infrastructure. KFENCE is a > > low-overhead sampling-based memory safety error detector of heap > > use-after-free, invalid-free, and out-of-bounds access errors. This > > series enables KFENCE for the x86 and arm64 architectures, and adds > > KFENCE hooks to the SLAB and SLUB allocators. > > I think this is getting close to a good state, just a couple minor issues left. Thanks for your comments. We'll address all of them for v7. > Now that the magic "embed the memory pool in the BSS section" stuff is > gone, this series looks fairly straightforward. Good to hear. :-) Thanks, -- Marco