Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Steffen Klassert <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information