INFO: task syz-executor.5:1842 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-12491-gc192ac735768 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27944 pid:1842 ppid:5080 flags:0x20004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 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+0xa3b/0x1350 kernel/locking/mutex.c:747 tty_release_struct+0xad/0xf0 drivers/tty/tty_io.c:1708 tty_release+0xd9e/0x1380 drivers/tty/tty_io.c:1869 __fput+0x40c/0xad0 fs/file_table.c:384 task_work_run+0x16f/0x270 kernel/task_work.c:179 get_signal+0x1c7/0x25f0 kernel/signal.c:2653 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:308 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f8b579 RSP: 002b:00000000f7f865cc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000005403 RDX: 0000000020000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.5:1845 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-12491-gc192ac735768 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28424 pid:1845 ppid:5080 flags:0x20004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143 ___down_common kernel/locking/semaphore.c:225 [inline] __down_common+0x345/0x680 kernel/locking/semaphore.c:246 down+0x74/0xa0 kernel/locking/semaphore.c:63 console_lock+0x2c/0x80 kernel/printk/printk.c:2600 con_install+0x92/0x630 drivers/tty/vt/vt.c:3332 tty_driver_install_tty drivers/tty/tty_io.c:1312 [inline] tty_init_dev.part.0+0x9e/0x670 drivers/tty/tty_io.c:1424 tty_init_dev include/linux/err.h:61 [inline] tty_open_by_driver drivers/tty/tty_io.c:2090 [inline] tty_open+0xb26/0x1030 drivers/tty/tty_io.c:2137 chrdev_open+0x273/0x780 fs/char_dev.c:414 do_dentry_open+0x6ce/0x17b0 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x1b65/0x2710 fs/namei.c:3793 do_filp_open+0x1ba/0x410 fs/namei.c:3820 do_sys_openat2+0x160/0x1c0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_compat_sys_openat fs/open.c:1482 [inline] __se_compat_sys_openat fs/open.c:1480 [inline] __ia32_compat_sys_openat+0x143/0x1f0 fs/open.c:1480 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f8b579 RSP: 002b:00000000f7f44170 EFLAGS: 00000286 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00000000ffffff9c RCX: 00000000f7f441c0 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00000000f734e000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 2 locks held by kthreadd/2: 2 locks held by rcu_gp/3: #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: ffffc90000087d50 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x930/0x16f0 kernel/workqueue.c:2571 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a3af0 (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: ffffffff8c9a37f0 (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: ffffffff8c9a4700 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by kworker/u4:3/47: 2 locks held by syslogd/4461: 3 locks held by udevd/4479: 1 lock held by dhcpcd/4692: 2 locks held by dhcpcd/4693: 2 locks held by getty/4786: #0: ffff88802d03a098 (&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 1 lock held by syz-executor.4/5077: 1 lock held by syz-executor.2/5078: 4 locks held by kworker/1:7/5126: 3 locks held by kworker/u4:6/5256: 1 lock held by syz-executor.4/17900: 1 lock held by syz-executor.4/17935: 1 lock held by syz-executor.4/21609: 1 lock held by syz-executor.4/21637: 1 lock held by syz-executor.4/21663: 1 lock held by syz-executor.4/22254: 1 lock held by syz-executor.2/22702: 1 lock held by syz-executor.2/14540: 1 lock held by syz-executor.0/15094: #0: ffffffff8c9afbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8c9afbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:992 2 locks held by kworker/u4:4/16324: 2 locks held by kworker/1:19/16441: 4 locks held by kworker/0:17/17188: 4 locks held by kworker/0:18/17189: 4 locks held by kworker/0:20/17194: 2 locks held by kworker/0:28/18590: 2 locks held by kworker/1:0/23907: 4 locks held by kworker/0:5/24293: 1 lock held by syz-executor.4/24301: 1 lock held by syz-executor.4/25892: 1 lock held by syz-executor.4/28208: 1 lock held by syz-executor.4/28215: 1 lock held by syz-executor.0/30595: #0: ffffffff8d49b808 (tty_mutex){+.+.}-{3:3}, at: tty_release_struct+0xad/0xf0 drivers/tty/tty_io.c:1708 1 lock held by syz-executor.0/31439: #0: ffffffff8d49b808 (tty_mutex){+.+.}-{3:3}, at: tty_release_struct+0xad/0xf0 drivers/tty/tty_io.c:1708 4 locks held by kworker/0:0/31883: 1 lock held by syz-executor.0/430: #0: ffffffff8d49b808 (tty_mutex){+.+.}-{3:3}, at: tty_release_struct+0xad/0xf0 drivers/tty/tty_io.c:1708 1 lock held by syz-executor.5/785: #0: ffffffff8d49b808 (tty_mutex){+.+.}-{3:3}, at: tty_release_struct+0xad/0xf0 drivers/tty/tty_io.c:1708 1 lock held by syz-executor.5/806: #0: ffffffff8d49b808 (tty_mutex){+.+.}-{3:3}, at: tty_release_struct+0xad/0xf0 drivers/tty/tty_io.c:1708 4 locks held by kworker/1:2/1729: 4 locks held by kworker/1:4/1751: 6 locks held by syz-executor.1/1798: 4 locks held by kworker/1:6/1815: 1 lock held by syz-executor.5/1842: #0: ffffffff8d49b808 (tty_mutex){+.+.}-{3:3}, at: tty_release_struct+0xad/0xf0 drivers/tty/tty_io.c:1708 2 locks held by syz-executor.5/1845: #0: ffffffff8d49b808 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2054 [inline] #0: ffffffff8d49b808 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x5b1/0x1030 drivers/tty/tty_io.c:2137 #1: ffff8880280881c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_init_dev.part.0+0x39/0x670 drivers/tty/tty_io.c:1423 4 locks held by kworker/0:2/1846: 2 locks held by kworker/1:8/1847: 4 locks held by kworker/0:3/1849: 3 locks held by kworker/0:4/1851: 1 lock held by syz-executor.4/1855: #0: ffffffff8d49b808 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2054 [inline] #0: ffffffff8d49b808 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x5b1/0x1030 drivers/tty/tty_io.c:2137 4 locks held by kworker/0:8/1859: 2 locks held by kworker/0:9/1861: 3 locks held by kworker/1:10/1862: 2 locks held by kworker/u4:2/1863: 2 locks held by dhcpcd/1865: #0: ffff88807ab3e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1708 [inline] #0: ffff88807ab3e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xe90 net/packet/af_packet.c:3202 #1: ffffffff8c9afbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8c9afbb8 (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-syzkaller-12491-gc192ac735768 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/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: 5256 Comm: kworker/u4:6 Not tainted 6.4.0-syzkaller-12491-gc192ac735768 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Workqueue: wg-kex-wg1 wg_packet_handshake_send_worker RIP: 0010:__find_rr_leaf+0x2ab/0xdc0 net/ipv6/route.c:792 Code: 89 c4 89 c6 e8 46 40 a7 f8 45 85 e4 0f 85 05 01 00 00 e8 18 44 a7 f8 48 85 db 0f 84 87 01 00 00 e8 0a 44 a7 f8 48 39 5c 24 08 <0f> 84 77 01 00 00 e8 fa 43 a7 f8 48 83 3c 24 00 74 43 e8 ee 43 a7 RSP: 0018:ffffc900001dfb80 EFLAGS: 00000207 RAX: 0000000000000000 RBX: ffff88802e12d000 RCX: 0000000000000100 RDX: ffff88802bee1dc0 RSI: ffffffff88dd9db6 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: ffffc900001dfe68 R14: 0000000000000000 R15: ffff88802e12c4a8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000540000 CR3: 000000000c775000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_rr_leaf net/ipv6/route.c:849 [inline] rt6_select net/ipv6/route.c:893 [inline] fib6_table_lookup+0x62e/0xa20 net/ipv6/route.c:2181 ip6_pol_route+0x1c9/0x1230 net/ipv6/route.c:2217 pol_lookup_func include/net/ip6_fib.h:576 [inline] fib6_rule_lookup+0x115/0x6e0 net/ipv6/fib6_rules.c:116 ip6_route_input_lookup net/ipv6/route.c:2286 [inline] ip6_route_input+0x5d8/0xbb0 net/ipv6/route.c:2582 ip6_rcv_finish_core.constprop.0+0x1a4/0x5d0 net/ipv6/ip6_input.c:66 ip6_rcv_finish+0x130/0x2c0 net/ipv6/ip6_input.c:77 ip_sabotage_in+0x22a/0x2a0 net/bridge/br_netfilter_hooks.c:880 nf_hook_entry_hookfn include/linux/netfilter.h:143 [inline] nf_hook_slow+0xc9/0x1f0 net/netfilter/core.c:626 nf_hook.constprop.0+0x408/0x710 include/linux/netfilter.h:258 NF_HOOK include/linux/netfilter.h:301 [inline] ipv6_rcv+0xa2/0x380 net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5452 __netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5566 netif_receive_skb_internal net/core/dev.c:5652 [inline] netif_receive_skb+0x133/0x7a0 net/core/dev.c:5711 NF_HOOK include/linux/netfilter.h:303 [inline] NF_HOOK include/linux/netfilter.h:297 [inline] br_pass_frame_up+0x303/0x430 net/bridge/br_input.c:68 br_handle_frame_finish+0xd1f/0x1de0 net/bridge/br_input.c:216 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 wg_socket_send_skb_to_peer+0x14f/0x220 drivers/net/wireguard/socket.c:184 wg_socket_send_buffer_to_peer+0x115/0x160 drivers/net/wireguard/socket.c:200 wg_packet_send_handshake_initiation+0x20d/0x340 drivers/net/wireguard/send.c:40 wg_packet_handshake_send_worker+0x1c/0x30 drivers/net/wireguard/send.c:51 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 net_ratelimit: 25349 callbacks suppressed bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:5a:80:6d:c3:ae:c6, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) net_ratelimit: 25521 callbacks suppressed bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:5a:80:6d:c3:ae:c6, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) bridge0: received packet on veth0_to_bridge with own address as source address (addr:5a:80:6d:c3:ae:c6, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)