From: Oleg Nesterov <oleg@redhat.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: syzbot <syzbot+cbb25bb9b4d29a773985@syzkaller.appspotmail.com>,
boqun.feng@gmail.com, brauner@kernel.org,
linux-kernel@vger.kernel.org, longman@redhat.com,
michael.christie@oracle.com, mingo@redhat.com, mst@redhat.com,
syzkaller-bugs@googlegroups.com, tglx@linutronix.de,
wander@redhat.com, will@kernel.org
Subject: Re: [syzbot] [kernel?] inconsistent lock state in ptrace_attach
Date: Fri, 17 Nov 2023 13:32:22 +0100 [thread overview]
Message-ID: <20231117123148.GA6728@redhat.com> (raw)
In-Reply-To: <20231117094531.GN8262@noisy.programming.kicks-ass.net>
On 11/17, Peter Zijlstra wrote:
>
> --- a/kernel/ptrace.c
> +++ b/kernel/ptrace.c
> @@ -461,7 +461,7 @@ static int ptrace_attach(struct task_str
> return retval;
> }
>
> - scoped_guard (write_lock, &tasklist_lock) {
> + scoped_guard (write_lock_irq, &tasklist_lock) {
FWIW,
Acked-by: Oleg Nesterov <oleg@redhat.com>
next prev parent reply other threads:[~2023-11-17 12:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-16 11:09 [syzbot] [kernel?] inconsistent lock state in ptrace_attach syzbot
2023-11-16 20:00 ` syzbot
2023-11-17 8:49 ` syzbot
2023-11-17 9:27 ` Peter Zijlstra
2023-11-17 9:38 ` Oleg Nesterov
2023-11-17 9:45 ` Peter Zijlstra
2023-11-17 12:32 ` Oleg Nesterov [this message]
2023-11-17 13:51 ` [syzbot] Test syzbot
[not found] <CAJjsb4rmXhLyOFpNwQy1kh480Q7p=gvTY5HnhF-b=Sf=VijYKA@mail.gmail.com>
2023-11-17 14:12 ` [syzbot] [kernel?] inconsistent lock state in ptrace_attach syzbot
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=20231117123148.GA6728@redhat.com \
--to=oleg@redhat.com \
--cc=boqun.feng@gmail.com \
--cc=brauner@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=longman@redhat.com \
--cc=michael.christie@oracle.com \
--cc=mingo@redhat.com \
--cc=mst@redhat.com \
--cc=peterz@infradead.org \
--cc=syzbot+cbb25bb9b4d29a773985@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
--cc=tglx@linutronix.de \
--cc=wander@redhat.com \
--cc=will@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