INFO: task kworker/1:2:919 blocked for more than 143 seconds. Not tainted 6.5.0-rc2-syzkaller-00322-g725d444db6b0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:23520 pid:919 ppid:2 flags:0x00004000 Workqueue: events_power_efficient reg_check_chans_work Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747 wiphy_lock include/net/cfg80211.h:5773 [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+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a5830 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a5530 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 4 locks held by kworker/1:0/22: 3 locks held by kworker/1:1/26: 1 lock held by khungtaskd/28: #0: ffffffff8c9a6440 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 4 locks held by kworker/1:2/919: #0: ffff888012871d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888012871d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888012871d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888012871d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888012871d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888012871d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888012871d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000500fd80 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7d/0x1060 net/wireless/reg.c:2462 #3: ffff8880187b0768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5773 [inline] #3: ffff8880187b0768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_leave_invalid_chans net/wireless/reg.c:2450 [inline] #3: ffff8880187b0768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: reg_check_chans_work+0xef/0x1060 net/wireless/reg.c:2465 3 locks held by ipv6_addrconf/2596: #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000b937d10 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4629 2 locks held by getty/4777: #0: ffff88802c832098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 7 locks held by kworker/1:3/5071: 4 locks held by kworker/1:5/5116: 4 locks held by kworker/1:7/5119: 3 locks held by kworker/0:10/5153: #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff88814a1cbd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc90004e1fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4629 4 locks held by kworker/1:9/6179: 1 lock held by syz-executor.0/6196: #0: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x167/0x9c0 net/netlink/af_netlink.c:2338 1 lock held by syz-executor.3/6216: #0: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xd30 net/core/rtnetlink.c:6421 1 lock held by syz-executor.3/6218: #0: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e2/0xd30 net/core/rtnetlink.c:6421 1 lock held by syz-executor.4/6242: #0: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x167/0x9c0 net/netlink/af_netlink.c:2338 2 locks held by syz-executor.0/6264: #0: ffffffff8e3ca290 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x136/0x230 net/smc/smc_pnet.c:878 2 locks held by syz-executor.3/6272: #0: ffffffff8e3ca290 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x136/0x230 net/smc/smc_pnet.c:878 2 locks held by syz-executor.0/6278: #0: ffffffff8e3ca290 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x136/0x230 net/smc/smc_pnet.c:878 2 locks held by syz-executor.3/6281: #0: ffffffff8e3ca290 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d5/0x670 net/core/net_namespace.c:487 #1: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] #1: ffffffff8e3df268 (rtnl_mutex){+.+.}-{3:3}, at: smc_pnet_net_init+0x136/0x230 net/smc/smc_pnet.c:878 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc2-syzkaller-00322-g725d444db6b0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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+0x2ac/0x310 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+0xf29/0x11b0 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5115 Comm: kworker/1:4 Not tainted 6.5.0-rc2-syzkaller-00322-g725d444db6b0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Workqueue: events nsim_dev_trap_report_work RIP: 0010:lock_acquire+0x85/0x510 kernel/locking/lockdep.c:5729 Code: f1 f1 f1 f1 c7 40 04 f1 f1 00 00 c7 40 08 00 00 00 f3 c7 40 0c f3 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 84 24 a8 00 00 00 <31> c0 0f 1f 44 00 00 65 8b 15 39 31 9c 7e 83 fa 07 0f 87 d7 03 00 RSP: 0018:ffffc900001df7c0 EFLAGS: 00000086 RAX: 3b8085054d482d00 RBX: 1ffff9200003befa RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8c9d1f48 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff8eab7d57 R11: 000000000000004e R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8c9d1f48 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002f12d000 CR3: 000000000c776000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline] ktime_get_with_offset+0x43e/0x520 kernel/time/timekeeping.c:889 ktime_get_real include/linux/timekeeping.h:79 [inline] netif_rx_internal+0x3a5/0x570 net/core/dev.c:4893 __netif_rx+0xe6/0x410 net/core/dev.c:4936 veth_forward_skb drivers/net/veth.c:321 [inline] veth_xmit+0x82d/0xac0 drivers/net/veth.c:373 __netdev_start_xmit include/linux/netdevice.h:4910 [inline] netdev_start_xmit include/linux/netdevice.h:4924 [inline] xmit_one net/core/dev.c:3537 [inline] dev_hard_start_xmit+0x13d/0x6c0 net/core/dev.c:3553 __dev_queue_xmit+0xa55/0x3f20 net/core/dev.c:4203 dev_queue_xmit include/linux/netdevice.h:3088 [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:303 [inline] NF_HOOK include/linux/netfilter.h:297 [inline] br_nf_post_routing+0xb60/0x15c0 net/bridge/br_netfilter_hooks.c:856 nf_hook_entry_hookfn include/linux/netfilter.h:143 [inline] nf_hook_slow+0xbf/0x1e0 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:258 [inline] NF_HOOK include/linux/netfilter.h:301 [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:303 [inline] NF_HOOK include/linux/netfilter.h:297 [inline] br_nf_forward_ip+0xf6c/0x1760 net/bridge/br_netfilter_hooks.c:637 nf_hook_entry_hookfn include/linux/netfilter.h:143 [inline] nf_hook_slow+0xbf/0x1e0 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:258 [inline] NF_HOOK include/linux/netfilter.h:301 [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:244 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:303 [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:143 [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+0xa78/0x3df0 net/core/dev.c:5346 __netif_receive_skb_one_core+0xaf/0x180 net/core/dev.c:5450 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5566 process_backlog+0x101/0x6c0 net/core/dev.c:5894 __napi_poll.constprop.0+0xb4/0x530 net/core/dev.c:6460 napi_poll net/core/dev.c:6527 [inline] net_rx_action+0x956/0xe90 net/core/dev.c:6660 __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] 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+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000