crypto: sha1-ssse3 - Disable avx2
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 4 Jul 2017 04:21:12 +0000 (12:21 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Jul 2017 13:21:18 +0000 (21:21 +0800)
commitb82ce24426a4071da9529d726057e4e642948667
tree3ac22b5c101ddb13b2ace425cd1cc689726b5311
parent035f901eac4d2d0fd40f3055026355d55d46949f
crypto: sha1-ssse3 - Disable avx2

It has been reported that sha1-avx2 can cause page faults by reading
beyond the end of the input.  This patch disables it until it can be
fixed.

Cc: <stable@vger.kernel.org>
Fixes: 7c1da8d0d046 ("crypto: sha - SHA1 transform x86_64 AVX2")
Reported-by: Jan Stancek <jstancek@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/sha1_ssse3_glue.c