Re: [PATCH 0/2] vhost-vdpa: fix issues around v->config_ctx handling

2021-03-11 Thread Michael S. Tsirkin
On Thu, Mar 11, 2021 at 02:52:55PM +0100, Stefano Garzarella wrote: > While writing a test for a Rust library [1] to handle vhost-vdpa devices, > I experienced the 'use-after-free' issue fixed in patch 1, then I > discovered the potential issue when eventfd_ctx_fdget() fails fixed in > patch 2. >

[PATCH 0/2] vhost-vdpa: fix issues around v->config_ctx handling

2021-03-11 Thread Stefano Garzarella
While writing a test for a Rust library [1] to handle vhost-vdpa devices, I experienced the 'use-after-free' issue fixed in patch 1, then I discovered the potential issue when eventfd_ctx_fdget() fails fixed in patch 2. Do you think it might be useful to write a vdpa test suite, perhaps using this