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 E3DC6C433FE for ; Tue, 16 Nov 2021 00:32:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 B0C046115B for ; Tue, 16 Nov 2021 00:32:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B0C046115B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EedpjCH09ypM8dNVyNtzzJ5+t4e5hwW9unI8KIehhfA=; b=W6DfJ1yVhky8UJ iT8X6UHgH2bWT/mgiDt+JB2KElEOixGkYMjplde3SaxusJcT/fN+j8Tp3BHOcwlnMI/nA8nIV6DGP C/qXgdMMLpi5DRBN4+LuBTpB4+cvuu4kQI79tHWG7/ppjM43TNqcPPABn/TGMHMzyjMYRBXUrV/Vg A+Cdue9qAd33jkMdIUmRAqYGBYSP1cyHV3xsaZhIL9BikWprBUVQRUl5RJ2SPiXBq4kjO+bDLWJat 6/Ya9rlF8yBULub6r4w8CvmTSbolsZ8Zj8Tt7d6iG5wuWBmaa3/t4Yr/JJUWBzc6wnMh7SDC3fNdf vshEqTFn27yM5nXPV9UQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmmNY-00HQNj-53; Tue, 16 Nov 2021 00:31:16 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmmNT-00HQMR-Nr for linux-arm-kernel@lists.infradead.org; Tue, 16 Nov 2021 00:31:13 +0000 Received: by mail-pf1-x42f.google.com with SMTP id n26so11877999pff.3 for ; Mon, 15 Nov 2021 16:31:10 -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=beOUdf7Syv7ZETVxhxX8T5WwBwbzqR95QrBcJ2R0GAIQ7IAAKQsQjQQ64WrGU5X5Kw 5ifyCkzCLxJu9l5wM/DLKfS0aMwb43ni1PTxeW0DufgawRMCJPPKhO1JP2pTsWCusqst PBmhqJ8iuoSdd6AIra+2/EX+N2thCpTqns1LiL+/l8aGTLB4JTugYUZq7jRoY1lJCAsN cCpZHQE7fpE8CXLbCc92nuaHkw0RmqyqFd66BmlocBPOcfxGOwkTy7yFHUYOnaXHr3O8 3k7m7Nh3fMDVBsUDLl6XgQjeGvvRobthjgRHOraSiJXtQTxh5BS3bycjNNXh3aFdjYD5 299g== X-Gm-Message-State: AOAM531Kc132acZoPVq8uDJi92/0QUckWUnlNZeC9UQGbNULZgsyZgPE Q2onlNU3vUp4jkxmulNpgr6I0Q== 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 Cc: Geert Uytterhoeven , Linux Kernel Mailing List , Nick Terrell , Rob Clark , "James E.J. Bottomley" , Helge Deller , Anton Altaparmakov , Thomas Bogendoerfer , Sergio Paracuellos , Herbert Xu , Joey Gouly , Stan Skowronek , Hector Martin , Andrey Ryabinin , =?iso-8859-1?Q?Andr=E9?= Almeida , Peter Zijlstra , Linux ARM , "open list:GPIO SUBSYSTEM" , Parisc List , linux-arm-msm , DRI Development , linux-ntfs-dev@lists.sourceforge.net, linuxppc-dev , "open list:BROADCOM NVRAM DRIVER" , linux-pci , Linux Crypto Mailing List , kasan-dev 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211115_163111_841411_ADC6E75B X-CRM114-Status: GOOD ( 13.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel