diff options
author | Juergen Gross <jgross@suse.com> | 2020-10-20 07:52:55 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2020-10-20 11:21:58 +0300 |
commit | f01337197419b7e8a492e83089552b77d3b5fb90 (patch) | |
tree | d49649615f31a412be79528e3c3deb7985a8eb87 /include/xen/events.h | |
parent | 4d3fe31bd993ef504350989786858aefdb877daa (diff) | |
download | linux-f01337197419b7e8a492e83089552b77d3b5fb90.tar.xz |
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>
Diffstat (limited to 'include/xen/events.h')
0 files changed, 0 insertions, 0 deletions