block-backend: prevent dangling BDS pointers across aio_poll()
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2040123
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=42882886
Upstream status: merged
Stefan’s patch to fix use-after-free cases in our BlockBackend
code for cases where the root BDS is replaced during aio_poll()
, plus a regression test.
Signed-off-by: Hanna Reitz hreitz@redhat.com