Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7e5c6750 authored by John Dias's avatar John Dias Committed by Gerrit - the friendly Code Review server
Browse files

perf: don't leave group_entry on sibling list (use-after-free)



When perf_group_detach is called on a group leader,
it should empty its sibling list. Otherwise, when
a sibling is later deallocated, list_del_event()
removes the sibling's group_entry from its current
list, which can be the now-deallocated group leader's
sibling list (use-after-free bug).

Bug: 32402548
Change-Id: I99f6bc97c8518df1cb0035814368012ba72ab1f1
Signed-off-by: default avatarJohn Dias <joaodias@google.com>
Git-repo: https://android.googlesource.com/kernel/msm


Git-commit: 6b6cfb2362f09553b46b3b7e5684b16b6e53e373
Signed-off-by: default avatarDennis Cagle <d-cagle@codeaurora.org>
parent 56503fc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment