diff options
author | Marc Zyngier <[email protected]> | 2017-01-12 09:21:56 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2017-01-13 11:19:35 +0000 |
commit | 1193e6aeecb36c74c48c7cd0f641acbbed9ddeef (patch) | |
tree | 37d742ae587ab033d9b3a961cf7fbae85c294df0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 488f94d7212b00a2ec72fb886b155f1b04c5aa98 (diff) |
KVM: arm/arm64: vgic: Fix deadlock on error handling
Dmitry Vyukov reported that the syzkaller fuzzer triggered a
deadlock in the vgic setup code when an error was detected, as
the cleanup code tries to take a lock that is already held by
the setup code.
The fix is to avoid retaking the lock when cleaning up, by
telling the cleanup function that we already hold it.
Cc: [email protected]
Reported-by: Dmitry Vyukov <[email protected]>
Reviewed-by: Christoffer Dall <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions