From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+2d7d0fbb5fb979113ff3@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [kernfs?] possible deadlock in kernfs_remove
Date: Thu, 7 Aug 2025 22:15:43 +0800 [thread overview]
Message-ID: <tencent_12A5C08DB79240DDA95D9119784FA08DAC07@qq.com> (raw)
In-Reply-To: <6890f71a.050a0220.7f033.0010.GAE@google.com>
#syz test
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 9692fa4c3ef2..0d69572fe1ce 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -4443,8 +4443,11 @@ struct gendisk *__blk_mq_alloc_disk(struct blk_mq_tag_set *set,
{
struct request_queue *q;
struct gendisk *disk;
+ unsigned int nofs_flag;
+ nofs_flag = memalloc_nofs_save();
q = blk_mq_alloc_queue(set, lim, queuedata);
+ memalloc_nofs_restore(nofs_flag);
if (IS_ERR(q))
return ERR_CAST(q);
next prev parent reply other threads:[~2025-08-07 14:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-04 18:08 syzbot
2025-08-05 2:27 ` Hillf Danton
2025-08-05 3:02 ` syzbot
2025-08-07 11:41 ` Edward Adam Davis
2025-08-07 14:02 ` syzbot
2025-08-07 14:15 ` Edward Adam Davis [this message]
2025-08-07 14:45 ` syzbot
2025-10-28 15:04 ` 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=tencent_12A5C08DB79240DDA95D9119784FA08DAC07@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+2d7d0fbb5fb979113ff3@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®