Alex Williamson
956b56a984
vfio/pci: Fix ordering of eventfd vs virqfd shutdown
...
Both the INTx and MSI/X disable paths do an eventfd_ctx_put() for the
trigger eventfd before calling vfio_virqfd_disable() any potential
mask and unmask eventfds. This opens a use-after-free race where an
inopportune irqfd can reference the freed signalling eventfd. Reorder
to avoid this possibility.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2016-05-30 07:50:10 -06:00
..
2016-05-27 15:26:11 -07:00
2016-05-27 15:26:11 -07:00
2016-05-25 15:29:21 -07:00
2016-05-24 11:00:20 -07:00
2016-05-26 19:34:26 -07:00
2016-05-19 10:02:26 -07:00
2016-05-20 22:31:33 -07:00
2016-05-27 15:26:11 -07:00
2016-05-19 11:27:09 -07:00
2016-05-27 15:26:11 -07:00
2016-05-27 15:26:11 -07:00
2016-05-20 22:02:55 -07:00
2016-05-27 15:26:11 -07:00
2016-05-20 21:26:15 -07:00
2016-05-27 15:26:11 -07:00
2016-05-27 15:26:11 -07:00
2016-05-26 09:48:23 -07:00
2016-05-20 17:58:30 -07:00
2016-05-20 21:20:31 -07:00
2016-05-28 17:37:42 +02:00
2016-05-20 22:20:48 -07:00
2016-05-28 12:04:17 -07:00
2016-05-27 19:14:35 -07:00
2016-05-27 15:26:11 -07:00
2016-05-28 16:41:39 -07:00
2016-05-20 20:57:27 -07:00
2016-05-25 10:40:15 -07:00
2016-05-27 14:28:09 -07:00
2016-05-28 16:15:25 -07:00
2016-05-24 11:00:20 -07:00
2016-05-23 17:04:14 -07:00
2016-05-18 16:38:59 -07:00
2016-05-27 15:26:11 -07:00
2016-05-20 21:20:31 -07:00
2016-05-27 15:26:11 -07:00
2016-05-27 18:49:29 -07:00
2016-05-27 15:26:11 -07:00
2016-05-26 19:34:26 -07:00
2016-05-27 15:26:11 -07:00
2016-05-24 11:00:20 -07:00
2016-05-20 21:20:31 -07:00
2016-05-20 21:12:25 -07:00
2016-05-26 15:35:44 -07:00
2016-05-28 12:32:01 -07:00
2016-05-20 21:26:15 -07:00
2016-05-20 14:06:21 -07:00
2016-05-25 10:40:15 -07:00
2016-05-21 17:07:17 +02:00
2016-05-26 19:34:26 -07:00
2016-05-20 18:33:37 -07:00
2016-05-28 12:04:17 -07:00
2016-05-19 15:20:24 +02:00
2016-05-28 12:23:12 -07:00
2016-05-28 11:04:16 -07:00
2016-05-28 12:04:17 -07:00
2016-05-26 09:23:43 -07:00
2016-05-27 15:26:11 -07:00
2016-05-28 12:04:17 -07:00
2016-05-30 07:50:10 -06:00
2016-05-27 15:26:11 -07:00
2016-05-22 19:44:13 +03:00
2016-05-25 10:19:17 -07:00
2016-05-28 12:04:17 -07:00
2016-05-23 11:18:01 -07:00
2016-05-20 22:02:53 -07:00