syzbot


INFO: task hung in cfg80211_wiphy_work (2)

Status: auto-obsoleted due to no activity on 2025/09/08 05:01
Subsystems: wireless
[Documentation on labels]
First crash: 142d, last: 122d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in cfg80211_wiphy_work wireless 1 3 351d 381d 0/29 auto-obsoleted due to no activity on 2025/01/22 12:16

Sample crash report:
INFO: task kworker/u8:3:45 blocked for more than 152 seconds.
      Not tainted 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:3    state:D stack:0     pid:45    tgid:45    ppid:2      task_flags:0x4208060 flags:0x00000010
Workqueue: events_unbound cfg80211_wiphy_work
Call trace:
 __switch_to+0x414/0x834 arch/arm64/kernel/process.c:735 (T)
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767
 __schedule_loop kernel/sched/core.c:6845 [inline]
 schedule+0xb4/0x230 kernel/sched/core.c:6860
 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6917
 __mutex_lock_common+0xbd0/0x2190 kernel/locking/mutex.c:678
 __mutex_lock kernel/locking/mutex.c:746 [inline]
 mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:798
 class_wiphy_constructor include/net/cfg80211.h:6092 [inline]
 cfg80211_wiphy_work+0xec/0x48c net/wireless/core.c:421
 process_one_work+0x7e8/0x156c kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3319 [inline]
 worker_thread+0x958/0xed8 kernel/workqueue.c:3400
 kthread+0x5fc/0x75c kernel/kthread.c:464
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847
INFO: task syz.3.269:8105 blocked for more than 157 seconds.
      Not tainted 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.269       state:D stack:0     pid:8105  tgid:8103  ppid:6499   task_flags:0x400140 flags:0x00000001
Call trace:
 __switch_to+0x414/0x834 arch/arm64/kernel/process.c:735 (T)
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767
 __schedule_loop kernel/sched/core.c:6845 [inline]
 schedule+0xb4/0x230 kernel/sched/core.c:6860
 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6917
 __mutex_lock_common+0xbd0/0x2190 kernel/locking/mutex.c:678
 __mutex_lock kernel/locking/mutex.c:746 [inline]
 mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:798
 rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80
 nl80211_pre_doit+0x70/0x760 net/wireless/nl80211.c:16693
 genl_family_rcv_msg_doit+0x18c/0x2bc net/netlink/genetlink.c:1110
 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
 genl_rcv_msg+0x450/0x624 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x230/0x414 net/netlink/af_netlink.c:2534
 genl_rcv+0x38/0x50 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x60c/0x824 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x648/0x930 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 ____sys_sendmsg+0x490/0x7b8 net/socket.c:2566
 ___sys_sendmsg+0x204/0x278 net/socket.c:2620
 __sys_sendmsg net/socket.c:2652 [inline]
 __do_sys_sendmsg net/socket.c:2657 [inline]
 __se_sys_sendmsg net/socket.c:2655 [inline]
 __arm64_sys_sendmsg+0x184/0x238 net/socket.c:2655
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767
 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600

Showing all locks held in the system:
1 lock held by kthreadd/2:
4 locks held by kworker/R-netns/8:
 #0: ffff0000c183a148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212
 #1: ffff800097617ba0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212
 #2: ffff800092481e50 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x138/0x9c0 net/core/net_namespace.c:608
 #3: ffff80009248e928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80
3 locks held by kworker/u8:0/12:
 #0: ffff0000d2ee3948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212
 #1: ffff800097657bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212
 #2: ffff80009248e928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80
3 locks held by kworker/u8:1/14:
1 lock held by khungtaskd/32:
 #0: ffff80008f508920 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330
3 locks held by kworker/u8:2/44:
 #0: ffff0000c0031948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212
 #1: ffff800097d57bc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212
 #2: ffff80009248e928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80
3 locks held by kworker/u8:3/45:
 #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212
 #1: ffff800097d67bc0 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212
 #2: ffff0000d5000768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6092 [inline]
 #2: ffff0000d5000768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xec/0x48c net/wireless/core.c:421
1 lock held by pr/ttyAMA0/46:
3 locks held by kworker/R-cfg80/61:
 #0: ffff0000c3277148 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212
 #1: ffff800097eb7ba0 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212
 #2: ffff80009248e928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80
2 locks held by kworker/u8:4/200:
3 locks held by kworker/u8:5/532:
7 locks held by kworker/u8:6/562:
3 locks held by kworker/u8:7/592:
3 locks held by kworker/u8:8/648:
3 locks held by kworker/u8:9/2597:
1 lock held by klogd/6094:
2 locks held by getty/6261:
 #0: ffff0000d2f0c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340
 #1: ffff80009b5be2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa0 drivers/tty/n_tty.c:2222
3 locks held by syz-executor/6478:
3 locks held by syz-executor/6750:
3 locks held by kworker/u8:10/6781:
3 locks held by kworker/u8:12/7099:
3 locks held by kworker/u8:13/7100:
 #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212
 #1: ffff8000a0347bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212
 #2: ffff80009248e928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80
3 locks held by kworker/u8:14/7101:
2 locks held by syz-executor/7486:
5 locks held by syz.3.269/8104:
2 locks held by syz.3.269/8105:
 #0: ffff8000924f25b0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:1218
 #1: ffff80009248e928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80
2 locks held by dhcpcd-run-hook/8106:
2 locks held by kworker/u8:17/8111:
3 locks held by kworker/u8:18/8114:
3 locks held by kworker/u8:19/8115:
2 locks held by syz-executor/8116:
3 locks held by kworker/u8:20/8117:

=============================================


Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/10 04:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d7fa1af5b33e 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in cfg80211_wiphy_work
2025/05/21 17:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 187899f4124a b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in cfg80211_wiphy_work
* Struck through repros no longer work on HEAD.