diff options
author | Juergen Gross <jgross@suse.com> | 2020-10-20 06:52:55 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-05 11:43:10 +0100 |
commit | 44a455e06d87b09a54dd8a679751ae54fef8e371 (patch) | |
tree | 0893a8cc22f895d8098af453bff495f917f8e0bc /include/xen | |
parent | 4bea575a10691a99b03d5e9055f3079040b59868 (diff) |
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