Re: [syzbot] [v9fs?] general protection fault in p9_client_walk
From: asmadeus
Date: Wed Mar 12 2025 - 19:47:17 EST
Christian Schoenebeck wrote on Wed, Mar 12, 2025 at 03:25:27PM +0100:
> > OTOH I don't get why all mkdirs don't hit that.. ah, it's only a problem
> > if the parent directory has some ACL and none of our tests hit that :/
>
> There are test cases now?
What, you want a proper CI ?!
I'm still running semi-manually but I'm testing the bare minimum works
before sending Linus pull requets.. Which doesn't include ACLs...
But now I'm looking Eric published https://github.com/v9fs/test which
has some github actions, perhaps I can add my handful of test cases
there and try to run that instead, at which point we can consider
running more complete test suites like xfstests which do have some acl
checks.
I'm sure plenty of what we do isn't quite valid and would fail tests,
but at least it could check we're not hitting any null deref or similar
bug...
> > Well, it shouldn't be too hard to trigger & fix anyway, since you've
> > done this much want to send the patch?
>
> If it is not super urgent then I'll schedule some cycles. Not worried if
> anyone is faster of course.
Given it's been broken since 6.0 (2.5 years ago) I guess we don't have
anyone using ACLs (or at least not creating directories), so it's
probably not super urgent..
--
Dominique Martinet | Asmadeus