OSDN Git Service

crypto: sha1-ssse3 - Disable avx2
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 4 Jul 2017 04:21:12 +0000 (12:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jul 2017 05:44:58 +0000 (07:44 +0200)
commitf1bf5d83a9c17b739f2a944e3686d6b97693e67f
treea650b74e335c2ffcd88dabb66bb42b7c6e2efb0b
parentfc43f0935035008a65e1a8ed50c99679dce65377
crypto: sha1-ssse3 - Disable avx2

commit b82ce24426a4071da9529d726057e4e642948667 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/crypto/sha1_ssse3_glue.c