Re: [PATCH] Re: KASAN: use-after-free Read in path_init (2)

From: Al Viro
Date: Wed Aug 12 2020 - 01:56:06 EST


On Tue, Aug 11, 2020 at 09:29:47PM -0700, Linus Torvalds wrote:
> On Tue, Aug 11, 2020 at 9:15 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > fix breakage in do_rmdir()
> >
> > putname() should happen only after we'd *not* branched to
> > retry, same as it's done in do_unlinkat().
>
> Looks obviously correct.
>
> Do you want me to apply directly, or do you have other fixes pending
> and I'll get a pull request?

Not at the moment - I can throw it into #fixes and send a pull request
if you wish, but there won't be anything else in it...