From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+9fd43bb1ae7b5d9240c3@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [btrfs?] general protection fault in __alloc_workqueue
Date: Mon, 19 Aug 2024 06:10:48 +0800 [thread overview]
Message-ID: <20240818221048.813-1-hdanton@sina.com> (raw)
In-Reply-To: <000000000000f6f09e061feefd16@google.com>
On Sat, 17 Aug 2024 23:06:23 -0700
> syzbot found the following issue on:
>
> HEAD commit: 367b5c3d53e5 Add linux-next specific files for 20240816
> git tree: linux-next
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15b868dd980000
#syz test linux-next 367b5c3d53e5
--- x/kernel/workqueue.c
+++ y/kernel/workqueue.c
@@ -5653,6 +5653,7 @@ static struct workqueue_struct *__alloc_
wq = kzalloc(wq_size, GFP_KERNEL);
if (!wq)
return NULL;
+ wq_init_lockdep(wq);
if (flags & WQ_UNBOUND) {
wq->unbound_attrs = alloc_workqueue_attrs();
@@ -5757,10 +5758,6 @@ struct workqueue_struct *alloc_workqueue
va_start(args, max_active);
wq = __alloc_workqueue(fmt, flags, max_active, args);
va_end(args);
- if (!wq)
- return NULL;
-
- wq_init_lockdep(wq);
return wq;
}
--
next prev parent reply other threads:[~2024-08-18 22:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-18 6:06 syzbot
2024-08-18 22:10 ` Hillf Danton [this message]
2024-08-18 22:39 ` syzbot
2024-08-19 23:06 ` 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=20240818221048.813-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+9fd43bb1ae7b5d9240c3@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/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®