summaryrefslogtreecommitdiff
path: root/include/xen
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2020-10-20 07:52:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-05 13:08:36 +0300
commitc7f95d899f492c1615538cbebdb781e4a1e7b7cf (patch)
tree0474cadd732fa3e3daa1e6434b518531a7d78173 /include/xen
parent25f6b08895d579b461487291d6e48b3953a8bf65 (diff)
downloadlinux-c7f95d899f492c1615538cbebdb781e4a1e7b7cf.tar.xz
xen/events: fix race in evtchn_fifo_unmask()
commit f01337197419b7e8a492e83089552b77d3b5fb90 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions