Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2884481rwl; Fri, 6 Jan 2023 12:12:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXsXZoVQmp/njddL+QeDP3OYY47MhJYJL3iVIUJixL8WRkKHfIOoRssj0doLIdhEYrzCPs5t X-Received: by 2002:a17:906:49cd:b0:7c0:f684:9092 with SMTP id w13-20020a17090649cd00b007c0f6849092mr47421568ejv.37.1673035944487; Fri, 06 Jan 2023 12:12:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673035944; cv=none; d=google.com; s=arc-20160816; b=qLubiZOTo2vzx7sysE4S+4OVopd5+j58BVw4VSwliAQLuaKDQ+n8bTy/KJFfw7lj90 26jPlhevhSJp2pGmmpiwv/CkFUgF2w+1S6cGspyrhKit8eaLannYYhmBdwMyNzxtATBi 4xZzmjtGVAwptL8jQdBRPssggoVW3NvX+F9Wrnf16pa9AQTnvNd5mudk4L8jJfwinf9B lMYujQ+4YBebB3xcmfDxhabBjgh5c3Kj37Mm3wSBeQEcaUbCwrX+YADy0J66e2qfyo14 ymmj6w+0q0FsTIMh0/IQbyJJVlKl+zbmA03i5ALnlfAFVS7F1I1ivWGkfWRfnxBTGQ/a BMgw== 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=fiUE7qV3TeV37sE/MZLGbTWtsmtid5YxK7EKlhT6SGg=; b=adcTuamL8lsoU9MetQdsJyRtR1BNiudh3DeNCRqjZ+M1X5ez17HKtsI86RRsZ/v6pH 08Gq96k3V9KieNXZaYv3Iy+G03ie1UB34FtUMb1qSGFQLSdDudD/R5Tkt3psszGNQGZP Nev2HTucPOPdO3WzCGFEBgrYJReDj8Uc6YPdfnQQQqPxz2EG3lZ3g6pIxUNsWMgNk14o g/rcpojFuvnqdIbC4VUPN/NBXiNx7MDy8vdSwqVSANAOg+cLlzWZ0PAw+qMMMX03Imb0 g2hRFnjAhQVZMJhaA5bBvGaG/+JiSztCIsKSbdkZ9KmgdxWdaZZx5wrPt6oaDVK/2wXy BwAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MXH8ZdJj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa39-20020a1709076d2700b00782627f37d6si2607805ejc.778.2023.01.06.12.12.11; Fri, 06 Jan 2023 12:12:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MXH8ZdJj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229817AbjAFTZF (ORCPT + 54 others); Fri, 6 Jan 2023 14:25:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235688AbjAFTY6 (ORCPT ); Fri, 6 Jan 2023 14:24:58 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E4C577D0B for ; Fri, 6 Jan 2023 11:24:57 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id d3so2631361plr.10 for ; Fri, 06 Jan 2023 11:24:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=fiUE7qV3TeV37sE/MZLGbTWtsmtid5YxK7EKlhT6SGg=; b=MXH8ZdJjYceMJd78W18JC6QxLzARKE3ZtdTSLjQwai1d3HdQPJ4fOdw2sEpu8yOMN3 I51Kadx9i3axJMZ0Kvw3GWIn2uq9Va+t0zMmXjj50Taw3qrHOG+4OEO1DGh0Jb7O9raH nEqmB/bNEPCTQPOLc0APx/JhQ6E4JMVU4MKHA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fiUE7qV3TeV37sE/MZLGbTWtsmtid5YxK7EKlhT6SGg=; b=m0SwSxoS90z+a84WqP34/d+WW0AFK8ITLIncThXM+AIFs2HsQbpxlFbUNm6mAkFCrK Q9tx4Yco/pbgWsbZsbxg9Efpjtu5VN6l7Z60LTH4SReqd+Jnb60muJ6fBuLo1jRPLDyc 9tHsFIQFkhV4gHYWSgZPUtPXsj8rZN/o819syyr+zIP2dRZtfjlzvg5aKTMSup4WCHDE U6SRu1y2KQOT4T4f28dhUB4YsX4fCupNsXoFTSfiEeLcMHr1/YvcVOX7YJ/A+yZTgzD7 DOVSVTmlRAXuLJ3sPs8izLVPbyWBZq8QP1F8t+qSZGqT2ldbGzXXIffYsHzdImOxplfg 3Rtg== X-Gm-Message-State: AFqh2kprW/6m1ko8oS3PsGNQkQUibmmHl0LYFfkgQVlOPKeJVYJFh7A6 F98DLKZXrAN6vBejlUXe5+6sDQ== X-Received: by 2002:a17:90b:238d:b0:225:cc25:8037 with SMTP id mr13-20020a17090b238d00b00225cc258037mr52191457pjb.31.1673033097054; Fri, 06 Jan 2023 11:24:57 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id u6-20020a17090a410600b00225dfb6e8b3sm3164308pjf.11.2023.01.06.11.24.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Jan 2023 11:24:56 -0800 (PST) Date: Fri, 6 Jan 2023 11:24:55 -0800 From: Kees Cook To: Thorsten Leemhuis Cc: Coly Li , Kent Overstreet , linux-bcache@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] bcache: Silence memcpy() run-time false positive warnings Message-ID: <202301061124.E4F9C502@keescook> References: <20230106060229.never.047-kees@kernel.org> <132043f4-d19a-911d-04c4-a24fdf89153f@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <132043f4-d19a-911d-04c4-a24fdf89153f@leemhuis.info> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 06, 2023 at 11:01:05AM +0100, Thorsten Leemhuis wrote: > Credit where credit is due, this should be: > > Reported-by: Alexandre Pereira > Link: https://bugzilla.kernel.org/show_bug.cgi?id=216785 Ah-ha, thank you! I've updated this. -- Kees Cook