[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.0 0/2] Fix use-after-free, if remove bitmap during migr
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
Re: [PATCH for-6.0 0/2] Fix use-after-free, if remove bitmap during migration |
Date: |
Mon, 22 Mar 2021 15:22:53 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
22.03.2021 12:49, Vladimir Sementsov-Ogievskiy wrote:
Hi all! Accidentally we found on use-after-free. Normally user should
not remove bitmaps during migration.. But some wrong user actions may
simply lead to Qemu crash and that's not good.
Vladimir Sementsov-Ogievskiy (2):
migration/block-dirty-bitmap: make incoming disabled bitmaps busy
migrate-bitmaps-postcopy-test: check that we can't remove in-flight
bitmaps
migration/block-dirty-bitmap.c | 6 ++++++
tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test | 10 ++++++++++
2 files changed, 16 insertions(+)
Oops sorry. Actually, it's a v2 for "[PATCH 0/2] Fix crash if try to remove bitmap
on target during migration" with a bit improved test, patch 1` unchanged.
Supersedes: <20210319204124.364312-1-vsementsov@virtuozzo.com>
--
Best regards,
Vladimir