android_kernel_xiaomi_sm8350/crypto
Herbert Xu da7cd59ab9 [CRYPTO] api: Read module pointer before freeing algorithm
The function crypto_mod_put first frees the algorithm and then drops
the reference to its module.  Unfortunately we read the module pointer
which after freeing the algorithm and that pointer sits inside the
object that we just freed.

So this patch reads the module pointer out before we free the object.

Thanks to Luca Tettamanti for reporting this.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2007-05-19 14:51:00 +10:00
..
ablkcipher.c [CRYPTO] api: Add async blkcipher type 2007-05-02 14:38:31 +10:00
aes.c
algapi.c [CRYPTO] api: Do not remove users unless new algorithm matches 2007-05-02 14:38:32 +10:00
anubis.c
api.c [CRYPTO] api: Read module pointer before freeing algorithm 2007-05-19 14:51:00 +10:00
arc4.c
blkcipher.c [CRYPTO] api: Add async block cipher interface 2007-05-02 14:38:30 +10:00
blowfish.c
camellia.c [CRYPTO] camellia: added the code of Camellia cipher algorithm. 2007-02-07 09:21:03 +11:00
cast5.c
cast6.c
cbc.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
cipher.c [CRYPTO] api: Remove deprecated interface 2007-02-07 09:21:00 +11:00
compress.c [CRYPTO] api: Remove deprecated interface 2007-02-07 09:21:00 +11:00
crc32c.c
cryptd.c [CRYPTO] cryptd: Add software async crypto daemon 2007-05-02 14:38:32 +10:00
crypto_null.c
cryptomgr.c [CRYPTO] cryptomgr: Fix use after free 2007-05-09 13:04:39 +10:00
deflate.c
des.c
digest.c [CRYPTO] api: Remove deprecated interface 2007-02-07 09:21:00 +11:00
ecb.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
fcrypt.c [CRYPTO] fcrypt: Add FCrypt from RxRPC 2007-02-07 09:20:59 +11:00
gf128mul.c
hash.c [CRYPTO] api: Proc functions should be marked as unused 2007-05-02 14:38:29 +10:00
hmac.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
internal.h [CRYPTO] api: Allow multiple frontends per backend 2007-02-07 09:21:01 +11:00
Kconfig Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
khazad.c
lrw.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
Makefile [CRYPTO] cryptd: Add software async crypto daemon 2007-05-02 14:38:32 +10:00
md4.c
md5.c
michael_mic.c [PATCH] Update my email address from jkmaline@cc.hut.fi to j@w1.fi 2007-04-28 11:01:01 -04:00
pcbc.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00
proc.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
scatterwalk.c [CRYPTO] api: Flush the current page right than the next 2007-03-31 12:58:20 +10:00
scatterwalk.h
serpent.c
sha1.c
sha256.c
sha512.c
tcrypt.c [CRYPTO] tcrypt: Add missing error check 2007-05-18 16:25:19 +10:00
tcrypt.h [CRYPTO] camellia: added the testing code of Camellia cipher 2007-02-07 09:21:04 +11:00
tea.c
tgr192.c
twofish_common.c
twofish.c
wp512.c
xcbc.c [CRYPTO] templates: Pass type/mask when creating instances 2007-05-02 14:38:31 +10:00