Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp848545pxb; Tue, 3 Nov 2020 14:19:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGWhweDgYLKG+NQAgluHnrjGIPqwLKs/O6OgOd1tJ0RuOiHzR/nm2ksBojEVPqGrhPJASX X-Received: by 2002:a17:907:c14:: with SMTP id ga20mr15323908ejc.526.1604441966684; Tue, 03 Nov 2020 14:19:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604441966; cv=none; d=google.com; s=arc-20160816; b=muLV/oACzMPCzPA6fgP7eUhB0T0xX9TaKbRdOOnW8Ofnl2hwjmkEzAjLkeTn7V9wEk so+ynUu7omzb438DX3iavto0TYfibtBMFsAmBQirIxHMkvXAy/sLKCgQGWhv+AFUgAuG W+fL2rjPE74SNxndFoQDHWtbCJatnuyzYQ8WCnEdWCc635x52YWB4Jr1++Ov211TrZ8K htJV3Jm+vUp8rtHWFGjSRwyRoIDFlonvdAYyXJ5VdWAH/xLqZKf3hR0Shuoh4M1K03FE MLrdgSaB01M9C7AE4PYSXLhlonqF9ogZyORlkOPl9+iKhstfs9dchlAGJs8l0TBj1qxD Erng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1oYKXAN5GCNK52qKASABkZS4MsOww72x3szPS4VEUtM=; b=ssj/xyxIL8dNrckCnll5fu+QwxTWpiHzCLpHrc2x3MjBzEzD/U+yslu3y8CmmgUtta +wWStJNwBxciq/278vNDL27wA5pb/woTmcUaqjIq38ItXamHg6OOSvLgNvrDMnDQcGTp UR9E9UgceICd05q0MqePP5MSjSyqpkw0HE5ZCPeDNznl/WPL4GnU4wei8IuiF1SXiB96 3zvZWZATvoOJedUSn85YKhC3OMfL3YgYcSpzCnhtsXkWpG2h48m7v2eZz8y40QW4zkzN wQwGZiUBclRTtQ+LgEgY7HFOmQSi0i8mJI3sfhStcKi6lW5REOEbvKHgTVVyWLJIKuwE MZRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oDO+8A43; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si4407633edv.433.2020.11.03.14.19.03; Tue, 03 Nov 2020 14:19:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oDO+8A43; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729744AbgKCWRl (ORCPT + 99 others); Tue, 3 Nov 2020 17:17:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729085AbgKCWRk (ORCPT ); Tue, 3 Nov 2020 17:17:40 -0500 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07088C0613D1 for ; Tue, 3 Nov 2020 14:17:39 -0800 (PST) Received: by mail-lj1-x241.google.com with SMTP id 11so1229149ljf.2 for ; Tue, 03 Nov 2020 14:17:39 -0800 (PST) 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=1oYKXAN5GCNK52qKASABkZS4MsOww72x3szPS4VEUtM=; b=oDO+8A43pqsEdpFwep2lqes7WkU1VVBO3F6WnCbaHxb3MX4QnoEw9cx5MceFMPFccv w/Spe4LXupBhmXcIEiHoP6MNqnoRimNc+UWR6RGvVYasygrQdgTXfWRwbY/ApwsoSKSB MOFARBshPTNfVOtqJLAArPNY7eq0fe402dEWg3GeBu21SisinttG6Ro/KF7G9Zv+51/v 8pLLm7Czirbm2NGXxg7j8H3jTEOq+YZPyih9FiXDM2bsIQ27EXa+qkaVZ3DVgMQ8kONa 1VhMutiL6QyCTzpeH21STdkZ6ab4guePdNBu6c7qjXpMHJdoth41JoReEpIEklcZa14o pIBw== 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=1oYKXAN5GCNK52qKASABkZS4MsOww72x3szPS4VEUtM=; b=I+GSfHnlYEVKIqJCWTTBI2KbBYQMGLxwkqT/tfyxnFTuwjtINM3zNsByK4FjY56omu cy1kkIF2odwQgFdxVrI2iIy7g9s3+YQ6LHYHGAC6uoHqcvrXvFc/rvhjCy7G5PjPw31w WG3bzGGSZc+1CMDnqgiIxXvlWcEpxZoZ5qu1m/bxUIM7ujGhOwitAhG3aCESMzLdbMVB MQCZ5RvLt3KmKiDSRZdH0ybfNe5PwW3ulpud7nuPq4W2s2fzGaaoZ3VXhE+FpODWcxXK KV3khtGbX1JVFcFGf7jmOjTrvh2ptyBVfEmLag/jyHFPfjGSpqX2RJQDfAqybi53tWD8 C62g== X-Gm-Message-State: AOAM530LID8kp6wFfhnqi3BOm/kTWZHhJtcQdaUCWMM3l9NUwzEUpPj8 EeyTUoicOe6nEB8PKkz4X9wft/Y2qmuieFfqLKa3uA== X-Received: by 2002:a2e:9a17:: with SMTP id o23mr10126372lji.242.1604441858170; Tue, 03 Nov 2020 14:17:38 -0800 (PST) MIME-Version: 1.0 References: <20201103175841.3495947-1-elver@google.com> <20201103175841.3495947-2-elver@google.com> In-Reply-To: <20201103175841.3495947-2-elver@google.com> From: Jann Horn Date: Tue, 3 Nov 2020 23:17:11 +0100 Message-ID: Subject: Re: [PATCH v7 1/9] mm: add Kernel Electric-Fence infrastructure To: Marco Elver 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 , SeongJae Park Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 3, 2020 at 6:58 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. Reviewed-by: Jann Horn