Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5357372rwb; Wed, 7 Sep 2022 01:16:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR7Xkc8klbJ0Rh1apa58XRIJA5iSXt2eUV+EF4G4OvKpB8OsQKlZwYORFksViniNdAZ+Y1ZC X-Received: by 2002:a17:902:a98a:b0:173:2b4d:e7df with SMTP id bh10-20020a170902a98a00b001732b4de7dfmr2559260plb.36.1662538578065; Wed, 07 Sep 2022 01:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662538578; cv=none; d=google.com; s=arc-20160816; b=XZR1IUduYtpD+Bgj8NAMcVYvoexe+L/fJVV7yLf199nOjtQwhL1Cojs8tyfw3a01nE HSi/sBlPNNY8x+jKKbHalxT1DHtNIRmxaRgsrrC01Tzm998fGpQVMlKEMNsulVYtk+hN BmtK08aeQWb5xg4J+ZQ0MJ64QFeK/E/Yg47eN9jAkaISvqrFVmFLOlS1SMQQg+YOjJZv KpbA+6NEUGPN1SQdGgMzVMr2yj6QLljl+KjCcsvRHO00mYsYWRercIH9QDB+pMZcVbu8 Yb93Fq8J0BgKkDu722o3ikJyu1uW8dLxVNB0kwcJcovg/GvGa4pbQME7bp7fs57Dg7eY +PVg== 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=t3Tq1w/ij7+avGUsM9IACXK+zp5bzSOOjnCMATre7fo=; b=RhHI+gVndYeTLZbcMslzdwC8PnMeBFjDSRtSmHMC1XFnM0+ufrGIgCdcEsOknymN5n YLt1jV1Y31GuXf062vOXYpA5xlRpDOr0cbfYCzOz290rpSmkO0OnrQTpNv98vu7dr4oY TV9HpRB+La/Kto38qqmF4rWE740KYbi0QIfbKaKHU9O3H7ZutP/V4RigfxfOmqFriYbj 4cT1OZpeYdE4d48RjzFtylzQmnLFxlqIdXEDXW4pB0Jpt45IvVmhVuZqqHungui9l50S mPaxj7kas5DB+kZYqTbnCmy4wZsF7zzryqeUgT4c7xspC5Kz68VdLzGLq75WIdJSooEY Zz7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Y0uBDL/j"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i27-20020a63221b000000b0043041b4e7efsi16529211pgi.740.2022.09.07.01.16.05; Wed, 07 Sep 2022 01:16:18 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b="Y0uBDL/j"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229929AbiIGHjf (ORCPT + 99 others); Wed, 7 Sep 2022 03:39:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbiIGHjb (ORCPT ); Wed, 7 Sep 2022 03:39:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3595421A4; Wed, 7 Sep 2022 00:39:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DC04BB81B86; Wed, 7 Sep 2022 07:39:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66683C433C1; Wed, 7 Sep 2022 07:39:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662536366; bh=xNfSQnW79KxqmfMU3riHt3rK2p4MSBkj0ld5YS0oz24=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y0uBDL/jbGzS7X7lNWheLRCf9TVNVsmOg1T8RgibbuLY+KrjZn+hI4PG47GbQmlNz SyPz/sWDenrfOklvPa8lUy2L72Lbmk1W4iEe789bR+4sh/ndN8uTY/nrUDUZsEqE7M Bjc6WujRLAiUEeJ7rv4X5yzh1lwcehWY8a1lMvbD8cf1EBj45vaBdT3AJjNSSgM3JJ Y79Y54ITDfnuljIAqs4zVv8QKmZRDGm7JOumH7Sn6dagnJTts8suuESWct/zgvHgMk wuXz4AlxEns2rwHq/q1LcwEuWogxuSKhyQ+JghWziowDBuHaKlIxIhi6jZVSb+xxtb e3NH4yYnX6pnA== Date: Wed, 7 Sep 2022 08:39:19 +0100 From: "Gustavo A. R. Silva" To: kernel test robot Cc: Kees Cook , lkp@lists.01.org, lkp@intel.com, linux-hardening@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman , Shuah Khan , Nathan Chancellor , Nick Desaulniers , Tom Rix , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [fortify] 728833277d: WARNING:at_net/netlink/af_netlink.c:#netlink_ack Message-ID: References: <20220901065914.1417829-2-keescook@chromium.org> <202209071317.245c5751-oliver.sang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202209071317.245c5751-oliver.sang@intel.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Wed, Sep 07, 2022 at 01:42:16PM +0800, kernel test robot wrote: Hi! > > Hi Kees Cook, > > the patch "[PATCH 1/2] fortify: Add run-time WARN for cross-field memcpy()" > raises a persistent WARNING as below report in our tests. > > according to commit message, we understand this is kind of expected. but > we don't have enough knowledge if it reveals a real issue in kernel source > code and what the next step could be. > > so we still report FYI. > > if you think it's unnecessary for us to make out this kind of report, please > let us know. we will consider how to refine our report rules. Thanks a lot! > > below is the full report. It seems that the idea is to continue reporting these warnings, as they help us identify the places that need to be audited and determine how to refactor the code (in case it's a false positive), or how to properly fix it (in case it's an actual bug). In this case, it seems that the issue was already addressed by this patch: https://lore.kernel.org/linux-hardening/20220903043749.3102675-1-keescook@chromium.org/ Thanks -- Gustavo