Kevin Wolf
19ebd13ed4
commit: Fix use after free in completion
...
The final bdrv_set_backing_hd() could be working on already freed nodes
because the commit job drops its references (through BlockBackends) to
both overlay_bs and top already a bit earlier.
One way to trigger the bug is hot unplugging a disk for which
blockdev_mark_auto_del() cancels the block job.
Fix this by taking BDS-level references while we're still using the
nodes.
Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
2017-06-09 13:46:13 +02:00
..
2016-01-20 13:36:23 +01:00
2017-05-24 16:38:51 -04:00
2017-05-11 14:28:06 +02:00
2017-04-27 16:12:13 +02:00
2017-05-09 09:13:51 +02:00
2017-06-09 11:45:03 +02:00
2017-04-24 15:09:33 -04:00
2017-04-24 15:09:33 -04:00
2017-06-09 13:46:13 +02:00
2017-05-09 14:41:47 +01:00
2017-05-16 10:34:50 -04:00
2016-10-24 17:56:07 +02:00
2016-10-07 14:14:06 +02:00
2017-04-24 15:09:33 -04:00
2016-10-07 14:14:06 +02:00
2017-05-29 15:39:54 +02:00
2017-05-29 15:39:54 +02:00
2017-06-02 10:51:47 -04:00
2017-05-24 16:38:51 -04:00
2017-01-27 18:07:58 +01:00
2017-04-28 16:02:03 +02:00
2017-02-21 11:39:39 +00:00
2017-04-24 15:08:42 -04:00
2017-05-30 14:15:15 +01:00
2017-03-27 16:50:36 +02:00
2017-03-27 14:41:01 +02:00
2017-05-09 09:14:40 +02:00
2017-05-09 09:13:51 +02:00
2017-05-09 09:13:51 +02:00
2017-04-28 16:02:02 +02:00
2017-02-22 19:52:20 +01:00
2016-11-25 13:51:30 +01:00
2017-05-29 15:39:54 +02:00
2017-05-11 14:28:07 +02:00
2017-05-11 14:28:07 +02:00
2017-05-29 15:39:53 +02:00
2017-05-11 14:28:07 +02:00
2017-05-17 12:04:59 +02:00
2016-06-07 18:19:24 +03:00
2017-02-21 11:39:39 +00:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2017-02-21 11:39:39 +00:00
2017-05-18 19:20:59 +02:00
2017-02-21 11:14:08 +00:00
2017-05-09 09:13:51 +02:00
2017-04-28 16:02:03 +02:00
2017-05-09 09:13:51 +02:00
2017-05-07 09:57:51 +03:00
2017-05-09 09:14:40 +02:00
2017-05-09 09:13:51 +02:00
2017-05-09 09:13:51 +02:00
2017-05-26 16:48:21 +02:00
2017-02-21 11:39:40 +00:00
2017-04-24 15:08:42 -04:00
2017-05-17 12:04:59 +02:00
2016-09-23 11:42:52 +08:00
2017-04-28 16:02:02 +02:00
2017-05-17 12:04:59 +02:00
2014-12-12 15:42:22 +00:00
2017-05-17 12:04:59 +02:00
2017-05-17 12:04:59 +02:00
2017-05-17 12:04:59 +02:00
2017-05-09 09:13:51 +02:00
2017-02-21 11:39:39 +00:00
2016-10-07 13:34:07 +02:00