Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20143349rwd; Wed, 28 Jun 2023 21:01:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6+Bm3E84urXqy8A26HV2ebRkrswkBM6dBgegSrMX1lSHV1yIHcuuruEyDKZwGxRMAtx9it X-Received: by 2002:a05:6a20:7d97:b0:12c:bbd3:a0dd with SMTP id v23-20020a056a207d9700b0012cbbd3a0ddmr1296084pzj.0.1688011272403; Wed, 28 Jun 2023 21:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688011272; cv=none; d=google.com; s=arc-20160816; b=MUT/Y1aOp9nSUBFMixPMjpwr78wXWgaqdBY9Hix1aQ1t6qm0iUbUoElDD+LhvMMSkq LHCVgGbtJp/vWh3rq1Gl2W61aHGnCFXBYGES1hOK4TH6mxZKHG10glmFCGzxU3SlBDM/ MlHXhlrUMmND+zoqlQQxiFUIo/xKUxti/UhzZmg57O51khJf+f8lDEB4PtJKJVvxkuQv cCAfeb0we4jwz4kESKfaX1cx+NdqQ3ltsPJAHD2U9yXalXkzSa5hpvyDiGI3qWVAAsR3 H1HnOSLMzEy8ufC/3lsaFWofBhIXLFROOD9fhjx4dUdhBeMLLlF5hOw3XpssM5YcjoJB 9OWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=F51EaCZBCjjsjVu5ApRgh9kG0gXJ3pj2CcPmr4xvEVA=; fh=mKq5HW01kYw022ACkfnh8ZsewL3DMyRSfZUlJ7pNKqk=; b=wH9DvUQRU5Qo4Q1JWQbOC+7zE/chAxhWA5FGZX/teUz/OvlqGS3bYcO/FTGt64JTaf 3ZpqdnBKAV4kPX4fbkgilJSzmM6GhgVGkg6LKEqmOgPnhA5PEDxHQjvmGO2ObUJ6ZMM4 i+3+jDW9riq+0jbF8PScR+wXxcSxkQV9XZDX/5q/YbQEpoo6coHTO6rUpoukMWDC18Xu SkLuRJ8Tl25f+/i1Zq9HzUdNv/ZoiW8wKp9T8QYBAtdbZlMmO6EymcVTDhJk2NIWIs32 rEilfkwBBRd9oM8OszCh4Yp+0V4b/ot4F/BSZkIuUSaCr0+KFkAvSIcwPOPaiFY2lsc5 8fyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kzU5jMbl; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a656687000000b005486b0ebbafsi10678613pgw.626.2023.06.28.21.00.56; Wed, 28 Jun 2023 21:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kzU5jMbl; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229585AbjF2Dxn (ORCPT + 99 others); Wed, 28 Jun 2023 23:53:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231890AbjF2Dxh (ORCPT ); Wed, 28 Jun 2023 23:53:37 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B0C2D51 for ; Wed, 28 Jun 2023 20:53:29 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6b5f362f4beso217412a34.2 for ; Wed, 28 Jun 2023 20:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688010808; x=1690602808; 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=F51EaCZBCjjsjVu5ApRgh9kG0gXJ3pj2CcPmr4xvEVA=; b=kzU5jMblv0xz5lzjgtrnn4xxh6hlexJ7oarp6AhiqhBHF0Moc73IE9in1CSO6kbAFW atB3woyHuTcXgQ2uvijtMt1KKQygW5Lwf2mIenqOO3tpZ7ldK90ybnGlmbaWo/caj6D3 pihx+DaOPGKUC5T61KTFucDLEsnntHKx03ilM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688010808; x=1690602808; 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=F51EaCZBCjjsjVu5ApRgh9kG0gXJ3pj2CcPmr4xvEVA=; b=jID+o7aUeshK0dZwFnow0WONmr4PTp2X92JtlvdfOmshjMbbDKKYom/i6itU0FwqoY SFlJszH372rdSPS2v4ComIIVTgR6czVI45LfBLzPRa/4nQRE7wGmFsijlaE2/ZS4bIRN cvj3+XHTu8oa4ZFyFwJLAWVGQiCc/AqLBQPG5EPKsoZ3jbWb+QXMqRgZf/KxpFhQqprt SC7+9QL/XrhcvgBCS/PFcXQHeA1AD9hPNI9JP8dqLHLIFEfT+DHRRXEuT1Sa4D67H08B +U5nGYqx3hBQyIze0GWlGozCBTiqWfDZCvHgvxFD19Ln04FH7ZbqzVmPo5z6ZqLwl8a+ H5Yw== X-Gm-Message-State: AC+VfDyhcfdIw4s4rOgWNvPfA9sr7JuPLJuBJfNR/5dM6tWd28QjScca MhrbYQU/5hHvZ7GlBABD6AZLTg== X-Received: by 2002:a05:6359:608:b0:134:e8c6:a888 with SMTP id eh8-20020a056359060800b00134e8c6a888mr997521rwb.8.1688010808332; Wed, 28 Jun 2023 20:53:28 -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 l187-20020a6391c4000000b00543b4433aa9sm8221454pge.36.2023.06.28.20.53.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 20:53:27 -0700 (PDT) Date: Wed, 28 Jun 2023 20:53:26 -0700 From: Kees Cook To: Linus Torvalds Cc: Boris Brezillon , Arnaud Ebalard , Srujana Challa , Mustafa Ismail , Shiraz Saleem , Herbert Xu , Linux Crypto Mailing List , Linux Kernel Mailing List , Jason Gunthorpe , Leon Romanovsky Subject: Re: Build error in crypto/marvell/cesa/cipher.c Message-ID: <202306282051.51D98294F@keescook> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Jun 28, 2023 at 08:13:25PM -0700, Linus Torvalds wrote: > I get a similar error in 'irdma_clr_wqes()' at > drivers/infiniband/hw/irdma/uk.c:103 (and same thing on line 105). I > don't see what the right solution there is, but it looks like we have > > IRDMA_CQP_WQE_SIZE = 8 > __le64 elem[IRDMA_CQP_WQE_SIZE]; > > and it's doing a 4kB memset to that element. The mistake is not as > obvious as in the cesa driver. I pressed "send" too fast. :) This should also already be fixed: https://lore.kernel.org/all/20230523111859.2197825-1-arnd@kernel.org/ -- Kees Cook