Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp317181rwn; Wed, 7 Sep 2022 17:27:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR6SXTni5X99iDnv76ED6EtjsDc4jwuolUwWCIsyukVxUap1YUM2jDfB8YWNhEgEEySxaIWj X-Received: by 2002:a17:903:41cc:b0:176:d89d:63e3 with SMTP id u12-20020a17090341cc00b00176d89d63e3mr6256709ple.31.1662596856622; Wed, 07 Sep 2022 17:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662596856; cv=none; d=google.com; s=arc-20160816; b=tQQqx9OH73ydoyY0UzZTpeHbEPN093+2i7zklt1il7unK/5+OARiXdWA0odFxtfVWS U0QdZuSYCNiwJvdeJCMLEqlnbPkOpgYKvvUsbNsjRWIVQFoJnkqOYJ2tI05xEPNtKda3 4kxVNBQr9f/oWJux7zoq37l0I/i4HFkiYPEgNiT754brTyQj6oQ9JSp0XhPHDbCsRS4Y OtKBp3Vfl2hNIeU9jw+m/hWSfVW6Xle4dPTwSV+YRruvBTFQ4CHpP8paBJ9iLUYSizMy ItzB2KGm2LFjG9FZsBXbud7nvsIiTS7bTuo+Q9mS0ugqGSUJ+ELiYl3uRvIQ52fAxCcp UI1w== 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=QA7YsklnD2cfDCjZnRS3vgbzndyD3I08QYNTHl1zCqo=; b=b7paYsmX7SV9zatXEPs0ogQNFuwF9zK4SYtYrq9xxW7UN6LT1+9wHvFX1yVuN+wTdH HX7X1At/dzX5m/p4vRkWg0enuF6PB82wcIm7nMoHUts6/wW+O14XbFK2SWDFPKk2b+wL SXYsOynzLVRXPtrZMatew7Rw93aV8jcUHcKrFenb6hy0LA2IxAVemKUpOTQ9keP+NwNW iXFgIqc1x27jjHt9uECT6ZE6vIzdSrmyMayhJCSVa25j6TqHSX0vX8uyD8biw7sOCCBy S6SdUBwZe57dYvK8bE4YPBVNZ/iJ/mPGR2SYJBcRyyYKDq/StpRrYHBDwy6tLYhlPDQH /R+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZLBdFbRl; 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 pg14-20020a17090b1e0e00b00200b067eb94si705761pjb.135.2022.09.07.17.27.25; Wed, 07 Sep 2022 17:27:36 -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=@chromium.org header.s=google header.b=ZLBdFbRl; 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 S229477AbiIGXrk (ORCPT + 99 others); Wed, 7 Sep 2022 19:47:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbiIGXri (ORCPT ); Wed, 7 Sep 2022 19:47:38 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0827EB0B06 for ; Wed, 7 Sep 2022 16:47:36 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id f24so16153943plr.1 for ; Wed, 07 Sep 2022 16:47:36 -0700 (PDT) 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; bh=QA7YsklnD2cfDCjZnRS3vgbzndyD3I08QYNTHl1zCqo=; b=ZLBdFbRl5paMgO0B2nkuSUB92aTwmtmqanZFesgw5UFus70dkXrDyjCNdhChN3pJI2 t8e2tFazYgcQ2/I+HCWkNpNnhTL+sGFQ2IQmiy8gFk422S7/bBjOweZRLDXszByhh4xi VaMpTtbZBDMm4nqrs2mAgMKZ9VkS11Y3DZbhU= 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; bh=QA7YsklnD2cfDCjZnRS3vgbzndyD3I08QYNTHl1zCqo=; b=sAtiEJWhRdTItDPmq/+Nl4hQcfcpYuo9E7zbgIdxGOvvgjQWD2b1fNxTyDw890ZCo4 MM1XC/2GHdEZfbhVXD2eoKQt2KBK5PtvACTb9EZgJXsK9kdbxhihk6JaLLgYrTKaeClU A/6gHI1+7FZtXglU7FV5qSCoQ6Nx0gFSBhD0qyC4PHfpItoQ6GuuOyS/i9S2ogEF/Wzq 5ZKY1nZ8Rq3GsuhE2B99AqK0iWZNKi+bVQ+XQtSqj9uTpkit61toG3hZN3YBsgSMePOg /Ka5emRADbBNPJVF0dal2JJefZPB37DqR1G08A5E6NDZ1GDAslvEIu4JqEdz8E83kWR3 Ls7w== X-Gm-Message-State: ACgBeo2rWlTRx+yPubsggEND4rMZL92EKPRtepXp4GlFEtiSmulugXtm cxZu3kEVtu9B7j9w+G7L0/GcCA== X-Received: by 2002:a17:903:556:b0:176:84c9:df3 with SMTP id jo22-20020a170903055600b0017684c90df3mr6335255plb.98.1662594455557; Wed, 07 Sep 2022 16:47:35 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id r28-20020aa79edc000000b0053e38ac0ff4sm4585765pfq.115.2022.09.07.16.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 16:47:34 -0700 (PDT) Date: Wed, 7 Sep 2022 16:47:33 -0700 From: Kees Cook To: Geert Uytterhoeven Cc: linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-s390@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: Build regressions/improvements in v6.0-rc4 Message-ID: <202209071646.A95761A@keescook> References: <20220905071915.2312316-1-geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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,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 Mon, Sep 05, 2022 at 09:46:01AM +0200, Geert Uytterhoeven wrote: > On Mon, 5 Sep 2022, Geert Uytterhoeven wrote: > > JFYI, when comparing v6.0-rc4[1] to v6.0-rc3[3], the summaries are: > > - build errors: +3/-16 > > + /kisskb/src/arch/sh/kernel/machvec.c: error: array subscript 'struct sh_machine_vector[0]' is partly outside array bounds of 'long int[1]' [-Werror=array-bounds]: => 105:33 > > sh4-gcc11/sh-allyesconfig (-Werror) Sent a patch for this: https://lore.kernel.org/linux-hardening/20220907234345.96798-1-keescook@chromium.org/ > + /kisskb/src/include/linux/fortify-string.h: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]: => 258:25 > > s390x-gcc11/s390-allyesconfig (inlined from 'copy_process' at /kisskb/src/kernel/fork.c:2200:2) This error appears to have vanished? > > [3] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/b90cb1053190353cc30f0fef0ef1f378ccc063c5/ (all 135 configs) Status Date/time Target OK Sep 7, 13:54 linus/s390-allyesconfig/s390x-gcc11 -- Kees Cook