android_kernel_oneplus_msm8998/arch/x86/crypto/sha-mb
Xiaodong Liu 9a10dfc8bf crypto: sha1-mb - use corrcet pointer while completing jobs
commit 0851561d9c965df086ef8a53f981f5f95a57c2c8 upstream.

In sha_complete_job, incorrect mcryptd_hash_request_ctx pointer is used
when check and complete other jobs. If the memory of first completed req
is freed, while still completing other jobs in the func, kernel will
crash since NULL pointer is assigned to RIP.

Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
Acked-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-04 14:48:44 -07:00
..
Makefile crypto: sha-mb - SHA1 multibuffer job manager and glue code 2014-08-25 20:32:30 +08:00
sha1_mb.c crypto: sha1-mb - use corrcet pointer while completing jobs 2016-05-04 14:48:44 -07:00
sha1_mb_mgr_datastruct.S
sha1_mb_mgr_flush_avx2.S
sha1_mb_mgr_init_avx2.c crypto: sha-mb - Fix big integer constant sparse warning 2015-02-27 22:48:49 +13:00
sha1_mb_mgr_submit_avx2.S
sha1_x8_avx2.S crypto: sha-mb - SHA1 multibuffer crypto computation (x8 AVX2) 2014-08-25 20:32:29 +08:00
sha_mb_ctx.h
sha_mb_mgr.h