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

From: Linus Torvalds
Date: Wed Aug 12 2020 - 00:30:21 EST


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?

Linus