[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zk-trSrUlNmodxLx@codewreck.org>
Date: Fri, 24 May 2024 05:57:17 +0900
From: asmadeus@...ewreck.org
To: David Howells <dhowells@...hat.com>
Cc: syzbot <syzbot+d7c7a495a5e466c031b6@...kaller.appspotmail.com>,
brauner@...nel.org, hdanton@...a.com, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [v9fs?] KASAN: slab-use-after-free Read in
p9_fid_destroy
David Howells wrote on Thu, May 23, 2024 at 07:07:05PM +0100:
> asmadeus@...ewreck.org wrote:
>
> > > There's a problem in 9p's interaction with netfslib whereby a crash occurs
> > > because the 9p_fid structs get forcibly destroyed during client teardown
> > > (without paying attention to their refcounts) before netfslib has finished
> > > with them. However, it's not a simple case of deferring the clunking that
> > > p9_fid_put() does as that requires the client.
> >
> > "as that requires the client" doesn't parse
>
> "... as that requires the p9_client record to still be present."?
Ah! yes, that works.
'as that uses/depends on the client' would also work.
Thanks,
--
Dominique Martinet | Asmadeus
Powered by blists - more mailing lists