[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250324183746.GB29185@redhat.com>
Date: Mon, 24 Mar 2025 19:37:47 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Mateusz Guzik <mjguzik@...il.com>
Cc: syzbot <syzbot+1c486d0b62032c82a968@...kaller.appspotmail.com>,
brauner@...nel.org, kees@...nel.org, viro@...iv.linux.org.uk,
jack@...e.cz, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH] exec: fix the racy usage of fs_struct->in_exec
On 03/24, Oleg Nesterov wrote:
>
> I won't argue with another solution. But this problem is quite old,
Yes, but...
> unless I am totally confused this logic was wrong from the very
> beginning when fs->in_exec was introduced by 498052bba55ec.
OK, I was wrong. According to git show 498052bba55ec:fs/exec.c
this patch was correct in this respect. Sorry for the noise.
> So to me it would be better to have the trivial fix for stable,
> exactly because it is trivially backportable. Then cleanup/simplify
> this logic on top of it.
Yes...
Oleg.
Powered by blists - more mailing lists