diff options
author | Tetsuo Handa <[email protected]> | 2019-07-01 19:55:19 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-07-25 13:11:51 +0200 |
commit | 8f9e86ee795971eabbf372e6d804d6b8578287a7 (patch) | |
tree | 9063b410bef132e8c63c79d1d60f674fae2ebeec /tools/perf/util/trace-event-scripting.c | |
parent | 92e3e884887c0d278042fbbb6f6c9b41d6addb71 (diff) |
staging: android: ion: Bail out upon SIGKILL when allocating memory.
syzbot found that a thread can stall for minutes inside
ion_system_heap_allocate() after that thread was killed by SIGKILL [1].
Let's check for SIGKILL before doing memory allocation.
[1] https://syzkaller.appspot.com/bug?id=a0e3436829698d5824231251fad9d8e998f94f5e
Signed-off-by: Tetsuo Handa <[email protected]>
Cc: stable <[email protected]>
Reported-by: syzbot <[email protected]>
Acked-by: Laura Abbott <[email protected]>
Acked-by: Sumit Semwal <[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