qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Vladimir Sementsov-Ogievskiy
Subject: [PATCH for-6.0 0/2] Fix use-after-free, if remove bitmap during migration
Date: Mon, 22 Mar 2021 12:49:04 +0300

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]