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 95287C4332F for ; Tue, 16 Nov 2021 00:35:17 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 670C861507 for ; Tue, 16 Nov 2021 00:35:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 670C861507 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.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 791C96E131; Tue, 16 Nov 2021 00:35:16 +0000 (UTC) Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by gabe.freedesktop.org (Postfix) with ESMTPS id 77F886E131 for ; Tue, 16 Nov 2021 00:35:15 +0000 (UTC) Received: by mail-pl1-x629.google.com with SMTP id y8so10424269plg.1 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=o+0K7wwvOAaPsXbwwE8YZ2HEKKpUZ7MGmsqcn5wVJ2UJoJn/vsaEpeTSTQtRWk3W+T 5syl6YjA3673zRATGsyyJu/007GCjIbl3yVosB/rA5PIg3cDNkX1Wis4RIjwSOsUY566 ZCg/NT/vDnr3yqqyoXhqUam4Nndfga5xdjh+9cGPqDbRPw1rsFJystnMYx5tRl11QgSk Q+9qAW2ku92PsYu7wyE948N21ouNxYY1llDshB9C1DGa2JDkuFHEdEUyRBCBsincTfOr 6DsO8obw2a5xzPV7UTl+5OO3HLpANZrVuD181x23uPYoK1JUn6SetDf7opwe4wfVCk+k YF2w== X-Gm-Message-State: AOAM5308SggMh8uU/DR7Da0FBvAbruHrqyYgzkwATknzC/y2PcENykM3 q2oQnGymHkDUEPKZxJt0i4u43g== 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 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: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development 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 , Linux Crypto Mailing List , linuxppc-dev Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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