Re: [PATCH RFC] block: fix use after free for bd_holder_dir/slave_dir

From: Christoph Hellwig
Date: Mon Oct 17 2022 - 07:37:00 EST


On Mon, Oct 17, 2022 at 05:24:20PM +0800, Yu Kuai wrote:
> I agree that this patch do make sense, however, it seems to me this
> patch should fix the problem that kobject is leaked, not uaf... And I
> verified that the problem can still be reporduced with this patch.

Can you share your reproducer?