Skip to content
Commit 73536338 authored by Eiichi Tsukata's avatar Eiichi Tsukata Committed by Paolo Bonzini
Browse files

KVM: x86/xen: Fix eventfd error handling in kvm_xen_eventfd_assign()



Should not call eventfd_ctx_put() in case of error.

Fixes: 2fd6df2f ("KVM: x86/xen: intercept EVTCHNOP_send from guests")
Reported-by: default avatar <syzbot+6f0c896c5a9449a10ded@syzkaller.appspotmail.com>
Signed-off-by: default avatarEiichi Tsukata <eiichi.tsukata@nutanix.com>
Message-Id: <20221028092631.117438-1-eiichi.tsukata@nutanix.com>
[Introduce new goto target instead. - Paolo]
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 696db303
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