INFO: task syz-executor.5:26082 blocked for more than 143 seconds. Not tainted 6.4.0-next-20230706-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27024 pid:26082 ppid:24333 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6709 schedule+0xde/0x1a0 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] smc_pnet_net_init+0x131/0x230 net/smc/smc_pnet.c:878 smc_net_init+0x35/0x50 net/smc/af_smc.c:3347 ops_init+0xb9/0x6b0 net/core/net_namespace.c:136 setup_net+0x422/0xa40 net/core/net_namespace.c:339 copy_net_ns+0x334/0x6c0 net/core/net_namespace.c:491 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x410/0x500 kernel/nsproxy.c:179 copy_process+0x322c/0x75c0 kernel/fork.c:2512 kernel_clone+0xeb/0x890 kernel/fork.c:2917 __do_sys_clone3+0x1cd/0x240 kernel/fork.c:3218 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f98d128c389 RSP: 002b:00007f98cf99b038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f98d13ac2c0 RCX: 00007f98d128c389 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007f98cf99b050 RBP: 00007f98d12d7493 R08: 0000000000000000 R09: 0000000000000058 R10: 00007f98cf99b050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007ffe808f710f R14: 00007f98cf99b300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a3db0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a3ab0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8c9a49c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4782: #0: ffff88802d522098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf08/0x13f0 drivers/tty/n_tty.c:2187 2 locks held by kworker/0:6/5130: #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc900041bfdb0 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 3 locks held by kworker/0:9/5216: #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc90004937db0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4630 6 locks held by kworker/1:1/12939: 3 locks held by kworker/0:3/13758: #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+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc90005e0fdb0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x82/0x1040 net/wireless/reg.c:2462 4 locks held by kworker/1:19/16490: 2 locks held by kworker/u4:28/19593: 3 locks held by kworker/0:1/24310: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc90005d27db0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xf/0x70 net/core/link_watch.c:277 3 locks held by kworker/1:2/25350: #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888027fc5138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000af3fdb0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4630 3 locks held by kworker/1:5/25393: 2 locks held by syz-executor.5/26081: #0: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421 #1: ffff888038f78768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5773 [inline] #1: ffff888038f78768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_netdev_notifier_call+0x2bc/0x12e0 net/wireless/core.c:1499 2 locks held by syz-executor.5/26082: #0: ffffffff8e3bc4d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x311/0x6c0 net/core/net_namespace.c:487 #1: ffffffff8e3d0a28 (rtnl_mutex ){+.+.}-{3:3}, at: smc_pnet_create_pnetids_list net/smc/smc_pnet.c:809 [inline] ){+.+.}-{3:3}, at: smc_pnet_net_init+0x131/0x230 net/smc/smc_pnet.c:878 3 locks held by kworker/0:2/26103: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8fd/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000b74fdb0 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 #2: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:75 1 lock held by syz-executor.5/26147: #0: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421 1 lock held by syz-executor.5/26152: #0: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e3d0a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6421 2 locks held by dhcpcd/26162: #0: ffff888036a72dd0 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline] #0: ffff888036a72dd0 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x290 net/socket.c:653 #1: ffffffff8c9afe78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8c9afe78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-next-20230706-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16490 Comm: kworker/1:19 Not tainted 6.4.0-next-20230706-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events cfg80211_wiphy_work RIP: 0010:unwind_next_frame+0x4a9/0x1f70 arch/x86/kernel/unwind_orc.c:515 Code: c0 ef 03 41 83 e7 01 38 d0 7f 08 84 c0 0f 85 da 13 00 00 45 88 7d 35 44 0f b6 71 04 41 83 e6 0f 41 80 fe 06 0f 84 81 0b 00 00 <0f> 87 39 03 00 00 41 80 fe 04 0f 84 c3 0d 00 00 41 80 fe 05 0f 85 RSP: 0018:ffffc900001e0058 EFLAGS: 00000297 RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff8fb61a36 RDX: 0000000000000005 RSI: 0000000000000001 RDI: ffffffff8f1181e4 RBP: ffffc900001e0110 R08: ffffffff8fb61a3a R09: ffffc900001e0d78 R10: ffffc900001e00c8 R11: 0000000000096001 R12: ffffc900001e0118 R13: ffffc900001e00c8 R14: 0000000000000005 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f98cfddd9d0 CR3: 000000003801a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 __kasan_slab_alloc+0x7f/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:3470 [inline] slab_alloc mm/slub.c:3478 [inline] __kmem_cache_alloc_lru mm/slub.c:3485 [inline] kmem_cache_alloc+0x173/0x390 mm/slub.c:3494 skb_clone+0x172/0x3c0 net/core/skbuff.c:1860 deliver_clone net/bridge/br_forward.c:125 [inline] maybe_deliver+0x32f/0x450 net/bridge/br_forward.c:189 br_flood+0x173/0x630 net/bridge/br_forward.c:235 br_handle_frame_finish+0xf89/0x1de0 net/bridge/br_input.c:210 br_nf_hook_thresh+0x2fb/0x3f0 net/bridge/br_netfilter_hooks.c:1048 br_nf_pre_routing_finish_ipv6+0x695/0xf30 net/bridge/br_netfilter_ipv6.c:148 NF_HOOK include/linux/netfilter.h:303 [inline] br_nf_pre_routing_ipv6+0x41b/0x830 net/bridge/br_netfilter_ipv6.c:178 br_nf_pre_routing+0xda4/0x1520 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+0xac1/0x1440 net/bridge/br_input.c:417 __netif_receive_skb_core+0xa10/0x3900 net/core/dev.c:5346 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5450 __netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5566 process_backlog+0x101/0x670 net/core/dev.c:5894 __napi_poll+0xb7/0x6f0 net/core/dev.c:6460 napi_poll net/core/dev.c:6527 [inline] net_rx_action+0x8a9/0xcb0 net/core/dev.c:6660 __do_softirq+0x1d4/0x905 kernel/softirq.c:553 do_softirq.part.0+0x87/0xc0 kernel/softirq.c:454 do_softirq kernel/softirq.c:446 [inline] __local_bh_enable_ip+0x106/0x130 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+0x1b5b/0x3080 net/mac80211/ibss.c:1642 ieee80211_iface_process_skb net/mac80211/iface.c:1604 [inline] ieee80211_iface_work+0xa4a/0xd70 net/mac80211/iface.c:1658 cfg80211_wiphy_work+0x253/0x330 net/wireless/core.c:435 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308