2024-06-14 06:54:20

by Miklos Szeredi

[permalink] [raw]
Subject: Re: [PATCH] ovl: avoid deadlock in ovl_create_tmpfile

On Fri, 14 Jun 2024 at 03:05, Lizhi Xu <[email protected]> wrote:
>
> ovl_copy_up() will retrieve sb_writers, and ovl_want_write will also retrieve
> sb_writers, adjusting the order of their execution to avoid deadlocks.
>
> Reported-by: [email protected]
> Signed-off-by: Lizhi Xu <[email protected]>

Thank you.

This is already fixed in:

git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git #overlayfs-next

Will send a pull request to Linus in the following weeks.

Thanks,
Miklos