INFO: task kworker/1:4:5142 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-syzkaller-00337-gd90b0276af8f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:25408 pid:5142 ppid:2 flags:0x00004000 Workqueue: events_power_efficient reg_check_chans_work Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 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+0x969/0x1340 kernel/locking/mutex.c:747 wiphy_lock include/net/cfg80211.h:5775 [inline] reg_leave_invalid_chans net/wireless/reg.c:2450 [inline] reg_check_chans_work+0xef/0x1060 net/wireless/reg.c:2465 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 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 Showing all locks held in the system: 4 locks held by kworker/0:0/8: 4 locks held by kworker/0:1/9: 3 locks held by kworker/1:1/27: #0: ffff88814ac54538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90000a2fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffffffff8e6025e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4667 1 lock held by khungtaskd/29: #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 4 locks held by kworker/u4:2/42: #0: ffff888024d86138 ((wq_completion)wg-kex-wg0#5){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90000b2fd80 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff88802a3e5208 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xed/0x650 drivers/net/wireguard/noise.c:529 #3: ffff88802cb18338 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0x101/0x650 drivers/net/wireguard/noise.c:530 4 locks held by kworker/0:2/54: 3 locks held by kworker/u4:8/2452: #0: ffff8880b993c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9928888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999 #2: ffff8880b99297d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x200 kernel/time/timer.c:999 3 locks held by kworker/R-ipv6_/2610: #0: ffff88814ac54538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc9000ad27d10 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffffffff8e6025e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4667 2 locks held by klogd/4484: #0: ffff8880b993c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9928888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999 7 locks held by kworker/0:3/4786: 2 locks held by getty/4807: #0: ffff8880263170a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 4 locks held by kworker/0:4/5138: 4 locks held by kworker/0:5/5140: 4 locks held by kworker/0:6/5141: 4 locks held by kworker/1:4/5142: #0: ffff888012c72138 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc9000428fd80 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffffffff8e6025e8 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7d/0x1060 net/wireless/reg.c:2462 #3: ffff888030e30768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5775 [inline] #3: ffff888030e30768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_leave_invalid_chans net/wireless/reg.c:2450 [inline] #3: ffff888030e30768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_check_chans_work+0xef/0x1060 net/wireless/reg.c:2465 4 locks held by kworker/0:7/5144: 4 locks held by kworker/0:8/5145: 4 locks held by kworker/0:9/5146: 3 locks held by syz-executor.3/6425: #0: ffffffff8e69cd90 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1074 #1: ffff88802f705690 (nlk_cb_mutex-GENERIC){+.+.}-{3:3}, at: netlink_dump+0xc1/0xca0 net/netlink/af_netlink.c:2213 #2: ffffffff8e6025e8 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_dump_interface+0xe0/0x6e0 net/wireless/nl80211.c:3964 3 locks held by syz-executor.5/6434: #0: ffffffff8e69cd90 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1074 #1: ffff88802f704690 (nlk_cb_mutex-GENERIC){+.+.}-{3:3}, at: netlink_dump+0xc1/0xca0 net/netlink/af_netlink.c:2213 #2: ffffffff8e6025e8 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_prepare_wdev_dump+0x14c/0x740 net/wireless/nl80211.c:1008 3 locks held by kworker/0:11/6466: 3 locks held by kworker/0:15/6504: 2 locks held by syz-executor.3/6508: #0: ffffffff8e5ed2d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8e6025e8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8e6025e8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x136/0x230 net/smc/smc_pnet.c:878 2 locks held by syz-executor.5/6510: #0: ffffffff8e5ed2d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8e6025e8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8e6025e8 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x136/0x230 net/smc/smc_pnet.c:878 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-syzkaller-00337-gd90b0276af8f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 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 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4786 Comm: kworker/0:3 Not tainted 6.6.0-rc2-syzkaller-00337-gd90b0276af8f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: events cfg80211_wiphy_work RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200 Code: c6 6d 9d 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1e fa 65 8b 05 0d f6 7b 7e 89 c1 48 8b 34 24 81 e1 00 01 00 RSP: 0018:ffffc90000006fa0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffffffff8f45ba44 RCX: ffffffff813a3be4 RDX: ffff88807e975940 RSI: 0000000000000100 RDI: 0000000000000006 RBP: ffffffff8f45ba50 R08: 0000000000000006 R09: ffffffff89b340b2 R10: ffffffff89b340b4 R11: 0200000000000000 R12: ffffffff89b340b2 R13: ffffffff89b340b4 R14: dffffc0000000000 R15: ffffffff8f45ba48 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f48035a5018 CR3: 000000007552b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __orc_find+0xce/0x130 arch/x86/kernel/unwind_orc.c:106 orc_find arch/x86/kernel/unwind_orc.c:227 [inline] unwind_next_frame+0x329/0x2390 arch/x86/kernel/unwind_orc.c:494 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:188 [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+0x16c/0x3b0 mm/slub.c:3502 skb_clone+0x171/0x3c0 net/core/skbuff.c:1911 deliver_clone+0x3f/0xa0 net/bridge/br_forward.c:125 br_flood+0x493/0x5c0 net/bridge/br_forward.c:245 br_handle_frame_finish+0xfc6/0x1d80 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+0x40e/0x870 net/bridge/br_netfilter_ipv6.c:178 br_nf_pre_routing+0x80f/0x1540 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/0x1700 net/bridge/br_input.c:417 __netif_receive_skb_core.constprop.0+0xa26/0x3fa0 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/0x6b0 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 __local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:381 spin_unlock_bh include/linux/spinlock.h:396 [inline] cfg80211_put_bss+0x1b4/0x280 net/wireless/scan.c:2959 ieee80211_rx_bss_put net/mac80211/scan.c:37 [inline] ieee80211_rx_bss_put+0x43/0x60 net/mac80211/scan.c:32 ieee80211_rx_bss_info net/mac80211/ibss.c:1196 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1613 [inline] ieee80211_ibss_rx_queued_mgmt+0x1ad3/0x2ed0 net/mac80211/ibss.c:1642 ieee80211_iface_process_skb net/mac80211/iface.c:1604 [inline] ieee80211_iface_work+0xa1f/0xd40 net/mac80211/iface.c:1658 cfg80211_wiphy_work+0x24e/0x330 net/wireless/core.c:435 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 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