[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: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH for-6.0 0/2] Fix use-after-free, if remove bitmap during migration |
Date: |
Mon, 22 Mar 2021 16:56:14 +0000 |
On Mon, Mar 22, 2021 at 12:49:04PM +0300, 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(+)
>
> --
> 2.29.2
>
Thanks, applied to my cpuidle-haltpoll-virtqueue tree:
https://gitlab.com/stefanha/qemu/commits/cpuidle-haltpoll-virtqueue
Stefan
signature.asc
Description: PGP signature