Re: [syzbot] [btrfs?] KASAN: slab-use-after-free Read in btrfs_open_devices

From: Christoph Hellwig
Date: Tue Aug 08 2023 - 14:16:16 EST


On Tue, Aug 08, 2023 at 06:35:04PM +0200, Christian Brauner wrote:
> On Tue, Aug 08, 2023 at 06:01:41PM +0200, Christoph Hellwig wrote:
> > Yes, probably. The lifetimes looked fishy to me to start with, but
> > this might have made things worse.
>
> It looks like we should be able to just drop that patch.
> Ok, are you fixing this or should I drop this patch?

I plan to fix it, but you can drop it for. If we want to go on top
drop get_super like the preview series I sent you we'll eventually need
something like this patch back, though.