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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8295FEB64D7 for ; Fri, 23 Jun 2023 23:33:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231272AbjFWXdv (ORCPT ); Fri, 23 Jun 2023 19:33:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230088AbjFWXds (ORCPT ); Fri, 23 Jun 2023 19:33:48 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81B9C269A for ; Fri, 23 Jun 2023 16:33:47 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1b516978829so9038065ad.1 for ; Fri, 23 Jun 2023 16:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1687563227; x=1690155227; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=5BXr6eTNbrAAPMLfItUNBU1GV8gA8JI1s3w/GXSgtiQ=; b=T4eNDvej4BSP1rQm+6xqQqAO5mSaxmUuOD4yVwd/MW16mp1HkVi7Gmt8TqmlwIPBsJ yWUZHfhdLKjlPSoVnhyEAptnwbesES/JLcrRcxguBJzZNKQ7kUnz9gQDo7szvdxlsGwg TX5y4PyA9zFvXsB2PFcRGADDVkbC3NKC14NSI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687563227; x=1690155227; 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 :message-id:reply-to; bh=5BXr6eTNbrAAPMLfItUNBU1GV8gA8JI1s3w/GXSgtiQ=; b=iM6DaMZM9YL4q3cS4B1UDxynY2S6USvqwl26QGAO5xqRY6KQqcmygJ0g9mMAZ/cYR1 fXRRnjnlMPqg17/FIZBwazDqmcyCiFgc4EkjKIZ/l51MhLxEJIEvJFr44xb/lAYfkts1 pOnQf0Ljk4v+tVT0cY/1k0xhFAoMKqx/mo715x9a06pxk/G6eodWGaPMe37fAAuotwTN l7NCGmfmXCjwPHRJ70e8POel/xVuI/taBSGc9dpd8F75YuPOMB+RlAAo6VmprDYP9hL3 vgiyEh/xYHQNtkucfCD8acE7WONIQ0s4EsLSkVWsbQrTV26qOhXpxsBWV4O6AGvme+il k63A== X-Gm-Message-State: AC+VfDzXgyDLNoGjAhMZtkQYKBX5MAaHDXlN5ySII8WVskIRn/GdNHIV KeZ4Jnfb0I7BGHuXkNpurcUcrg== X-Google-Smtp-Source: ACHHUZ69mWqFU5agnEl+Q83+Js77SJdoh72Y42y83F4lW+t475KKF3wSlBzxef4eC2MLbMqu1PNchw== X-Received: by 2002:a17:902:f68d:b0:1b6:ba60:780e with SMTP id l13-20020a170902f68d00b001b6ba60780emr703673plg.24.1687563227001; Fri, 23 Jun 2023 16:33:47 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id lg13-20020a170902fb8d00b001b061dcdb6bsm112977plb.28.2023.06.23.16.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 16:33:46 -0700 (PDT) Date: Fri, 23 Jun 2023 16:33:45 -0700 From: Kees Cook To: Arnd Bergmann Cc: Christian Lamparter , Arnd Bergmann , Kalle Valo , Johannes Berg , Shiji Yang , Nick Kossifidis , Jiri Slaby , Christian Marangi , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] carl9170: re-fix fortified-memset warning Message-ID: <202306231607.8632EBE15@keescook> References: <20230623152443.2296825-1-arnd@kernel.org> <7c4622e7-d7a8-ae5d-e381-f726cb511228@gmail.com> <24986b5e-5cd1-4cd5-aff3-b5eab2c0fdde@app.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24986b5e-5cd1-4cd5-aff3-b5eab2c0fdde@app.fastmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, Jun 23, 2023 at 06:05:57PM +0200, Arnd Bergmann wrote: > Doing the randconfig builds with the latest compilers, carl9170 is the > only one I see with fortified-string warnings, and there are a few > dozen other drivers that I see with W=1, including one that affects > all wireless drivers. Can you post the config that triggers this? I can't reproduce this warning... -Kees -- Kees Cook