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 54691C636CC for ; Fri, 3 Feb 2023 09:39:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232844AbjBCJjl (ORCPT ); Fri, 3 Feb 2023 04:39:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232856AbjBCJjP (ORCPT ); Fri, 3 Feb 2023 04:39:15 -0500 Received: from formenos.hmeau.com (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59D272943B; Fri, 3 Feb 2023 01:39:12 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1pNsX9-0076FK-Q1; Fri, 03 Feb 2023 17:39:04 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 03 Feb 2023 17:39:03 +0800 Date: Fri, 3 Feb 2023 17:39:03 +0800 From: Herbert Xu To: Giovanni Cabiddu Cc: linux-crypto@vger.kernel.org, qat-linux@intel.com, stable@vger.kernel.org, Vladis Dronov , Fiona Trahe Subject: Re: [PATCH] crypto: qat - fix out-of-bounds read Message-ID: References: <20230201155944.23379-1-giovanni.cabiddu@intel.com> 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 Fri, Feb 03, 2023 at 09:10:55AM +0000, Giovanni Cabiddu wrote: > > dma_alloc_coherent() returns zero'd memory. > When implemented originally that code used dma_zalloc_coherent(). This > was phased out in Kernel 5.0 by 750afb08ca71. OK thanks for digging this up. It wasn't obvious. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt