Re: vfio: refcount_t: underflow; use-after-free.

From: Alex Williamson
Date: Tue Jun 16 2020 - 17:29:00 EST


On Tue, 16 Jun 2020 10:50:52 +0200
Daniel Wagner <dwagner@xxxxxxx> wrote:

> Hi,
>
> I'm getting the warning below when starting a KVM the second time with an
> Emulex PCI card 'passthroughed' into a KVM. I'm terminating the session
> via 'ctrl-a x', not sure if this is relevant.
>
> This is with 5.8-rc1. IIRC, older version didn't have this problem.

Thanks for the report, it's a new regression. I've just posted a fix
for it. Thanks,

Alex