syzbot


INFO: task hung in cfg80211_event_work (4)

Status: upstream: reported syz repro on 2024/10/10 15:19
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+5506b2556159a1ab6923@syzkaller.appspotmail.com
First crash: 272d, last: 3d00h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [wireless?] INFO: task hung in cfg80211_event_work (4) 3 (5) 2024/10/14 14:38
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in cfg80211_event_work (2) wireless C done error 3 476d 718d 0/29 auto-obsoleted due to no activity on 2024/06/18 14:16
upstream INFO: task hung in cfg80211_event_work (3) wireless 1 364d 364d 0/29 auto-obsoleted due to no activity on 2024/09/28 13:35
upstream INFO: task hung in cfg80211_event_work wireless C unreliable error 4 1625d 1658d 0/29 closed as invalid on 2022/02/08 10:49
linux-4.19 INFO: task hung in cfg80211_event_work 1 891d 891d 0/1 upstream: reported on 2023/01/21 03:03
Last patch testing requests (11)
Created Duration User Patch Repo Result
2025/05/31 06:20 17m retest repro upstream report log
2025/05/31 05:53 19m retest repro upstream report log
2025/05/24 13:31 18m retest repro upstream report log
2025/05/24 13:31 18m retest repro upstream report log
2025/05/03 23:45 18m retest repro upstream report log
2025/04/28 06:04 18m retest repro upstream report log
2025/04/28 06:04 18m retest repro upstream report log
2025/03/22 05:32 19m retest repro upstream report log
2025/03/22 05:32 20m retest repro upstream report log
2025/03/15 12:36 20m retest repro upstream report log
2024/10/14 02:53 20m lizhi.xu@windriver.com patch upstream report log

Sample crash report:
INFO: task kworker/u4:8:1095 blocked for more than 143 seconds.
      Not tainted 6.16.0-rc3-syzkaller-00121-gf02769e7f272 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:8    state:D stack:19816 pid:1095  tgid:1095  ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: cfg80211 cfg80211_event_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5396 [inline]
 __schedule+0x16f5/0x4d00 kernel/sched/core.c:6785
 __schedule_loop kernel/sched/core.c:6863 [inline]
 schedule+0x165/0x360 kernel/sched/core.c:6878
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6935
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x724/0xe80 kernel/locking/mutex.c:747
 class_wiphy_constructor include/net/cfg80211.h:6062 [inline]
 cfg80211_event_work+0x24/0x60 net/wireless/core.c:329
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
 kthread+0x70e/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/0:0/9:
 #0: ffff88801a475d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
 #0: ffff88801a475d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
 #1: ffffc900001b7bc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
 #1: ffffc900001b7bc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
 #2: ffffffff8f50ff48 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x95/0xf00 net/wireless/reg.c:2483
3 locks held by kworker/u4:1/13:
3 locks held by kworker/u4:2/14:
1 lock held by khungtaskd/27:
 #0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 #0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
 #0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770
3 locks held by kworker/u4:3/38:
4 locks held by kworker/0:2/54:
4 locks held by kworker/u4:4/67:
4 locks held by kworker/u4:5/133:
3 locks held by kworker/u4:6/1037:
3 locks held by kworker/u4:7/1038:
3 locks held by kworker/u4:8/1095:
 #0: ffff88801f639148 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
 #0: ffff88801f639148 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
 #1: ffffc90002937bc0 ((work_completion)(&rdev->event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
 #1: ffffc90002937bc0 ((work_completion)(&rdev->event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
 #2: ffff88803b4a0768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6062 [inline]
 #2: ffff88803b4a0768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_event_work+0x24/0x60 net/wireless/core.c:329
3 locks held by kworker/u4:9/1110:
 #0: ffff88803ec89148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
 #0: ffff88803ec89148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
 #1: ffffc90002977bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
 #1: ffffc90002977bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
 #2: ffffffff8f50ff48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
 #2: ffffffff8f50ff48 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x112/0x14b0 net/ipv6/addrconf.c:4198
3 locks held by kworker/u4:10/1130:
3 locks held by kworker/u4:11/1149:
1 lock held by dhcpcd/5017:
 #0: ffffffff8f50ff48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
 #0: ffffffff8f50ff48 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x5b7/0xd20 net/ipv6/addrconf.c:5031
2 locks held by getty/5111:
 #0: ffff8880002490a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000018e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
3 locks held by kworker/u5:2/5353:
 #0: ffff888055b3f148 ((wq_completion)hci18){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
 #0: ffff888055b3f148 ((wq_completion)hci18){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
 #1: ffffc9000d30fbc0 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
 #1: ffffc9000d30fbc0 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
 #2: ffff88805420cdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_open net/bluetooth/hci_core.c:428 [inline]
 #2: ffff88805420cdc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_power_on+0x1ac/0x680 net/bluetooth/hci_core.c:959
4 locks held by kworker/0:5/5440:
 #0: ffff888036944d48 ((wq_completion)wg-kex-wg2#4){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
 #0: ffff888036944d48 ((wq_completion)wg-kex-wg2#4){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
 #1: ffffc900029e7bc0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
 #1: ffffc900029e7bc0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
 #2: ffff888046b6d308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x150/0x900 drivers/net/wireguard/noise.c:598
 #3: ffff888052b57030 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x4de/0x900 drivers/net/wireguard/noise.c:632
1 lock held by syz-executor/5445:
 #0: ffffffff8f50ff48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
 #0: ffffffff8f50ff48 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x5b7/0xd20 net/ipv6/addrconf.c:5031

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/27 05:05 upstream f02769e7f272 803ce19b .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root INFO: task hung in cfg80211_event_work
2025/03/01 12:33 upstream 276f98efb64a 67cf5345 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root INFO: task hung in cfg80211_event_work
2025/02/26 22:21 upstream ac9c34d1e45a 6a8fcbc4 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root INFO: task hung in cfg80211_event_work
2025/02/03 04:58 upstream 69e858e0b8b2 568559e4 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root INFO: task hung in cfg80211_event_work
2024/11/30 22:11 upstream d8b78066f4c9 68914665 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root INFO: task hung in cfg80211_event_work
2024/11/11 15:50 upstream 2d5404caa8c7 0c4b1325 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root INFO: task hung in cfg80211_event_work
2024/10/19 04:10 upstream b04ae0f45168 cd6fc0a3 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root INFO: task hung in cfg80211_event_work
2024/10/07 01:30 upstream 2a130b7e1fcd d7906eff .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root INFO: task hung in cfg80211_event_work
2024/10/11 01:51 upstream d3d1556696c1 8fbfc0c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in cfg80211_event_work
2024/10/11 00:34 upstream d3d1556696c1 8fbfc0c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in cfg80211_event_work
2024/09/30 08:34 upstream 9852d85ec9d4 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: task hung in cfg80211_event_work
* Struck through repros no longer work on HEAD.