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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D30E4C433EF for ; Tue, 16 Nov 2021 00:31:56 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1828E6115B for ; Tue, 16 Nov 2021 00:31:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1828E6115B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HtRp259gPz30Bl for ; Tue, 16 Nov 2021 11:31:54 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=jkN0+anU; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=chromium.org (client-ip=2607:f8b0:4864:20::434; helo=mail-pf1-x434.google.com; envelope-from=keescook@chromium.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=jkN0+anU; dkim-atps=neutral Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HtRnH5S8Bz2xX8 for ; Tue, 16 Nov 2021 11:31:13 +1100 (AEDT) Received: by mail-pf1-x434.google.com with SMTP id x131so16472167pfc.12 for ; Mon, 15 Nov 2021 16:31:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zUAbk3pYDxq1bSuJItD74NAh/MbYUz0fiMi2jjsqIPc=; b=jkN0+anUkVZEafZbns3mnQH3BOzdPE6stTt8SrDHZFGkz5SQGDyxTuScjmOkAtjtG9 AT2XFauNYqbJ3Hv+WUTHMAUTNsTes+od+8KqsU/GEVyVgjrYYw/xt4G0TAF8HM1LcPVm 2WJe85H3kQUjZSV8Rb5yVnjCooZk+xWNu9wek= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zUAbk3pYDxq1bSuJItD74NAh/MbYUz0fiMi2jjsqIPc=; b=Y1WEOCkcg7gq/m6D9Q8zHBwfbcaCLQREn4xOpRpLmY4gvWTUGPn3LzlqQwBCY0m2UF uzSUyUD3R2tlU7ej0DixlrB46SYmglQh20obkVc6bZ4mW7ic0GFRCc7Oe6n70f0gBSBN RrFMLSBJ7eSf7tZrasS61DOUWE3K8+vD7MrTr1eXIdD2jwlW/PVonGQgkNtWkFvgRH9m JyK3NfuLfXTMBBsei8hmPy54IqhFBL/MmjmeLeLR+wiFNq+AbKexCmM8rMgnG8XRYE4w hUZtqYT1f+/m+l4RTmFyhKo2Sp+LNGs81NrEYgk6T10mq/1QMuvMoumGdwutOzQFoaWc wikQ== X-Gm-Message-State: AOAM533wGqaxU54iRsML8p4+WfnianMYbEohgFxNsQcbC8qBJQ1ZO7Am skchCKDXmac2lUV/Zz059CDkFg== X-Google-Smtp-Source: ABdhPJxDrEb7NedduOiss/lXzBJfLpYZT+5k0kObH71YXHTZztaI+VVMmjTV988TJQv8GS02GfUMPA== X-Received: by 2002:a05:6a00:1945:b0:44c:a955:35ea with SMTP id s5-20020a056a00194500b0044ca95535eamr36094903pfk.85.1637022670112; Mon, 15 Nov 2021 16:31:10 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id h21sm12755848pgk.74.2021.11.15.16.31.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 16:31:09 -0800 (PST) Date: Mon, 15 Nov 2021 16:31:09 -0800 From: Kees Cook To: Marco Elver Subject: Re: Build regressions/improvements in v5.16-rc1 Message-ID: <202111151624.91EDCFF7@keescook> References: <20211115155105.3797527-1-geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Zijlstra , linux-pci , DRI Development , "open list:BROADCOM NVRAM DRIVER" , "James E.J. Bottomley" , Andrey Ryabinin , Stan Skowronek , Herbert Xu , Helge Deller , kasan-dev , Sergio Paracuellos , Geert Uytterhoeven , Anton Altaparmakov , linux-arm-msm , "open list:GPIO SUBSYSTEM" , Nick Terrell , Joey Gouly , =?iso-8859-1?Q?Andr=E9?= Almeida , Linux ARM , Thomas Bogendoerfer , Parisc List , linux-ntfs-dev@lists.sourceforge.net, Hector Martin , Linux Kernel Mailing List , Rob Clark , Linux Crypto Mailing List , linuxppc-dev Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Mon, Nov 15, 2021 at 05:44:33PM +0100, Marco Elver wrote: > On Mon, Nov 15, 2021 at 05:12PM +0100, Geert Uytterhoeven wrote: > [...] > > > + /kisskb/src/include/linux/fortify-string.h: error: call to '__read_overflow' declared with attribute error: detected read beyond size of object (1st parameter): => 263:25, 277:17 > > > > in lib/test_kasan.c > > > > s390-all{mod,yes}config > > arm64-allmodconfig (gcc11) > > Kees, wasn't that what [1] was meant to fix? > [1] https://lkml.kernel.org/r/20211006181544.1670992-1-keescook@chromium.org [1] fixed the ones I found when scanning for __write_overflow(). [2] fixed some others, so it's possible there are yet more to fix? Taking a look at Linus's tree, though, the "263" and "277" lines don't line up correctly. I'll go see if I can reproduce this. Is this with W=1? -Kees [2] https://www.ozlabs.org/~akpm/mmotm/broken-out/kasan-test-consolidate-workarounds-for-unwanted-__alloc_size-protection.patch -- Kees Cook