Received: by 10.223.185.116 with SMTP id b49csp2192682wrg; Thu, 15 Feb 2018 07:54:44 -0800 (PST) X-Google-Smtp-Source: AH8x227orBsgfZwSggY+qDHOdmfxXWVbWfgp+VeUccwTWgIeYzIsQ1VVfEh0w9Scy8xAhd98lsPb X-Received: by 2002:a17:902:501:: with SMTP id 1-v6mr2926260plf.283.1518710084764; Thu, 15 Feb 2018 07:54:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518710084; cv=none; d=google.com; s=arc-20160816; b=GOkqy+xMMgCZVIEqT+jOt0whM3I/425q+Fo+bTtfA1DhQyrNbFiBf8ZLN3WTn2nf64 tUW5HwZ3qmwdiZZ0b52Gzpe6++EQ/47REk8lfNQiyBaic6P5gMk8vyqHsUIx6S/R8rGm zsrIF/ZOpvGWaBFLr1Y5YcBz7mZRwy6AqNgwPF2elmTNtYE7uUVuAtO6xOfr00Iixboj z1sRI5c6LOBPAGRh4bO9V6SyWBqBtqBlvOBofpAkhBlSYJp70ZI+HDNqN+YsG8ZXAeaQ wE/T8bWTUNZuR6ypqhd87wzZihJYQhp144HuNrQAYZY2K+SdhGGHtGmNznzNoN18MI/T XGYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=qEUX7/BcsnItKKvLYQuOczW7YjsYMgEUVvQjsa/ReEw=; b=LLXxYPvujd/vMNAAocW/h87zmzAU4uAEu3K43157rPCHO7Pl2q3KG9/GKo0VrYb7bA cEgr7B6DwVKpQuPEkeH0+xr9xAw1gfTAsrqwtAaEic21hyLlEmxNawxKs4pQUR+rsHH7 Wlwv2DFzA157fUDfiMJs8H0sDPhl0K/439CS6MRMXIm6BpPsYQODdO+C8hMxHf+4/yND ael3PhPe5Es9DE1GtwV4Cce6+COEeaeKT0f81vtvljfDRcOgw8QSHGGeCT3aPcGFASG1 2anydoZJKEGZXp2dfq++OsIdweU3G/6kP7dIq7o/hrb0gsrUTgJ/+9EoesfM5Sqy8HQv 9zxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z78si1323447pfk.374.2018.02.15.07.54.29; Thu, 15 Feb 2018 07:54:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1425265AbeBOPx2 (ORCPT + 99 others); Thu, 15 Feb 2018 10:53:28 -0500 Received: from orcrist.hmeau.com ([104.223.48.154]:39678 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424957AbeBOPxZ (ORCPT ); Thu, 15 Feb 2018 10:53:25 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.84_2 #2 (Debian)) id 1emLqU-0000I5-9H; Thu, 15 Feb 2018 23:53:14 +0800 Received: from herbert by gondobar with local (Exim 4.84_2) (envelope-from ) id 1emLqT-000277-0L; Thu, 15 Feb 2018 23:53:13 +0800 Date: Thu, 15 Feb 2018 23:53:13 +0800 From: Herbert Xu To: Kamil Konieczny Cc: Krzysztof Kozlowski , Vladimir Zapolskiy , "David S. Miller" , Anand Moon , Bartlomiej Zolnierkiewicz , Marek Szyprowski , linux-crypto@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] crypto: s5p-sss.c: Fix kernel Oops in AES-ECB mode Message-ID: <20180215155312.GR7352@gondor.apana.org.au> References: <77384548-9870-40b8-46fc-4bd62747efd6@partner.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <77384548-9870-40b8-46fc-4bd62747efd6@partner.samsung.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 07, 2018 at 04:52:09PM +0100, Kamil Konieczny wrote: > In AES-ECB mode crypt is done with key only, so any use of IV > can cause kernel Oops. Use IV only in AES-CBC and AES-CTR. > > Signed-off-by: Kamil Konieczny > Reported-by: Anand Moon > Reviewed-by: Krzysztof Kozlowski > Tested-by: Anand Moon > Cc: stable@vger.kernel.org # can be applied after commit 8f9702aad138 > > --- > version 3: > Change commit message: drop 'Fixes: 8f9702aad138' as the error was > introduced earlier. Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt