All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+c92af8613ad38696ff09@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Forwarded: [PATCH] INFO: task hung in ieee80211_register_hw (8)
Date: Wed, 16 Sep 2026 18:22:24 -0700	[thread overview]
Message-ID: <6aab40d0.87c06881.1db2b3.0002.GAE@google.com> (raw)
In-Reply-To: <6aa52208.f81106d8.2ab401.002a.GAE@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.

***

Subject: [PATCH] INFO: task hung in ieee80211_register_hw (8)
Author: jchuang26@m.fudan.edu.cn

#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git main

Reported-by: syzbot+c92af8613ad38696ff09@syzkaller.appspotmail.com

diff --git a/drivers/net/wireless/virtual/mac80211_hwsim_main.c b/drivers/net/wireless/virtual/mac80211_hwsim_main.c
index 02b6d81cc..cef2f4b08 100644
--- a/drivers/net/wireless/virtual/mac80211_hwsim_main.c
+++ b/drivers/net/wireless/virtual/mac80211_hwsim_main.c
@@ -7150,6 +7150,13 @@ static struct genl_family hwsim_genl_family __ro_after_init = {
 	.maxattr = HWSIM_ATTR_MAX,
 	.policy = hwsim_genl_policy,
 	.netnsok = true,
+	/*
+	 * Avoid holding the global genl mutex while creating a radio,
+	 * since that takes RTNL in ieee80211_register_hw().  A task
+	 * holding RTNL and waiting for the genl mutex would otherwise
+	 * deadlock with us.
+	 */
+	.parallel_ops = true,
 	.module = THIS_MODULE,
 	.small_ops = hwsim_ops,
 	.n_small_ops = ARRAY_SIZE(hwsim_ops),

  parent reply	other threads:[~2026-09-17  1:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-12  9:57 [syzbot] [wireless?] INFO: task hung in ieee80211_register_hw (8) syzbot
2026-09-14 11:23 ` Forwarded: [PATCH] " syzbot
2026-09-15  1:38 ` syzbot
2026-09-15  5:58 ` syzbot
2026-09-17  1:22 ` syzbot [this message]
2026-09-17  1:44 ` 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=6aab40d0.87c06881.1db2b3.0002.GAE@google.com \
    --to=syzbot+c92af8613ad38696ff09@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.