There's a window in xen_intr_unbind() where the interrupt source refcount
is 0, yet the xen_intr_isrc_lock is not locked. A call to
xen_intr_get_evtchn_from_port() during that window can take a reference to
an event channel that's in the process of being released.
Fix by ensuring a non-zero refcount when an extra reference is taken by
xen_intr_get_evtchn_from_port().
Fixes: 0f4d7d9fd78b ("xen/intr: add reference counts to event channels")
PR: 300891
Reported by: Scott Blomenkamp
Sponsored by: Advanced Micro Devices, Inc.
MFC after: 1 week