Skip to content

Fix use-after-free, if remove bitmap during migration

Vladimir Sementsov-Ogievskiy qemu-devel 1 version Applied

Status from this message: Thanks, applied to my cpuidle-haltpoll-virtqueue tree:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2migration/block-dirty-bitmap: make incoming disabled bitmaps busymigration/block-dirty-bitmap.c+6 -00 replies
2/2migrate-bitmaps-postcopy-test: check that we can't remove in-flight bitmapstests/qemu-iotests/tests/migrate-bitmaps-postcopy-test+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for-6.0 0/2] Fix use-after-free, if remove bitmap during migration

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(+)
Signature · 1 line
2.29.2