Re: [PATCH] nvme: fix use-after-free during booting

From: Christoph Hellwig
Date: Thu Sep 17 2020 - 11:29:05 EST


On Thu, Sep 17, 2020 at 11:24:59AM -0400, Tong Zhang wrote:
> Hmm.. OK. Any suggestions on how to fix this?

Yes, we'll need to make sure the block layer doesn't double put
for a not fully setup disk/queue. It has been on my todo list for
a while, I'll plan to get back to in the next days.