syzbot


INFO: task hung in wiphy_unregister

Status: auto-obsoleted due to no activity on 2023/12/02 06:54
Subsystems: wireless
[Documentation on labels]
First crash: 293d, last: 293d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in wiphy_unregister (2) wireless 57 2d04h 16d 0/27 upstream: reported on 2024/06/06 15:45
linux-5.15 INFO: task hung in wiphy_unregister 1 11d 11d 0/3 upstream: reported on 2024/06/11 07:25
linux-6.1 INFO: task hung in wiphy_unregister 5 2d18h 31d 0/3 upstream: reported on 2024/05/22 02:46

Sample crash report:
INFO: task kworker/u4:1:12 blocked for more than 143 seconds.
      Not tainted 6.5.0-syzkaller-11075-g92901222f83d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:1    state:D stack:23264 pid:12    ppid:2      flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6695
 schedule+0xe7/0x1b0 kernel/sched/core.c:6771
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 wiphy_unregister+0x142/0xb70 net/wireless/core.c:1091
 ieee80211_unregister_hw+0x1a1/0x250 net/mac80211/main.c:1502
 mac80211_hwsim_del_radio drivers/net/wireless/virtual/mac80211_hwsim.c:5408 [inline]
 hwsim_exit_net+0x3a8/0x7d0 drivers/net/wireless/virtual/mac80211_hwsim.c:6285
 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:170
 cleanup_net+0x505/0xb20 net/core/net_namespace.c:614
 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
 process_scheduled_works kernel/workqueue.c:2703 [inline]
 worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
 kthread+0x33a/0x430 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
INFO: task dhcpcd:4700 blocked for more than 143 seconds.
      Not tainted 6.5.0-syzkaller-11075-g92901222f83d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:dhcpcd          state:D stack:23384 pid:4700  ppid:4699   flags:0x00000002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6695
 schedule+0xe7/0x1b0 kernel/sched/core.c:6771
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 devinet_ioctl+0x1d3/0x1f00 net/ipv4/devinet.c:1091
 inet_ioctl+0x3a6/0x3f0 net/ipv4/af_inet.c:990
 sock_do_ioctl+0x113/0x270 net/socket.c:1202
 sock_ioctl+0x229/0x6b0 net/socket.c:1321
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl fs/ioctl.c:857 [inline]
 __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f80c6fb4d49
RSP: 002b:00007fff7e7f2098 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f80c6ee66c0 RCX: 00007f80c6fb4d49
RDX: 00007fff7e802288 RSI: 0000000000008914 RDI: 000000000000001b
RBP: 00007fff7e812448 R08: 00007fff7e802248 R09: 00007fff7e8021f8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff7e802288 R14: 0000000000000028 R15: 0000000000008914
 </TASK>
INFO: task kworker/0:0:26761 blocked for more than 144 seconds.
      Not tainted 6.5.0-syzkaller-11075-g92901222f83d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:0     state:D stack:22560 pid:26761 ppid:2      flags:0x00004000
Workqueue: ipv6_addrconf addrconf_dad_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6695
 schedule+0xe7/0x1b0 kernel/sched/core.c:6771
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 addrconf_dad_work+0xcf/0x13e0 net/ipv6/addrconf.c:4125
 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
 process_scheduled_works kernel/workqueue.c:2703 [inline]
 worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
 kthread+0x33a/0x430 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
INFO: task syz-executor.4:2044 blocked for more than 144 seconds.
      Not tainted 6.5.0-syzkaller-11075-g92901222f83d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:24984 pid:2044  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6695
 schedule+0xe7/0x1b0 kernel/sched/core.c:6771
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747
 wiphy_lock include/net/cfg80211.h:5775 [inline]
 reg_process_self_managed_hints+0x78/0x170 net/wireless/reg.c:3181
 wiphy_register+0x2232/0x2ce0 net/wireless/core.c:983
 ieee80211_register_hw+0x24d1/0x4250 net/mac80211/main.c:1392
 mac80211_hwsim_new_radio+0x2893/0x50f0 drivers/net/wireless/virtual/mac80211_hwsim.c:5302
 hwsim_new_radio_nl+0xaf8/0x1240 drivers/net/wireless/virtual/mac80211_hwsim.c:5983
 genl_family_rcv_msg_doit+0x1fc/0x2e0 net/netlink/genetlink.c:971
 genl_family_rcv_msg net/netlink/genetlink.c:1051 [inline]
 genl_rcv_msg+0x55c/0x800 net/netlink/genetlink.c:1066
 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2545
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1075
 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline]
 netlink_unicast+0x536/0x810 net/netlink/af_netlink.c:1368
 netlink_sendmsg+0x93c/0xe40 net/netlink/af_netlink.c:1910
 sock_sendmsg_nosec net/socket.c:730 [inline]
 sock_sendmsg+0xd9/0x180 net/socket.c:753
 __sys_sendto+0x255/0x340 net/socket.c:2176
 __do_sys_sendto net/socket.c:2188 [inline]
 __se_sys_sendto net/socket.c:2184 [inline]
 __x64_sys_sendto+0xe0/0x1b0 net/socket.c:2184
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f059be7e7dc
RSP: 002b:00007ffec1eabc10 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f059cac4620 RCX: 00007f059be7e7dc
RDX: 0000000000000024 RSI: 00007f059cac4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffec1eabc64 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 0000000000000000 R14: 00007f059cac4670 R15: 0000000000000000
 </TASK>
INFO: lockdep is turned off.
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.5.0-syzkaller-11075-g92901222f83d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xfac/0x1230 kernel/hung_task.c:379
 kthread+0x33a/0x430 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2283 Comm: kworker/1:9 Not tainted 6.5.0-syzkaller-11075-g92901222f83d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:unwind_next_frame+0x718/0x2390 arch/x86/kernel/unwind_orc.c:517
Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 f2 19 00 00 4c 89 e0 4c 8b 7b 38 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 0f b6 0c 10 <49> 8d 44 24 01 48 89 c6 48 c1 ee 03 0f b6 14 16 4c 89 e6 83 e6 07
RSP: 0018:ffffc900001ef558 EFLAGS: 00000213
RAX: 1ffffffff1fb179b RBX: ffffc900001ef5d8 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff813a20a2 RDI: 0000000000000001
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000009
R10: 0000000000000005 R11: 0200000000000000 R12: ffffffff8fd8bcde
R13: 0000000000000005 R14: ffffffff8fd8bce2 R15: ffffc900001f0ac8
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd0e52322c CR3: 000000002b0cd000 CR4: 0000000000350ee0
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45
 kasan_set_track+0x25/0x30 mm/kasan/common.c:52
 __kasan_slab_alloc+0x81/0x90 mm/kasan/common.c:328
 kasan_slab_alloc include/linux/kasan.h:186 [inline]
 slab_post_alloc_hook mm/slab.h:762 [inline]
 slab_alloc_node mm/slub.c:3478 [inline]
 slab_alloc mm/slub.c:3486 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3493 [inline]
 kmem_cache_alloc+0x172/0x3b0 mm/slub.c:3502
 skb_clone+0x171/0x3c0 net/core/skbuff.c:1905
 dev_queue_xmit_nit+0x38b/0xb80 net/core/dev.c:2284
 xmit_one net/core/dev.c:3540 [inline]
 dev_hard_start_xmit+0x59/0x6c0 net/core/dev.c:3560
 __dev_queue_xmit+0x9be/0x3d80 net/core/dev.c:4340
 dev_queue_xmit include/linux/netdevice.h:3082 [inline]
 br_dev_queue_push_xmit+0x26e/0x7b0 net/bridge/br_forward.c:53
 br_nf_dev_queue_xmit+0x5c9/0x1d80 net/bridge/br_netfilter_hooks.c:810
 NF_HOOK include/linux/netfilter.h:304 [inline]
 NF_HOOK include/linux/netfilter.h:298 [inline]
 br_nf_post_routing+0xb60/0x15c0 net/bridge/br_netfilter_hooks.c:856
 nf_hook_entry_hookfn include/linux/netfilter.h:144 [inline]
 nf_hook_slow+0xbf/0x1e0 net/netfilter/core.c:626
 nf_hook include/linux/netfilter.h:259 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 br_forward_finish+0x266/0x480 net/bridge/br_forward.c:66
 br_nf_hook_thresh+0x2ff/0x410 net/bridge/br_netfilter_hooks.c:1048
 br_nf_forward_finish+0x431/0xa70 net/bridge/br_netfilter_hooks.c:567
 NF_HOOK include/linux/netfilter.h:304 [inline]
 NF_HOOK include/linux/netfilter.h:298 [inline]
 br_nf_forward_ip+0xf6c/0x1760 net/bridge/br_netfilter_hooks.c:637
 nf_hook_entry_hookfn include/linux/netfilter.h:144 [inline]
 nf_hook_slow+0xbf/0x1e0 net/netfilter/core.c:626
 nf_hook include/linux/netfilter.h:259 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 __br_forward+0x2d9/0x900 net/bridge/br_forward.c:115
 deliver_clone net/bridge/br_forward.c:131 [inline]
 br_flood+0x39e/0x640 net/bridge/br_forward.c:245
 br_handle_frame_finish+0xfcb/0x1dd0 net/bridge/br_input.c:210
 br_nf_hook_thresh+0x2ff/0x410 net/bridge/br_netfilter_hooks.c:1048
 br_nf_pre_routing_finish_ipv6+0x683/0xf20 net/bridge/br_netfilter_ipv6.c:148
 NF_HOOK include/linux/netfilter.h:304 [inline]
 br_nf_pre_routing_ipv6+0x41b/0x850 net/bridge/br_netfilter_ipv6.c:178
 br_nf_pre_routing+0x8d8/0x1950 net/bridge/br_netfilter_hooks.c:508
 nf_hook_entry_hookfn include/linux/netfilter.h:144 [inline]
 nf_hook_bridge_pre net/bridge/br_input.c:272 [inline]
 br_handle_frame+0x9da/0x16d0 net/bridge/br_input.c:417
 __netif_receive_skb_core.constprop.0+0xa26/0x3f20 net/core/dev.c:5417
 __netif_receive_skb_one_core+0xaf/0x180 net/core/dev.c:5521
 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5637
 process_backlog+0x101/0x6c0 net/core/dev.c:5965
 __napi_poll.constprop.0+0xb4/0x530 net/core/dev.c:6527
 napi_poll net/core/dev.c:6594 [inline]
 net_rx_action+0x956/0xe90 net/core/dev.c:6727
 __do_softirq+0x218/0x965 kernel/softirq.c:553
 do_softirq kernel/softirq.c:454 [inline]
 do_softirq+0xaa/0xe0 kernel/softirq.c:441
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:381
 spin_unlock_bh include/linux/spinlock.h:396 [inline]
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline]
 nsim_dev_trap_report_work+0x86a/0xc70 drivers/net/netdevsim/dev.c:850
 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
 process_scheduled_works kernel/workqueue.c:2703 [inline]
 worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
 kthread+0x33a/0x430 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/03 06:50 upstream 92901222f83d 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in wiphy_unregister
* Struck through repros no longer work on HEAD.