1
0
Fork 0
alistair23-linux/arch/x86/crypto
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
..
sha-mb crypto: sha1-mb - use corrcet pointer while completing jobs 2016-04-15 22:13:56 +08:00
Makefile crypto: x86/sha - Add build support for Intel SHA Extensions optimized SHA1 and SHA256 2015-09-21 22:01:06 +08:00
aes-i586-asm_32.S
aes-x86_64-asm_64.S
aes_ctrby8_avx-x86_64.S
aes_glue.c
aesni-intel_asm.S x86/asm/crypto: Create stack frames in crypto functions 2016-02-24 08:35:43 +01:00
aesni-intel_avx-x86_64.S
aesni-intel_glue.c crypto: xts - consolidate sanity check for keys 2016-02-17 04:07:51 +08:00
blowfish-x86_64-asm_64.S
blowfish_glue.c
camellia-aesni-avx-asm_64.S x86/asm/crypto: Create stack frames in crypto functions 2016-02-24 08:35:43 +01:00
camellia-aesni-avx2-asm_64.S x86/asm/crypto: Create stack frames in crypto functions 2016-02-24 08:35:43 +01:00
camellia-x86_64-asm_64.S
camellia_aesni_avx2_glue.c x86/fpu: Rename XSAVE macros 2015-09-14 12:21:46 +02:00
camellia_aesni_avx_glue.c Merge branch 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-11-03 20:50:26 -08:00
camellia_glue.c crypto: xts - consolidate sanity check for keys 2016-02-17 04:07:51 +08:00
cast5-avx-x86_64-asm_64.S x86/asm/crypto: Create stack frames in crypto functions 2016-02-24 08:35:43 +01:00
cast5_avx_glue.c x86/fpu: Rename XSAVE macros 2015-09-14 12:21:46 +02:00
cast6-avx-x86_64-asm_64.S x86/asm/crypto: Create stack frames in crypto functions 2016-02-24 08:35:43 +01:00
cast6_avx_glue.c crypto: xts - consolidate sanity check for keys 2016-02-17 04:07:51 +08:00
chacha20-avx2-x86_64.S crypto: chacha20 - Add an eight block AVX2 variant for x86_64 2015-07-17 21:20:25 +08:00
chacha20-ssse3-x86_64.S crypto: chacha20-ssse3 - Align stack pointer to 64 bytes 2016-01-25 21:47:45 +08:00
chacha20_glue.c x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros 2015-12-19 11:49:55 +01:00
crc32-pclmul_asm.S
crc32-pclmul_glue.c x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
crc32c-intel_glue.c x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
crc32c-pcl-intel-asm_64.S x86/asm/crypto: Move jump_table to .rodata section 2016-02-24 08:35:42 +01:00
crct10dif-pcl-asm_64.S
crct10dif-pclmul_glue.c x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
des3_ede-asm_64.S
des3_ede_glue.c
fpu.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2015-06-22 21:04:48 -07:00
ghash-clmulni-intel_asm.S x86/asm/crypto: Create stack frames in crypto functions 2016-02-24 08:35:43 +01:00
ghash-clmulni-intel_glue.c crypto: ghash-clmulni - Fix load failure 2015-12-04 22:29:53 +08:00
glue_helper-asm-avx.S
glue_helper-asm-avx2.S
glue_helper.c crypto: don't export static symbol 2015-03-13 21:37:15 +11:00
poly1305-avx2-x86_64.S crypto: poly1305 - Add a four block AVX2 variant for x86_64 2015-07-17 21:20:29 +08:00
poly1305-sse2-x86_64.S crypto: poly1305 - Add a two block SSE2 variant for x86_64 2015-07-17 21:20:28 +08:00
poly1305_glue.c x86/fpu: Rename XSAVE macros 2015-09-14 12:21:46 +02:00
salsa20-i586-asm_32.S
salsa20-x86_64-asm_64.S
salsa20_glue.c
serpent-avx-x86_64-asm_64.S x86/asm/crypto: Create stack frames in crypto functions 2016-02-24 08:35:43 +01:00
serpent-avx2-asm_64.S x86/asm/crypto: Create stack frames in crypto functions 2016-02-24 08:35:43 +01:00
serpent-sse2-i586-asm_32.S
serpent-sse2-x86_64-asm_64.S
serpent_avx2_glue.c x86/fpu: Rename XSAVE macros 2015-09-14 12:21:46 +02:00
serpent_avx_glue.c crypto: xts - consolidate sanity check for keys 2016-02-17 04:07:51 +08:00
serpent_sse2_glue.c crypto: xts - consolidate sanity check for keys 2016-02-17 04:07:51 +08:00
sha1_avx2_x86_64_asm.S
sha1_ni_asm.S crypto: x86/sha - Intel SHA Extensions optimized SHA1 transform function 2015-09-21 22:01:05 +08:00
sha1_ssse3_asm.S
sha1_ssse3_glue.c Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2015-11-04 09:11:12 -08:00
sha256-avx-asm.S crypto: x86/sha256_ssse3 - move SHA-224/256 SSSE3 implementation to base layer 2015-04-10 21:39:47 +08:00
sha256-avx2-asm.S crypto: x86/sha256_ssse3 - move SHA-224/256 SSSE3 implementation to base layer 2015-04-10 21:39:47 +08:00
sha256-ssse3-asm.S crypto: x86/sha256_ssse3 - move SHA-224/256 SSSE3 implementation to base layer 2015-04-10 21:39:47 +08:00
sha256_ni_asm.S crypto: x86/sha - Intel SHA Extensions optimized SHA256 transform function 2015-09-21 22:01:06 +08:00
sha256_ssse3_glue.c Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2015-11-04 09:11:12 -08:00
sha512-avx-asm.S crypto: x86/sha512_ssse3 - move SHA-384/512 SSSE3 implementation to base layer 2015-04-10 21:39:48 +08:00
sha512-avx2-asm.S crypto: x86/sha512_ssse3 - fixup for asm function prototype change 2015-04-24 20:09:01 +08:00
sha512-ssse3-asm.S crypto: x86/sha512_ssse3 - move SHA-384/512 SSSE3 implementation to base layer 2015-04-10 21:39:48 +08:00
sha512_ssse3_glue.c Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2015-11-04 09:11:12 -08:00
twofish-avx-x86_64-asm_64.S x86/asm/crypto: Create stack frames in crypto functions 2016-02-24 08:35:43 +01:00
twofish-i586-asm_32.S
twofish-x86_64-asm_64-3way.S
twofish-x86_64-asm_64.S x86/asm: Replace "MOVQ $imm, %reg" with MOVL 2015-04-01 13:17:39 +02:00
twofish_avx_glue.c x86/fpu: Fixup uninitialized feature_name warning 2015-09-24 09:21:20 +02:00
twofish_glue.c
twofish_glue_3way.c crypto: xts - consolidate sanity check for keys 2016-02-17 04:07:51 +08:00