Re: [PATCH 0/2] Fix crash if try to remove bitmap on target during migration

2021-03-22 Thread Vladimir Sementsov-Ogievskiy
22.03.2021 14:28, Stefan Hajnoczi wrote: On Fri, Mar 19, 2021 at 11:41:22PM +0300, Vladimir Sementsov-Ogievskiy wrote: Hi all! Bitmaps on source are marked busy during migration. Enabled bitmaps on target have successor, so they are busy. But disabled migrated bitmaps are not protected on tar

Re: [PATCH 0/2] Fix crash if try to remove bitmap on target during migration

2021-03-22 Thread Stefan Hajnoczi
On Fri, Mar 19, 2021 at 11:41:22PM +0300, Vladimir Sementsov-Ogievskiy wrote: > Hi all! > > Bitmaps on source are marked busy during migration. > > Enabled bitmaps on target have successor, so they are busy. > > But disabled migrated bitmaps are not protected on target. User can > simple remove

[PATCH 0/2] Fix crash if try to remove bitmap on target during migration

2021-03-19 Thread Vladimir Sementsov-Ogievskiy
Hi all! Bitmaps on source are marked busy during migration. Enabled bitmaps on target have successor, so they are busy. But disabled migrated bitmaps are not protected on target. User can simple remove them and it lead to use-after-free. These bitmaps should be marked busy. Vladimir Sementsov-O