summaryrefslogtreecommitdiffstats
path: root/include/xen/events.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2020-10-20 06:52:55 +0200
committerJuergen Gross <jgross@suse.com>2020-10-20 10:21:58 +0200
commitf01337197419b7e8a492e83089552b77d3b5fb90 (patch)
treed49649615f31a412be79528e3c3deb7985a8eb87 /include/xen/events.h
parentxen/events: add a proper barrier to 2-level uevent unmasking (diff)
downloadlinux-f01337197419b7e8a492e83089552b77d3b5fb90.tar.xz
linux-f01337197419b7e8a492e83089552b77d3b5fb90.zip
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 '')
0 files changed, 0 insertions, 0 deletions