INFO: task syz.1.4873:16269 blocked for more than 146 seconds. Not tainted 6.13.0-syzkaller-05001-gd0d106a2bd21 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.4873 state:D stack:28256 pid:16269 tgid:16265 ppid:5845 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5373 [inline] __schedule+0x1142/0x5b60 kernel/sched/core.c:6760 __schedule_loop kernel/sched/core.c:6837 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6852 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6909 __mutex_lock_common kernel/locking/mutex.c:662 [inline] __mutex_lock+0x6bd/0xb10 kernel/locking/mutex.c:730 rtnl_net_lock include/linux/rtnetlink.h:129 [inline] dev_ioctl+0x1a1/0x10c0 net/core/dev_ioctl.c:852 sock_ioctl+0x5b9/0x6c0 net/socket.c:1240 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb19bb8cd29 RSP: 002b:00007fb19b9d8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb19bda6080 RCX: 00007fb19bb8cd29 RDX: 0000000020000440 RSI: 00000000000089f0 RDI: 0000000000000003 RBP: 00007fb19bc0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fb19bda6080 R15: 00007fff1d997308 Showing all locks held in the system: 2 locks held by kworker/u8:0/11: 1 lock held by khungtaskd/30: #0: ffffffff8e1be2c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1be2c0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1be2c0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6746 2 locks held by kworker/1:1/46: 3 locks held by kworker/u8:3/53: #0: ffff88814c84c148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90000be7d18 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffffffff8fef2a28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:129 [inline] #2: ffffffff8fef2a28 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4730 3 locks held by kworker/u8:4/80: 4 locks held by kworker/0:2/968: #0: ffff88805f8b8148 ((wq_completion)wg-kex-wg1#3){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90003cafd18 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((typeof(*((worker))) *)(( unsigned long)((worker))))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff8880367f5308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1c3/0x880 drivers/net/wireguard/noise.c:598 #3: ffff88805e169638 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x5ae/0x880 drivers/net/wireguard/noise.c:632 3 locks held by kworker/u8:5/2896: 4 locks held by kworker/u8:6/3425: #0: ffff888060ce2948 ((wq_completion)wg-kex-wg2#3){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc9000cbe7d18 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffff888061e79308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xed/0x650 drivers/net/wireguard/noise.c:529 #3: ffff88805e16a938 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x101/0x650 drivers/net/wireguard/noise.c:530 4 locks held by kworker/u8:7/3434: 3 locks held by kworker/1:2/4866: 3 locks held by syslogd/5174: 2 locks held by udevd/5192: 2 locks held by dhcpcd/5485: 2 locks held by getty/5568: #0: ffff8880368020a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5810: 3 locks held by kworker/1:4/5834: #0: ffff88801b079d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc9000440fd18 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffffffff8fef2a28 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x84/0x1130 net/wireless/reg.c:2480 1 lock held by syz-executor/5838: 5 locks held by syz-executor/5839: 2 locks held by kworker/1:6/5938: 3 locks held by kworker/0:6/6023: #0: ffff88801b078d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90003057d18 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 #2: ffffffff8fef2a28 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 3 locks held by kworker/0:7/6024: 2 locks held by kworker/u8:10/10959: 5 locks held by kworker/u8:11/10963: 1 lock held by syz.0.4852/16220: 3 locks held by syz.1.4873/16266: 1 lock held by syz.1.4873/16269: #0: ffffffff8fef2a28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:129 [inline] #0: ffffffff8fef2a28 (rtnl_mutex){+.+.}-{4:4}, at: dev_ioctl+0x1a1/0x10c0 net/core/dev_ioctl.c:852 4 locks held by syz.3.4893/16310: #0: ffff88805ea850a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffff88805ea85130 (&tty->atomic_write_lock){+.+.}-{4:4}, at: tty_write_lock drivers/tty/tty_io.c:948 [inline] #1: ffff88805ea85130 (&tty->atomic_write_lock){+.+.}-{4:4}, at: iterate_tty_write drivers/tty/tty_io.c:967 [inline] #1: ffff88805ea85130 (&tty->atomic_write_lock){+.+.}-{4:4}, at: file_tty_write.constprop.0+0x281/0x9a0 drivers/tty/tty_io.c:1090 #2: ffff88805ea852e8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_write+0x1bd/0x1140 drivers/tty/n_tty.c:2372 #3: ffffc9000b889380 (&ldata->output_lock){+.+.}-{4:4}, at: process_output drivers/tty/n_tty.c:491 [inline] #3: ffffc9000b889380 (&ldata->output_lock){+.+.}-{4:4}, at: n_tty_write+0x4af/0x1140 drivers/tty/n_tty.c:2400 1 lock held by syz-executor/16316: 2 locks held by kworker/0:4/16317: 3 locks held by kworker/1:9/16320: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-syzkaller-05001-gd0d106a2bd21 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xf14/0x1240 kernel/hung_task.c:397 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 10963 Comm: kworker/u8:11 Not tainted 6.13.0-syzkaller-05001-gd0d106a2bd21 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:__in6_dev_get include/net/addrconf.h:347 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:443 [inline] RIP: 0010:find_match+0x37d/0x15d0 net/ipv6/route.c:747 Code: ff ff e8 36 da b7 f7 0f b6 85 48 ff ff ff 84 c0 0f 85 00 fe ff ff e8 82 df b7 f7 e8 dd bd 9c f7 31 ff 89 c6 89 85 48 ff ff ff 6e da b7 f7 8b 85 48 ff ff ff 85 c0 0f 85 d9 fd ff ff e8 5b df RSP: 0018:ffffc900000068d0 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000003 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900000069d8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000007 R12: ffff88802a3e6ccf R13: ffff88802a3e6cb8 R14: 1ffff92000000d29 R15: ffff88807bf6e000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5348c00218 CR3: 0000000033df6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __find_rr_leaf+0x141/0xe00 net/ipv6/route.c:835 find_rr_leaf net/ipv6/route.c:856 [inline] rt6_select net/ipv6/route.c:900 [inline] fib6_table_lookup+0x57e/0xa30 net/ipv6/route.c:2195 ip6_pol_route+0x1cd/0x1120 net/ipv6/route.c:2231 pol_lookup_func include/net/ip6_fib.h:616 [inline] fib6_rule_lookup+0x536/0x720 net/ipv6/fib6_rules.c:119 ip6_route_input_lookup net/ipv6/route.c:2300 [inline] ip6_route_input+0x663/0xc10 net/ipv6/route.c:2596 ip6_rcv_finish_core.constprop.0+0x1a0/0x5d0 net/ipv6/ip6_input.c:66 ip6_rcv_finish+0x12c/0x5b0 net/ipv6/ip6_input.c:77 ip_sabotage_in+0x21b/0x290 net/bridge/br_netfilter_hooks.c:993 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xbb/0x200 net/netfilter/core.c:626 nf_hook.constprop.0+0x42e/0x750 include/linux/netfilter.h:269 NF_HOOK include/linux/netfilter.h:312 [inline] ipv6_rcv+0xa4/0x680 net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core+0x12e/0x1e0 net/core/dev.c:5828 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5941 netif_receive_skb_internal net/core/dev.c:6027 [inline] netif_receive_skb+0x13f/0x7b0 net/core/dev.c:6086 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] br_pass_frame_up+0x346/0x490 net/bridge/br_input.c:70 br_handle_frame_finish+0xecc/0x1c90 net/bridge/br_input.c:226 br_nf_hook_thresh+0x303/0x410 net/bridge/br_netfilter_hooks.c:1170 br_nf_pre_routing_finish_ipv6+0x76a/0xfb0 net/bridge/br_netfilter_ipv6.c:154 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x3ce/0x8c0 net/bridge/br_netfilter_ipv6.c:184 br_nf_pre_routing+0x860/0x15b0 net/bridge/br_netfilter_hooks.c:508 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:282 [inline] br_handle_frame+0xad7/0x14a0 net/bridge/br_input.c:433 __netif_receive_skb_core.constprop.0+0xa20/0x4330 net/core/dev.c:5722 __netif_receive_skb_one_core+0xb1/0x1e0 net/core/dev.c:5826 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5941 process_backlog+0x443/0x15f0 net/core/dev.c:6289 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7106 napi_poll net/core/dev.c:7175 [inline] net_rx_action+0xa94/0x1010 net/core/dev.c:7297 handle_softirqs+0x213/0x8f0 kernel/softirq.c:561 do_softirq kernel/softirq.c:462 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:449 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:389 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+0x8c7/0xd00 drivers/net/netdevsim/dev.c:851 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244