linux-stable/arch/x86/crypto/sha-mb
Xiaodong Liu 0851561d9c crypto: sha1-mb - use corrcet pointer while completing jobs
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.

Cc: <stable@vger.kernel.org>
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>
2016-04-15 22:13:56 +08: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-04-15 22:13:56 +08:00
sha1_mb_mgr_datastruct.S
sha1_mb_mgr_flush_avx2.S x86/asm/crypto: Create stack frames in crypto functions 2016-02-24 08:35:43 +01:00
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 Merge branch 'core-objtool-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 18:23:21 -07:00
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