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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7D22C38145 for ; Wed, 7 Sep 2022 07:39:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229886AbiIGHjg (ORCPT ); Wed, 7 Sep 2022 03:39:36 -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> 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