Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1788489rwb; Tue, 27 Sep 2022 19:17:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7MNJhgkaLGlhvJYDA1D0wv4dIvIcqJSdiu82cJhlClT8aB2OFGOyf0gpcS+PmTIREpuNdy X-Received: by 2002:a17:907:70a:b0:750:bf91:caa3 with SMTP id xb10-20020a170907070a00b00750bf91caa3mr25477636ejb.711.1664331420551; Tue, 27 Sep 2022 19:17:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664331420; cv=none; d=google.com; s=arc-20160816; b=b0MvwJP9xFfigTStTgMnU2mLd9HeeZxK9CGYQmUknkmqAnVCwxU381mtfrG8x+VWlH Y23w1HzNiztg137naLo/jT3oQGfsEdIaILPBZVdfm+FbQU9j3TzLPZFwpCkb2NmaDqOR R+BwMG5iaDddfwgXmFDnMwpQAJxbs0upnPUZ4vwO3JdaxJG7/6gY5cmWGbi32/Gyqsi7 05ZTZjvJuZa/W5fOx9Ouiw8DzfopU/O1OP0xP7ny2Ot29iGidJrC3AnTBZUtxz/z9TYZ 6K7HX8HJNLYQloYJQvG+U31TPyxhCB0tZJmRsi4G7olnICbgm3gUsVmIhoptZkyg5XDY VX6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=d/8XR2W/js7xQmrpb3Q26P4QbaooZibzGY11lps9ObU=; b=qHPrEUKxuDGi+hI0okptlB1hsepNnHE5g0XwcrObOLklVCfYxvM3S8t9CsxCxq2ZYU TTKArdAMyAoj0OXNvewV/UVQpkioGgrfOwMmJgmGL0nhy4mVVgx0q9csT7o0qWAZQ2bx DYvyTiLdw86Im19Jfx7Txl5Keodm1zFqRvB3MAoEuzuAhg3iv9zDmxYjXzJSk/w/agQq P/In/LoxWGIlD28eq4I5KdNLod1X+i9lDurrmOWL46UwCo+GrEv466qR05PmdaxNFYd6 UvO96Mxz3xGsDGpfIUE3aSs3R5i8PxCjetBiUyfm3SW6rQRQX9fkra+w/rvZuwEi4IcC +ERw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m+SRhqt6; 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 n11-20020a05640206cb00b0044efa9938d5si3078885edy.583.2022.09.27.19.16.07; Tue, 27 Sep 2022 19:17:00 -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=m+SRhqt6; 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 S232707AbiI1CA2 (ORCPT + 99 others); Tue, 27 Sep 2022 22:00:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230357AbiI1CAU (ORCPT ); Tue, 27 Sep 2022 22:00:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AB1A1616F2; Tue, 27 Sep 2022 19:00:19 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 2923661B30; Wed, 28 Sep 2022 02:00:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 7EAB0C433D6; Wed, 28 Sep 2022 02:00:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664330418; bh=PSkT84+kLIOyET1QVrc8xAtKCtLxdBnnOFxQ+LAf9zo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=m+SRhqt6l9/qk2xlfHKESN4o+fL1gq5HmysFZJSiHmUBPqSeCJKtPjnzarP42uF2J cgJPqcGsopj98nk8d2dxuYoaCnhxIRbZMgXJXf1cAgXfjlV4icdVIaGs7K08CApe4N GoEZu/nyqJVCJeEoyHeiDhjbZnGcgGJzyBu8Ny4oKVkFY8WVDpRHHVXnEkQwH/1J/T 8kTfgtISlLD9U08kSLIt+Mi2slAGcAU17X4QnjFRLyHn/COrdJv/ZHGBacKsKSqQ16 NBfUds5C9yXfmA2Vh0AMdCejyFbNfw8fUiSobxa1n4937sCExDII4lVz6WuUbiVVaD xDGuad+F9exwQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 5A3C4C04E59; Wed, 28 Sep 2022 02:00:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] s390/qeth: Split memcpy() of struct qeth_ipacmd_addr_change flexible array From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166433041836.32421.4705173383339135260.git-patchwork-notify@kernel.org> Date: Wed, 28 Sep 2022 02:00:18 +0000 References: <20220927003953.1942442-1-keescook@chromium.org> In-Reply-To: <20220927003953.1942442-1-keescook@chromium.org> To: Kees Cook Cc: wintera@linux.ibm.com, wenjia@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, borntraeger@linux.ibm.com, svens@linux.ibm.com, linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org X-Spam-Status: No, score=-7.2 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 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 Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski : On Mon, 26 Sep 2022 17:39:53 -0700 you wrote: > To work around a misbehavior of the compiler's ability to see into > composite flexible array structs (as detailed in the coming memcpy() > hardening series[1]), split the memcpy() of the header and the payload > so no false positive run-time overflow warning will be generated. > > [1] https://lore.kernel.org/linux-hardening/20220901065914.1417829-2-keescook@chromium.org/ > > [...] Here is the summary with links: - s390/qeth: Split memcpy() of struct qeth_ipacmd_addr_change flexible array https://git.kernel.org/netdev/net-next/c/8f1e1658d365 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html