Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2115258rdb; Thu, 7 Dec 2023 20:34:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IFmXVSB7dN9G/ekEuhH3vd+Iqdnan8xyVbEKWMXNGibKIyEaUYdvqpz7r3I9TCt4XgobLtg X-Received: by 2002:a81:b625:0:b0:5d7:8203:597a with SMTP id u37-20020a81b625000000b005d78203597amr3748093ywh.51.1702010060572; Thu, 07 Dec 2023 20:34:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702010060; cv=none; d=google.com; s=arc-20160816; b=hMcsBh5hiJiockJxEkNalaoB7pEi8fWtiQVWXmPlCi9akyPOelQCbLzKeAxhd114Ah YdJCFUGU7E9hmfvL4LDrDAe9JqdYomZJTNC2GrtpPIKS/ob7Z7JlHiZc9tlRMLF+hcr5 vVsDBqm6EyKAA23PwQePh1fyMPeobmsuBQbXmq6+HUJYwspUNHK8/CRKgl4YLwZQI2t9 Bbv4+yaMY1x1QyPuqBIfqmmnvtYA1APUDwxysxbHgV79bDZZEpK1a+u78usyFuUlRQFp d0y2skXvArq3avFBLhMw0sPehKLnWnKUzZikqcGuomjSvWxm+pB4YlEe1rPXcoqan0Bj rBcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=ySDFmsMN/0vLWbBGRjXmoTKbZ7QOr1BtNMnJsvEni3A=; fh=tqOgiEKBM8x+ueQQ6FoaOOCCTae7RrykCyzN2da4bMU=; b=RLyZPtDS2wdpSNvRsIiERYTZqjBi6a/kw0tB/izTcrUuX1RSS1ogQEj7HnMSv/16WQ QPCgna4YS4dHVtEGo3TKEE+lltHDqJOalnYyXH5otn1arRcUFFNUbncB3gWur5VIl86f cBUdgZYVHmIj3Bk/dfS31tU+VY6zrDbGVpwaP+FkRM3dz2sjBJV85QAOdmLirZ82KEjy 2iVKZ1aLtL3/KCjgT+Z4rgRJNZ1EiZENBmkjTLg1uh9I2HFITdY72XY/0n6n96Lu0X3m aaAmUw4APv/ogMd7br71bU256a5ZdjOsiPXwNN+cav3te3W1lNQRDs/x7VWV5ZIbdN5V 4dbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto+bounces-633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-633-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o2-20020a056214108200b0067abf6f6d77si1242285qvr.534.2023.12.07.20.34.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 20:34:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto+bounces-633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-633-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 520A21C20CAA for ; Fri, 8 Dec 2023 04:34:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA32A53AC for ; Fri, 8 Dec 2023 04:34:19 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCB9D1712; Thu, 7 Dec 2023 20:06:26 -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 1rBS86-008If7-HF; Fri, 08 Dec 2023 12:06:23 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 08 Dec 2023 12:06:32 +0800 Date: Fri, 8 Dec 2023 12:06:32 +0800 From: Herbert Xu To: Harald Freudenberger Cc: Linux Crypto Mailing List , linux-s390@vger.kernel.org, Gerald Schaefer , Jan Glauber Subject: Re: crypto: s390/aes - Fix buffer overread in CTR mode Message-ID: References: Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Nov 28, 2023 at 02:18:02PM +0100, Harald Freudenberger wrote: > > Here is a similar fix for the s390 paes ctr cipher. Compiles and is > tested. You may merge this with your patch for the s390 aes cipher. Thank you. I had to apply this by hand so please check the result which I've just pushed out to cryptodev. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt