Re: [PATCH] nvme: fix use-after-free during booting
From: Tong Zhang
Date: Thu Sep 17 2020 - 11:26:45 EST
Hmm.. OK. Any suggestions on how to fix this?
On Thu, Sep 17, 2020 at 4:26 AM Christoph Hellwig <hch@xxxxxx> wrote:
>
> On Wed, Sep 16, 2020 at 11:36:05AM -0400, Tong Zhang wrote:
> > if a nvme controller is not responding during probing, a use-after-free
> > condition could happen
>
> This now leaks the queue for the regular teardown path.