commit | f01337197419b7e8a492e83089552b77d3b5fb90 | [log] [tgz] |
---|---|---|
author | Juergen Gross <jgross@suse.com> | Tue Oct 20 06:52:55 2020 +0200 |
committer | Juergen Gross <jgross@suse.com> | Tue Oct 20 10:21:58 2020 +0200 |
tree | d49649615f31a412be79528e3c3deb7985a8eb87 | |
parent | 4d3fe31bd993ef504350989786858aefdb877daa [diff] |
xen/events: fix race in evtchn_fifo_unmask() Unmasking a fifo event channel can result in unmasking it twice, once directly in the kernel and once via a hypercall in case the event was pending. Fix that by doing the local unmask only if the event is not pending. This is part of XSA-332. Cc: stable@vger.kernel.org Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jan Beulich <jbeulich@suse.com>