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 D1B5EC43217 for ; Tue, 16 Nov 2021 03:54:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B4AEA61A58 for ; Tue, 16 Nov 2021 03:54:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235920AbhKPD5I (ORCPT ); Mon, 15 Nov 2021 22:57:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235928AbhKPD5G (ORCPT ); Mon, 15 Nov 2021 22:57:06 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B093C1E82A5 for ; Mon, 15 Nov 2021 16:35:15 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id q17so15847176plr.11 for ; Mon, 15 Nov 2021 16:35:15 -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=6YrJDwz5lHylUrRKBiCCXn7XIadwbTCaDNmr8F8Qv+s=; b=kRgsOovbagRO/7210nSyOKEBlmhfA5hNYfPQV4k7lydus9N2uNl5Vt0UygZC7jGLy1 CcSKdAOPN7CAjIaxG2Nk7LhNoTdTNyUIV57l7UZ/U0TQtm7n+dBKTmv+GCqWpklKxw86 72xq1Tvc+lxHwltemgeZ72MdiUZIJVqjFa0RI= 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=6YrJDwz5lHylUrRKBiCCXn7XIadwbTCaDNmr8F8Qv+s=; b=qLAnd0667KaR+m+cQaNhZaz0LVHjgKKw3364vKFfZcP9wm7noWJgBMSv7qOIxHTb9v PGcWAgwdemrif6vkzuQGrSGhx0+k4mhIncp2JkaJoPw3/Hgg8FUK34b89MOUrPxORPJ8 wMN/ZWRfEaKcZdNdrzdQX2X+sv801cldRU6XPfqgtOfj2DMpburVXgDyF3D9jplmhlwd tsey0nglI9cI1/GA6p1vBufbobK4ju2VzYyjdcbx0ImY4ybBEi/jCseVOjvfdttsBinW Evq1fM8Jd5e2864o8iD3sBMUM0Kgtx60BootQtxi2ZbUIt1GqctmWNE0DV/KhmQpPF0V IJuA== X-Gm-Message-State: AOAM530UwSa2jKmc4iL+AIRsdbiOy5r9eAdp8GmpMPi9aWnrZK3Thh1/ uEhKtAHZdL5NcBGHNZ05PbSTag== X-Google-Smtp-Source: ABdhPJy9iYaBB3Pj/LejC8q7/hsST+5gxO7ABIHhxz3+lYk9ZK6BkrL6e9tXPNM1m5lGV6jB9/FWOw== X-Received: by 2002:a17:90a:c398:: with SMTP id h24mr3495024pjt.73.1637022914921; Mon, 15 Nov 2021 16:35:14 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id s21sm16292860pfk.3.2021.11.15.16.35.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 16:35:14 -0800 (PST) Date: Mon, 15 Nov 2021 16:35:14 -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: <202111151633.DE719CE@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: Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.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 Ah, I found it: http://kisskb.ellerman.id.au/kisskb/buildresult/14660585/log/ it's actually: inlined from 'kasan_memcmp' at /kisskb/src/lib/test_kasan.c:897:2: and inlined from 'kasan_memchr' at /kisskb/src/lib/test_kasan.c:872:2: I can send a patch doing the same as what [1] does for these cases too. -- Kees Cook