crypto: pcrypt - Fix use after free on padata_free
Steffen Klassert authored

kobject_put is called from padata_free for the padata kobject.
The kobject's release function frees the padata instance,
so don't call kobject_put for the padata kobject from pcrypt.
Reported-and-tested-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
e2b34835
Name Last commit Last update
..
async_tx Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx
Kconfig crypto: Kconfig - update broken web addresses
Makefile crypto: twofish: Rename twofish to twofish_generic and add an alias
ablkcipher.c crypto: skcipher - avoid NULL dereference
aead.c crypto: aead - Fix checkpatch errors
aes_generic.c crypto: aes_generic - Fix checkpatch errors
ahash.c crypto: hash - Fix handling of small unaligned buffers
algapi.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
algboss.c crypto: testmgr - Fix test disabling option
ansi_cprng.c crypto: ansi_cprng - Move FIPS functions under CONFIG_CRYPTO_FIPS
anubis.c crypto: anubis - Fix checkpatch errors
api.c crypto: api - Fix checkpatch errors
arc4.c [CRYPTO] api: Get rid of flags argument to setkey
authenc.c crypto: Use ERR_CAST
blkcipher.c mm: strictly nested kmap_atomic()
blowfish.c crypto: blowfish - Fix checkpatch errors
camellia.c crypto: camellia - Fix checkpatch errors
cast5.c crypto: cast5 - Fix checkpatch errors
cast6.c crypto: cast6 - Fix checkpatch errors
cbc.c Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p)
ccm.c crypto: ccm - Fix handling of null assoc data
chainiv.c crypto: chainiv - Use kcrypto_wq instead of keventd_wq
cipher.c crypto: cipher - Fix checkpatch errors
compress.c crypto: compress - Fix checkpatch errors
crc32c.c crypto: crc32 - Fix checkpatch errors
cryptd.c
crypto_null.c
crypto_wq.c
ctr.c
cts.c
deflate.c
des_generic.c
ecb.c
eseqiv.c
fcrypt.c
fips.c
gcm.c
gf128mul.c
ghash-generic.c
hmac.c
internal.h
khazad.c
krng.c
lrw.c
lzo.c
md4.c
md5.c
michael_mic.c
pcbc.c
pcompress.c
pcrypt.c
proc.c
ripemd.h
rmd128.c
rmd160.c
rmd256.c
rmd320.c
rng.c
salsa20_generic.c
scatterwalk.c
seed.c
seqiv.c
serpent.c
sha1_generic.c
sha256_generic.c
sha512_generic.c
shash.c
tcrypt.c
tcrypt.h
tea.c
testmgr.c
testmgr.h
tgr192.c
twofish_common.c
twofish_generic.c
vmac.c
wp512.c
xcbc.c
xor.c
xts.c
zlib.c