diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2010-11-10 12:21:43 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-12 07:58:46 -0800 |
commit | f6cb9476a4c15bc6f3366feb5e733ef2f294014d (patch) | |
tree | f3b2739332ddf870579ea4cce2c012759586621c /crypto/aes_generic.c | |
parent | ae4852062ba8c438d7e054d81fb6a22f3265ee12 (diff) | |
download | linux-crypto-f6cb9476a4c15bc6f3366feb5e733ef2f294014d.tar.gz linux-crypto-f6cb9476a4c15bc6f3366feb5e733ef2f294014d.zip |
crypto: pcrypt - Fix use after free on padata_free
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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/aes_generic.c')
0 files changed, 0 insertions, 0 deletions