Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1527967pxb; Fri, 20 Nov 2020 11:44:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxracn93CI8d5ebnIFp+SSuwZfXM5v958uowtzRjobcOYrbCuKZrk2NcgaYOz3xwADSzp10 X-Received: by 2002:a17:907:20ac:: with SMTP id pw12mr6651190ejb.245.1605901490243; Fri, 20 Nov 2020 11:44:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605901490; cv=none; d=google.com; s=arc-20160816; b=cmCL7Ff0HXU8djujuRPDrktYiFPPnUeWbpTVQWOnCzy9piPtrOBS/+HlAy4Hkt6ncT DwsFOeJMpL4noKUuE+wYVXzdv1/AlNhw7m6midQQGdE56i+SzJ7kkZ/8RG+3+Wz+5mqv pdlXx3uJIv5PVSYR0ylsJNJpRC4KWvjZBbSQ3a3Aw3srwkRMyy/dq7KOJqZBo3+FBkC4 6zgywLDvKBz3Up3qeU3NCCIntWSqNNv6XTN6iF0bCunGp3BmXFv8Eb0ZXcX4xZcV7GY5 6iVRdkL+w15LpXtwC5hNnjlTKIeNK1yoTWkrY+/asByLvDzPbmuZl4NFXICd2puzQmZK n8nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FcvJ2XThRkU1T/Rs2Tzb2h0oaIYPc8Jt02INLZSSIdg=; b=NT5WYtN7I4MXNaFqsTxC5ZZou8At87NpdiwlImJMsZ2ypAIOHTZ8bJMdp/kDKmyicg 88mHFPoSwNZTGIn5CRS3wf5AmrzBfc4I7fVPzGZheT4XAyNVkziDj50/aNGThS+v7Cru SY5t/TVYfGiWDE1WnynvAxfiKlMmwTklGwhvhR8vjt1UemYEr5qp1t1MxV03SnEDN2Hd pIGF2RHdN0bmmmf9NAR+SG89v6+SYvuI+21gUtwQscihpgyHvKmQhK/IHQxhKHG6wW/B fDmEmHIWs9kvSrwHOOvarFZeQzhjXnKP0LQ/d7M2G+5n4yAEQaN9lZPOwQiAGvSlgIi/ 6xyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lS2ELTIv; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t7si2278961edv.378.2020.11.20.11.44.24; Fri, 20 Nov 2020 11:44:50 -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=@chromium.org header.s=google header.b=lS2ELTIv; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728590AbgKTTkj (ORCPT + 99 others); Fri, 20 Nov 2020 14:40:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728325AbgKTTki (ORCPT ); Fri, 20 Nov 2020 14:40:38 -0500 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D11AC0613CF for ; Fri, 20 Nov 2020 11:40:37 -0800 (PST) Received: by mail-pf1-x442.google.com with SMTP id a18so8856687pfl.3 for ; Fri, 20 Nov 2020 11:40:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FcvJ2XThRkU1T/Rs2Tzb2h0oaIYPc8Jt02INLZSSIdg=; b=lS2ELTIvmbqPzk07btq+ZwW9SZclh1wNAxgweJU2jviIUiM0s5kXY8ep1C8QCEIj3A URf8jlFtW4BDaZ2AE/SXVAB8A6gJJwKYqbm14BmVw9QKCn8NmfDMocNNr4/7DKXQqY3+ VZU9emWSnXkAh5YohstQaiOlfFoX8NIaDRll8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FcvJ2XThRkU1T/Rs2Tzb2h0oaIYPc8Jt02INLZSSIdg=; b=q9hjiuh6if4KH6ZkJe+jE9XtTxzwV5H0b2jh1oc7Dl01fcAnRZ/GAy4sqxXyJI1fzh nMmQSuYntX7WBV4X3I9D8hcOIl0V/XdKRSDz9QL4kaZWCHCtb7+l62iEdsZm8v3SkbuD cKZ5Dxac/CFi7ZO/jUstlC0G4rZCE8rKZn8KSEpFPqdTw6xZ4uheaxtToS8Wu0TGEtxV F/oQZz65ZvkVyk4ylwcEr3IXL8vphMJCX5QBMGJEq3JQ1033P4o6qiQAa8KFQVU0irfK UJWWTJKiyJLi6+Rbtru8BZlRkpNNxFB9uLnlw7POVwYMw4fvSLgf+Zg6mrv0CDq6Bmcr Y/kQ== X-Gm-Message-State: AOAM532lXOeZp0JqrVIjpEim/eBqKXZEqbVMzNPeUmYU2J4vdBhqZTNF fRtbtgoPv2au2EAHUlC7YvPKsg== X-Received: by 2002:a17:90a:2e10:: with SMTP id q16mr12245805pjd.183.1605901236641; Fri, 20 Nov 2020 11:40:36 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id h16sm4156625pgd.62.2020.11.20.11.40.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 11:40:35 -0800 (PST) From: Kees Cook To: Jann Horn Cc: Kees Cook , Tyler Hicks , Christoph Hellwig , linux-kernel@vger.kernel.org, Will Drewry , Andy Lutomirski Subject: Re: [PATCH v2] seccomp: Remove bogus __user annotations Date: Fri, 20 Nov 2020 11:40:24 -0800 Message-Id: <160590121736.3376343.9881262449141772131.b4-ty@chromium.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201120170545.1419332-1-jannh@google.com> References: <20201120170545.1419332-1-jannh@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 20 Nov 2020 18:05:45 +0100, Jann Horn wrote: > Buffers that are passed to read_actions_logged() and write_actions_logged() > are in kernel memory; the sysctl core takes care of copying from/to > userspace. Applied to for-next/seccomp, thanks! [1/1] seccomp: Remove bogus __user annotations https://git.kernel.org/kees/c/fab686eb0307 -- Kees Cook