INFO: task kworker/1:14:5225 blocked for more than 143 seconds. Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:14 state:D stack:22024 pid:5225 ppid:2 flags:0x00004000 Workqueue: rcu_gp wait_rcu_exp_gp Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 rcu_exp_wait_wake+0x106/0x1550 kernel/rcu/tree_exp.h:698 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2407 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2554 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task dhcpcd:15817 blocked for more than 143 seconds. Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:dhcpcd state:D stack:28696 pid:15817 ppid:4671 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 synchronize_rcu_expedited+0x5d4/0x770 kernel/rcu/tree_exp.h:1007 synchronize_rcu+0x2f1/0x3a0 kernel/rcu/tree.c:3535 synchronize_net+0x4e/0x60 net/core/dev.c:10791 __unregister_prot_hook+0x4b3/0x5c0 net/packet/af_packet.c:380 packet_do_bind+0x93f/0xe30 net/packet/af_packet.c:3235 packet_bind+0x15f/0x1c0 net/packet/af_packet.c:3319 __sys_bind+0x1ed/0x260 net/socket.c:1803 __do_sys_bind net/socket.c:1814 [inline] __se_sys_bind net/socket.c:1812 [inline] __x64_sys_bind+0x73/0xb0 net/socket.c:1812 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:0x7f178c720677 RSP: 002b:00007fff49bba848 EFLAGS: 00000217 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 000055a80b386ca3 RCX: 00007f178c720677 RDX: 0000000000000014 RSI: 00007fff49bba858 RDI: 0000000000000005 RBP: 0000000000000000 R08: 000055a80d1b2d40 R09: 0000000000200000 R10: 000000000000006d R11: 0000000000000217 R12: 000055a80d1ad250 R13: 000055a80d1b4328 R14: 00007fff49bdb13c R15: 000055a80d1b42f4 Showing all locks held in the system: 2 locks held by kworker/0:1/9: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c798530 (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: ffffffff8c798230 (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: ffffffff8c799140 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6559 2 locks held by getty/4754: #0: ffff88802bee0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 4 locks held by syz-fuzzer/4994: #0: ffff88802c21a460 (sb_writers#4){.+.+}-{0:0}, at: do_rmdir+0x1da/0x430 fs/namei.c:4241 #1: ffff88803f624a00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff88803f624a00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_rmdir+0x225/0x430 fs/namei.c:4245 #2: ffff8880876b0e00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #2: ffff8880876b0e00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir.part.0+0x63/0x5a0 fs/namei.c:4187 #3: ffffffff8c7a4538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #3: ffffffff8c7a4538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:992 3 locks held by kworker/1:3/5098: #0: ffff888027e97d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888027e97d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888027e97d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888027e97d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888027e97d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888027e97d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2378 #1: ffffc90004ebfdb0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2382 #2: ffffffff8e11c768 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4630 3 locks held by kworker/1:14/5225: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2378 #1: ffffc9000558fdb0 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2382 #2: ffffffff8c7a45c8 (rcu_state.exp_wake_mutex){+.+.}-{3:3}, at: rcu_exp_wait_wake+0x106/0x1550 kernel/rcu/tree_exp.h:698 3 locks held by kworker/0:2/10424: 3 locks held by kworker/0:3/10429: 2 locks held by kworker/u4:19/12874: 2 locks held by kworker/u4:26/12888: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2378 #1: ffffc90004407db0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2382 2 locks held by kworker/u4:31/12897: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2378 #1: ffffc9000450fdb0 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2382 3 locks held by kworker/1:29/13242: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2378 #1: ffffc9000b2a7db0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2382 #2: ffffffff8e11c768 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xf/0x70 net/core/link_watch.c:277 4 locks held by syz-executor.5/15773: 2 locks held by dhcpcd/15817: #0: ffff88807726e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] #0: ffff88807726e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xe30 net/packet/af_packet.c:3202 #1: ffffffff8c7a4538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8c7a4538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.2/15828: #0: ffff8880819dc0e0 (&type->s_umount_key#71/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228 1 lock held by syz-executor.2/15857: #0: ffffffff8e11c768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e11c768 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6392 1 lock held by dhcpcd/15865: #0: ffff88808f952130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] #0: ffff88808f952130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xe30 net/packet/af_packet.c:3202 1 lock held by dhcpcd/15866: #0: ffff88803fc74130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] #0: ffff88803fc74130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xe30 net/packet/af_packet.c:3202 1 lock held by dhcpcd/15867: #0: ffff888083064130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] #0: ffff888083064130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xe30 net/packet/af_packet.c:3202 1 lock held by syz-executor.2/15869: #0: ffffffff8e11c768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e11c768 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6392 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/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:148 [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:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15773 Comm: syz-executor.5 Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200 Code: 26 b9 8e 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be a8 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 98 7f 7e 89 c1 48 8b 34 24 81 e1 00 01 00 RSP: 0018:ffffc900000072e0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffc900000073e0 RCX: ffffffff88fc7608 RDX: ffff88808009d940 RSI: 0000000000000100 RDI: 0000000000000005 RBP: ffff888081252710 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0200000000000000 R12: ffff8880812518c0 R13: 0000000000000001 R14: ffff88806fca1000 R15: dffffc0000000000 FS: 00007fef57f57700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fef57f57718 CR3: 0000000030742000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bridge_parent net/bridge/br_netfilter_hooks.c:155 [inline] br_nf_forward_ip net/bridge/br_netfilter_hooks.c:599 [inline] br_nf_forward_ip+0x208/0x13c0 net/bridge/br_netfilter_hooks.c:578 nf_hook_entry_hookfn include/linux/netfilter.h:143 [inline] nf_hook_slow+0xc9/0x1f0 net/netfilter/core.c:626 nf_hook+0x431/0x730 include/linux/netfilter.h:258 NF_HOOK include/linux/netfilter.h:301 [inline] __br_forward+0x19a/0x570 net/bridge/br_forward.c:115 deliver_clone net/bridge/br_forward.c:131 [inline] maybe_deliver+0x350/0x450 net/bridge/br_forward.c:189 br_flood+0x168/0x470 net/bridge/br_forward.c:233 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+0x9cb/0x1320 net/bridge/br_input.c:416 __netif_receive_skb_core+0xa10/0x3900 net/core/dev.c:5385 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5489 __netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5605 process_backlog+0x13e/0x6d0 net/core/dev.c:5933 __napi_poll+0xb3/0x520 net/core/dev.c:6496 napi_poll net/core/dev.c:6563 [inline] net_rx_action+0x8e4/0xd00 net/core/dev.c:6696 __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:395 [inline] tcp_metrics_flush_all+0x27c/0x390 net/ipv4/tcp_metrics.c:899 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175 setup_net+0x7fb/0xc50 net/core/net_namespace.c:362 copy_net_ns+0x4ee/0x8e0 net/core/net_namespace.c:491 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228 ksys_unshare+0x449/0x920 kernel/fork.c:3440 __do_sys_unshare kernel/fork.c:3511 [inline] __se_sys_unshare kernel/fork.c:3509 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3509 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:0x7fef5728c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fef57f57168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007fef573ac120 RCX: 00007fef5728c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006c060000 RBP: 00007fef572e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd02761d2f R14: 00007fef57f57300 R15: 0000000000022000