Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14175017pxu; Mon, 4 Jan 2021 15:11:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0O/hks3xG/ONNUfeLvepFUWUjwft1jsmM0yWCUBdC5sGAFrp/Yr516lKPDIDkTTjePTZn X-Received: by 2002:a17:906:cc9c:: with SMTP id oq28mr68554030ejb.224.1609801904543; Mon, 04 Jan 2021 15:11:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609801904; cv=none; d=google.com; s=arc-20160816; b=P7dbRpzbwsEEJn1UvdcWc6kWLdG2cOqu1rhl6ZZB0NeaW3ARVgnCYf4Q6diz5XPVbL kYAo0gC4ubmOyGFKTaDGpd1913QoIgX88EqzZUeweG7FWf5YwvcfFteRsY9ZcYM1O8S3 cX8xhlhYRfPHdjaKiVOCnXwuuhH5Utj0eDP5hqhZG/nZO/2Zac4nb7vkMHMBaNSF+wI6 vEiy//8wdM3A/ycyDUWusg7gSMo1kZwCY7JxbSA27G6FvqWWbwHimOZldZPdtwCJN1te 3/NpWekkMNbz9D2sq1omgwwPsBlr5l4YCuqQGF4KHQ7eT2DyNyGK/uD5sHJZiOYupT5Q XnFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5yhsPzKCS64Ym9MievqPZFkfrX4PHb4luBL7gT8eRhE=; b=hULpy4MbMLGdc7kFSGr/ANgursYM4xtooW48h8+SwCjSNT/W+jdOgVgizwU+Ib9Jyg sn1EOA33I2YZ347LJ8NlQ4zHEXzqRhUyga/l/oI4kTyugkT7Hj24doSY9K9H2zsIYAV1 aUvdDTHHR32NofjL80S965lZk8PJ4hESj8RllZp77oV4zm+3vXtI1M5gTk1GLW6kfDae 6i2CiBKh+ZKhlgutSaLbJWZwP/uDmfEjtfuNp3nhx2PghnJG/qPvA+RTerXTdss4bFvv KRY2A34GQ7hNc9jXqFCfn7OF9HCXZyqJkMunuYd+pSTO5bAyFJCiWtxPVwikTu5m3xXy SkIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="dyW/x3cu"; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zh12si29625550ejb.148.2021.01.04.15.11.20; Mon, 04 Jan 2021 15:11:44 -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=@redhat.com header.s=mimecast20190719 header.b="dyW/x3cu"; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727148AbhADXJK (ORCPT + 99 others); Mon, 4 Jan 2021 18:09:10 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:51465 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbhADXJK (ORCPT ); Mon, 4 Jan 2021 18:09:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1609801664; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5yhsPzKCS64Ym9MievqPZFkfrX4PHb4luBL7gT8eRhE=; b=dyW/x3cu1+ypli8rIBbSWu6oiRmmWJYRRz8vPsoVo1IyJX9nMzEBHr68p/SJgwTaws4/6X VbAjNiGZqs6jjljLUgW2pjPn9pXIhx0JMmAyS41Jlej2RdLsjW/4VJ3ZebNjuB4I59bz3k 7/OoSvwCqZ5SUkgqJDZ8Yqg6Z4TulF4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-543-rtRqDYBVNau_mGlI3AI-kg-1; Mon, 04 Jan 2021 18:07:40 -0500 X-MC-Unique: rtRqDYBVNau_mGlI3AI-kg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6D416801B33; Mon, 4 Jan 2021 23:07:37 +0000 (UTC) Received: from treble (ovpn-113-48.rdu2.redhat.com [10.10.113.48]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 439575D9C6; Mon, 4 Jan 2021 23:07:34 +0000 (UTC) Date: Mon, 4 Jan 2021 17:07:32 -0600 From: Josh Poimboeuf To: Kees Cook Cc: Ingo Molnar , Peter Zijlstra , "Paul E. McKenney" , Kalle Valo , Andrew Morton , Jakub Kicinski , Viresh Kumar , Andy Shevchenko , Geert Uytterhoeven , Olof Johansson , Chris Wilson , Thomas Gleixner , David Windsor , linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Rik van Riel , George Spelvin Subject: Re: [PATCH v2] bug: further enhance use of CHECK_DATA_CORRUPTION Message-ID: <20210104230426.ygzkhnonys4mtc7z@treble> References: <1491343938-75336-1-git-send-email-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1491343938-75336-1-git-send-email-keescook@chromium.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 04, 2017 at 03:12:11PM -0700, Kees Cook wrote: > This continues in applying the CHECK_DATA_CORRUPTION tests where > appropriate, and pulling similar CONFIGs under the same check. Most > notably, this adds the checks to refcount_t so that system builders can > Oops their kernels when encountering a potential refcounter attack. (And > so now the LKDTM tests for refcount issues pass correctly.) > > The series depends on the changes in -next made to lib/refcount.c, > so it might be easiest if this goes through the locking tree... > > v2 is a rebase to -next and adjusts to using WARN_ONCE() instead of WARN(). > > -Kees > > v1 was here: https://lkml.org/lkml/2017/3/6/720 Ping? Just wondering what ever happened to this 3+ year old series... -- Josh