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=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 DD1B0C2D0A3 for ; Wed, 4 Nov 2020 00:33:02 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 76649223C7 for ; Wed, 4 Nov 2020 00:33:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aq56cMvg"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="ER7zLL0f" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 76649223C7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Mime-Version:References:In-Reply-To:Message-Id: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rA0NcwiBwwoQ6xqrmdKyQUb5dpoFzsBiy/VYn5JqDHM=; b=aq56cMvgWOPlwbsl7xLi2FaOv G5CVa/E1k4DJLI/7R92AMPCaEniEygHyH459/EfhcZc6ApqiOndMJfhpoBawRc+GZh7awGeDLpwKC ux24Jn1dbtz0g2BCO0ZhZDEHa1+eorZgiA3tYDJxtQXuyzvifwf9SVIHtGNgHEs518iNjheEmnA0G m2L9bYuYEdo04q6wb5l7TFwrTL4zZGJY3zDO6Ijj8BZX/K4ZGtgUCLoSDyTakHlgWt2eYWEouZ4st Qtt3VjGsYJsIjhkKpuCMYK5+kZzIBDh8Jvz85F24UMf6nI7wxf0BEI5oqQlfUaygZvSiur0N6GrFJ QBz727ibw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ka6hk-0005mh-NK; Wed, 04 Nov 2020 00:31:13 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ka6hh-0005lN-3u for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2020 00:31:10 +0000 Received: from X1 (unknown [208.106.6.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 42824223EA; Wed, 4 Nov 2020 00:31:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604449867; bh=PJ+R6XPlsYAvbfPPVfH/b36l9Qxf3mjjxVF2HSd4mPY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ER7zLL0fsJywguzjfs3PdQZTmOgVAwtAz5yE5+b1SdacnLAOa3OQtAGteR5rW7qCD Ywc7Z9rUQo9Vi+5FVv3vDhZ6WcR6fNJM16p3Tc2cdLZyMHI3nO70s8Q5UgVBzUwL0U RpnJUxRfACjNdutK4tXoVqBpsWdb3+kUMVEy2qI4= Date: Tue, 3 Nov 2020 16:31:03 -0800 From: Andrew Morton To: Marco Elver Subject: Re: [PATCH v7 0/9] KFENCE: A low-overhead sampling-based memory safety error detector Message-Id: <20201103163103.109deb9d49a140032d67434f@linux-foundation.org> In-Reply-To: <20201103175841.3495947-1-elver@google.com> References: <20201103175841.3495947-1-elver@google.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_193109_364736_2D225A8C X-CRM114-Status: GOOD ( 15.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, hdanton@sina.com, linux-doc@vger.kernel.org, peterz@infradead.org, catalin.marinas@arm.com, dave.hansen@linux.intel.com, linux-mm@kvack.org, edumazet@google.com, glider@google.com, hpa@zytor.com, cl@linux.com, will@kernel.org, sjpark@amazon.com, corbet@lwn.net, x86@kernel.org, kasan-dev@googlegroups.com, mingo@redhat.com, vbabka@suse.cz, rientjes@google.com, aryabinin@virtuozzo.com, joern@purestorage.com, keescook@chromium.org, paulmck@kernel.org, jannh@google.com, andreyknvl@google.com, bp@alien8.de, luto@kernel.org, Jonathan.Cameron@huawei.com, tglx@linutronix.de, dvyukov@google.com, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, penberg@kernel.org, iamjoonsoo.kim@lge.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 3 Nov 2020 18:58:32 +0100 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. > > KFENCE is designed to be enabled in production kernels, and has near > zero performance overhead. Compared to KASAN, KFENCE trades performance > for precision. The main motivation behind KFENCE's design, is that with > enough total uptime KFENCE will detect bugs in code paths not typically > exercised by non-production test workloads. One way to quickly achieve a > large enough total uptime is when the tool is deployed across a large > fleet of machines. Has kfence detected any kernel bugs yet? What is its track record? Will a kfence merge permit us to remove some other memory debugging subsystem? We seem to have rather a lot of them. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel