Re: [syzbot] [v9fs?] KASAN: slab-use-after-free Write in v9fs_free_request
From: David Howells
Date: Wed May 22 2024 - 06:57:07 EST
asmadeus@xxxxxxxxxxxxx wrote:
> That's a tough one: netfs took a ref in v9fs_init_request (netfs op's
> init_request) and expects to be able to use it until v9fs_free_request
> (net op's free_request()), but the fs was dismounted first and we kill
> the kmem cache at this point so we aggressively drop any dangling ref
> there as there's no way of waiting.
Which kmem cache are we talking about? I can see two in net/9p/ and one in
fs/9p/. And took a ref on what?
David