mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christian Brauner <brauner@kernel.org>
To: syzkaller-bugs@googlegroups.com, linux-kernel@vger.kernel.org,
	Aleksandr Nogikh <nogikh@google.com>
Cc: Christian Brauner <brauner@kernel.org>,
	adrianhuang0701@gmail.com, akpm@linux-foundation.org,
	kexinsun@smail.nju.edu.cn, oleg@redhat.com, peterz@infradead.org,
	syzbot@lists.linux.dev, tglx@kernel.org, dvyukov@google.com,
	syzbot+b109633ea805cac54a61@syzkaller.appspotmail.com
Subject: Re: [PATCH v2] signal: clear JOBCTL_PENDING_MASK for caller in zap_other_threads()
Date: Fri, 22 May 2026 15:19:46 +0200	[thread overview]
Message-ID: <20260522-enthoben-planquadrat-tanzabend-5072faf6ae6b@brauner> (raw)
In-Reply-To: <20260521142240.2973022-1-nogikh@google.com>

On Thu, 21 May 2026 16:22:40 +0200, Aleksandr Nogikh wrote:
> When a multi-threaded process receives a stop signal (e.g., SIGSTOP),
> do_signal_stop() sets JOBCTL_STOP_PENDING and JOBCTL_STOP_CONSUME on all
> threads and sets signal->group_stop_count to the number of threads. If
> one of the threads concurrently calls execve(), de_thread() invokes
> zap_other_threads() to kill all other threads. zap_other_threads()
> aborts the pending group stop by resetting signal->group_stop_count to 0
> and clears the JOBCTL_PENDING_MASK for all other threads. However, it
> fails to clear the job control flags for the calling thread.
> 
> [...]

Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes

[1/1] signal: clear JOBCTL_PENDING_MASK for caller in zap_other_threads()
      https://git.kernel.org/vfs/vfs/c/90918794a4e2

  reply	other threads:[~2026-05-22 13:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-21 14:22 Aleksandr Nogikh
2026-05-22 13:19 ` Christian Brauner [this message]
2026-05-22 15:19   ` Oleg Nesterov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260522-enthoben-planquadrat-tanzabend-5072faf6ae6b@brauner \
    --to=brauner@kernel.org \
    --cc=adrianhuang0701@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=dvyukov@google.com \
    --cc=kexinsun@smail.nju.edu.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nogikh@google.com \
    --cc=oleg@redhat.com \
    --cc=peterz@infradead.org \
    --cc=syzbot+b109633ea805cac54a61@syzkaller.appspotmail.com \
    --cc=syzbot@lists.linux.dev \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=tglx@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®