INFO: task kworker/u4:0:8 blocked for more than 143 seconds. Not tainted 5.17.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:0 state:D stack:26688 pid: 8 ppid: 2 flags:0x00004000 Workqueue: events_unbound fsnotify_mark_destroy_workfn Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x90d/0x2680 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 __synchronize_srcu+0x1f2/0x290 kernel/rcu/srcutree.c:930 fsnotify_mark_destroy_workfn+0xeb/0x330 fs/notify/mark.c:864 process_one_work+0x879/0x1410 kernel/workqueue.c:2307 worker_thread+0x5a0/0xf60 kernel/workqueue.c:2454 kthread+0x299/0x340 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task kworker/u4:1:10 blocked for more than 144 seconds. Not tainted 5.17.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:1 state:D stack:26360 pid: 10 ppid: 2 flags:0x00004000 Workqueue: events_unbound fsnotify_connector_destroy_workfn Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x90d/0x2680 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 __synchronize_srcu+0x1f2/0x290 kernel/rcu/srcutree.c:930 fsnotify_connector_destroy_workfn+0x4a/0xa0 fs/notify/mark.c:164 process_one_work+0x879/0x1410 kernel/workqueue.c:2307 process_scheduled_works kernel/workqueue.c:2370 [inline] worker_thread+0x738/0xf60 kernel/workqueue.c:2456 kthread+0x299/0x340 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x79e/0x1410 kernel/workqueue.c:2278 #1: ffffc90000cd7dc0 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x7cb/0x1410 kernel/workqueue.c:2282 2 locks held by kworker/u4:1/10: #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff88800fc69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x79e/0x1410 kernel/workqueue.c:2278 #1: ffffc90000cf7dc0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x7cb/0x1410 kernel/workqueue.c:2282 1 lock held by khungtaskd/27: #0: ffffffff8ad78520 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 1 lock held by khugepaged/33: #0: ffffffff8ae59d08 (lock#5){+.+.}-{3:3}, at: __lru_add_drain_all+0x5a/0x6e0 mm/swap.c:798 3 locks held by kworker/1:2/142: #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x79e/0x1410 kernel/workqueue.c:2278 #1: ffff8880b9f27948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:891 #2: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0x9f/0x11a0 net/ipv6/addrconf.c:4065 2 locks held by getty/3311: #0: ffff8880226cb098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900027662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x9dd/0xed0 drivers/tty/n_tty.c:2077 3 locks held by kworker/1:3/3646: #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff88814a87c938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x79e/0x1410 kernel/workqueue.c:2278 #1: ffffc9000247fdc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7cb/0x1410 kernel/workqueue.c:2282 #2: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0x9f/0x11a0 net/ipv6/addrconf.c:4065 5 locks held by kworker/0:8/4081: 2 locks held by dhcpcd/16073: #0: ffff88804aab0130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88804aab0130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x27/0xa70 net/packet/af_packet.c:3174 #1: ffffffff8ad82168 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8ad82168 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4fa/0x620 kernel/rcu/tree_exp.h:840 2 locks held by dhcpcd/16128: #0: ffff88804f8e6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88804f8e6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x27/0xa70 net/packet/af_packet.c:3174 #1: ffffffff8ad82168 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8ad82168 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2d5/0x620 kernel/rcu/tree_exp.h:840 1 lock held by dhcpcd/16168: #0: ffff88804ce8c130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88804ce8c130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x27/0xa70 net/packet/af_packet.c:3174 1 lock held by dhcpcd/16214: #0: ffff888053cc6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff888053cc6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x27/0xa70 net/packet/af_packet.c:3174 1 lock held by dhcpcd/16256: #0: ffff88805b2b0130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88805b2b0130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x27/0xa70 net/packet/af_packet.c:3174 1 lock held by dhcpcd/18198: #0: ffff8880235fa130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff8880235fa130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x27/0xa70 net/packet/af_packet.c:3174 1 lock held by dhcpcd/18252: #0: ffff888041d62130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff888041d62130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x27/0xa70 net/packet/af_packet.c:3174 1 lock held by dhcpcd/18356: #0: ffff88804375e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88804375e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x27/0xa70 net/packet/af_packet.c:3174 1 lock held by dhcpcd/18497: #0: ffff88804fda6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88804fda6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x27/0xa70 net/packet/af_packet.c:3174 2 locks held by syz-executor.1/23671: #0: ffff888064cee210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #0: ffff888064cee210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release+0x76/0x270 net/socket.c:649 #1: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: ip6mr_sk_done+0xad/0x2e0 net/ipv6/ip6mr.c:1580 2 locks held by syz-executor.2/23673: #0: ffff888024cf5610 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #0: ffff888024cf5610 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release+0x76/0x270 net/socket.c:649 #1: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: ip6mr_sk_done+0xad/0x2e0 net/ipv6/ip6mr.c:1580 2 locks held by syz-executor.0/23680: #0: ffff88807442d610 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #0: ffff88807442d610 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release+0x76/0x270 net/socket.c:649 #1: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: ip6mr_sk_done+0xad/0x2e0 net/ipv6/ip6mr.c:1580 2 locks held by syz-executor.5/23684: #0: ffff888064cff410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #0: ffff888064cff410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release+0x76/0x270 net/socket.c:649 #1: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: ip6mr_sk_done+0xad/0x2e0 net/ipv6/ip6mr.c:1580 4 locks held by syz-executor.3/23691: 1 lock held by syz-executor.4/23696: #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5593 1 lock held by syz-executor.1/23694: #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5593 1 lock held by syz-executor.2/23699: 2 locks held by syz-executor.0/23700: #0: ffff8880b9f39c18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:489 [inline] #0: ffff8880b9f39c18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1318 [inline] #0: ffff8880b9f39c18 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1616 [inline] #0: ffff8880b9f39c18 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x236/0x2680 kernel/sched/core.c:6209 #1: ffff8880b9f27948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:891 2 locks held by syz-executor.5/23706: 1 lock held by syz-executor.4/23709: 1 lock held by syz-executor.1/23710: 1 lock held by syz-executor.3/23712: #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5593 1 lock held by syz-executor.2/23721: #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5593 1 lock held by syz-executor.5/23720: #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5593 1 lock held by syz-executor.4/23724: #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8c47c908 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5593 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x30/0xc0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x11f/0x170 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0x88c/0xbf0 kernel/hung_task.c:369 kthread+0x299/0x340 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.17.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__find_rr_leaf+0x266/0xa40 net/ipv6/route.c:795 Code: 85 c0 0f 84 ba 00 00 00 4d 85 f6 0f 84 f3 00 00 00 4c 39 34 24 0f 84 e9 00 00 00 4d 85 e4 74 30 49 8d be 80 00 00 00 48 89 f8 <48> c1 e8 03 42 0f b6 04 28 84 c0 74 08 3c 03 0f 8e a6 05 00 00 8b RSP: 0018:ffffc90000d27570 EFLAGS: 00000286 RAX: ffff8880527c8e80 RBX: ffff88802dfdeea0 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff88eba7e0 RDI: ffff8880527c8e80 RBP: ffffc90000d27850 R08: 0000000000000001 R09: ffffc90000d27740 R10: fffffbfff1e19710 R11: 0000000000000000 R12: ffffc90000d27760 R13: dffffc0000000000 R14: ffff8880527c8e00 R15: ffff88802dfdee54 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000052f7b0 CR3: 000000001771d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_rr_leaf net/ipv6/route.c:847 [inline] rt6_select net/ipv6/route.c:891 [inline] fib6_table_lookup+0x496/0x840 net/ipv6/route.c:2185 ip6_pol_route+0x17d/0xe10 net/ipv6/route.c:2221 pol_lookup_func include/net/ip6_fib.h:581 [inline] fib6_rule_lookup+0xfb/0x630 net/ipv6/fib6_rules.c:115 ip6_route_input_lookup net/ipv6/route.c:2291 [inline] ip6_route_input+0x56a/0xa10 net/ipv6/route.c:2587 ip6_rcv_finish net/ipv6/ip6_input.c:74 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ipv6_rcv+0x1b6/0x320 net/ipv6/ip6_input.c:297 __netif_receive_skb_one_core+0x104/0x180 net/core/dev.c:5351 process_backlog+0x22a/0x610 net/core/dev.c:5797 __napi_poll+0x96/0x360 net/core/dev.c:6365 napi_poll net/core/dev.c:6432 [inline] net_rx_action+0x6fc/0xa50 net/core/dev.c:6519 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x548/0x8c0 kernel/smpboot.c:164 kthread+0x299/0x340 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 85 c0 test %eax,%eax 2: 0f 84 ba 00 00 00 je 0xc2 8: 4d 85 f6 test %r14,%r14 b: 0f 84 f3 00 00 00 je 0x104 11: 4c 39 34 24 cmp %r14,(%rsp) 15: 0f 84 e9 00 00 00 je 0x104 1b: 4d 85 e4 test %r12,%r12 1e: 74 30 je 0x50 20: 49 8d be 80 00 00 00 lea 0x80(%r14),%rdi 27: 48 89 f8 mov %rdi,%rax * 2a: 48 c1 e8 03 shr $0x3,%rax <-- trapping instruction 2e: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax 33: 84 c0 test %al,%al 35: 74 08 je 0x3f 37: 3c 03 cmp $0x3,%al 39: 0f 8e a6 05 00 00 jle 0x5e5 3f: 8b .byte 0x8b