diff options
author | Juergen Gross <jgross@suse.com> | 2020-10-20 07:52:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-05 13:08:36 +0300 |
commit | c7f95d899f492c1615538cbebdb781e4a1e7b7cf (patch) | |
tree | 0474cadd732fa3e3daa1e6434b518531a7d78173 /include/xen | |
parent | 25f6b08895d579b461487291d6e48b3953a8bf65 (diff) | |
download | linux-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