diff options
author | Dan Carpenter <[email protected]> | 2020-02-05 15:32:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-02-10 08:52:33 -0800 |
commit | b7db58105b80fa9232719c8329b995b3addfab55 (patch) | |
tree | e579b74594042ae095a5b75c7b294b080647e1f8 /tools/perf/util/trace-event-scripting.c | |
parent | c3709b3285009e0c1448510b9460e96146cd5c9a (diff) |
staging: greybus: use after free in gb_audio_manager_remove_all()
When we call kobject_put() and it's the last reference to the kobject
then it calls gb_audio_module_release() and frees module. We dereference
"module" on the next line which is a use after free.
Fixes: c77f85bbc91a ("greybus: audio: Fix incorrect counting of 'ida'")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Reviewed-by: Vaibhav Agarwal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions