[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210827083814.GE21571@gondor.apana.org.au>
Date: Fri, 27 Aug 2021 16:38:14 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Shreyansh Chouhan <chouhan.shreyansh630@...il.com>
Cc: davem@...emloft.net, tglx@...utronix.de, mingo@...hat.com,
bp@...en8.de, hpa@...or.com, x86@...nel.org, ardb@...nel.org,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
syzbot+20191dc583eff8602d2d@...kaller.appspotmail.com
Subject: Re: [PATCH v2] crypto: xts_crypt() return if walk.nbytes is 0
On Sun, Aug 22, 2021 at 09:15:14AM +0530, Shreyansh Chouhan wrote:
> xts_crypt() code doesn't call kernel_fpu_end() after calling
> kernel_fpu_begin() if walk.nbytes is 0. The correct behavior should be
> not calling kernel_fpu_begin() if walk.nbytes is 0.
>
> Reported-by: syzbot+20191dc583eff8602d2d@...kaller.appspotmail.com
> Signed-off-by: Shreyansh Chouhan <chouhan.shreyansh630@...il.com>
> ---
> arch/x86/crypto/aesni-intel_glue.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists