INFO: task syz.2.140:6689 blocked for more than 145 seconds. Not tainted 6.14.0-syzkaller-11125-g609706855d90 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.140 state:D stack:27352 pid:6689 tgid:6676 ppid:5840 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x116f/0x5de0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 __mutex_lock_common kernel/locking/mutex.c:664 [inline] __mutex_lock+0x6c7/0xb90 kernel/locking/mutex.c:732 ip_tunnel_init_net+0x21d/0x7d0 net/ipv4/ip_tunnel.c:1160 ops_init+0x1df/0x5f0 net/core/net_namespace.c:138 setup_net+0x21e/0x850 net/core/net_namespace.c:364 copy_net_ns+0x2a6/0x5f0 net/core/net_namespace.c:518 create_new_namespaces+0x3ea/0xad0 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc0/0x1f0 kernel/nsproxy.c:228 ksys_unshare+0x45b/0xa40 kernel/fork.c:3341 __do_sys_unshare kernel/fork.c:3412 [inline] __se_sys_unshare kernel/fork.c:3410 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3410 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f19dcf8d169 RSP: 002b:00007f19dde27038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f19dd1a6400 RCX: 00007f19dcf8d169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000080 RBP: 00007f19dd00e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f19dd1a6400 R15: 00007ffce3eed988 Showing all locks held in the system: 2 locks held by kthreadd/2: 1 lock held by kworker/R-kvfre/6: #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x839/0xea0 kernel/workqueue.c:3529 2 locks held by kworker/0:0/9: 2 locks held by kworker/0:1/10: 3 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/13: 1 lock held by kworker/R-mm_pe/14: #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x839/0xea0 kernel/workqueue.c:3529 4 locks held by kworker/1:0/24: 1 lock held by khungtaskd/31: #0: ffffffff8e3bf140 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e3bf140 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e3bf140 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6764 3 locks held by kworker/u8:2/36: 3 locks held by kworker/1:1/47: 4 locks held by kworker/u8:3/53: 3 locks held by kworker/u8:4/65: 4 locks held by kworker/u8:5/202: #0: ffff88801c2f6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc90002ff7d18 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffffffff9010ded0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xc9/0xb30 net/core/net_namespace.c:608 #3: ffffffff90123d68 (rtnl_mutex){+.+.}-{4:4}, at: mpls_net_exit+0x83/0x350 net/mpls/af_mpls.c:2706 4 locks held by kworker/0:2/928: #0: ffff888063c86948 ((wq_completion)wg-kex-wg2#4){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc90003b27d18 ((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+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff888063c3d308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1c2/0x880 drivers/net/wireguard/noise.c:598 #3: ffff888062e4e648 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x5ac/0x880 drivers/net/wireguard/noise.c:632 3 locks held by kworker/u8:6/1095: 4 locks held by kworker/u8:7/1325: 3 locks held by kworker/1:2/2154: 3 locks held by kworker/u8:8/2921: 3 locks held by kworker/R-ipv6_/3174: #0: ffff88814dbb4948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc9000c327cb0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffffffff90123d68 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #2: ffffffff90123d68 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4730 3 locks held by kworker/u8:9/4413: 3 locks held by kworker/u8:10/4616: 7 locks held by kworker/u9:1/5153: #0: ffff88802675f148 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc900103c7d18 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff888066124d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x175/0x430 net/bluetooth/hci_sync.c:331 #3: ffff888066124078 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x146/0xb40 net/bluetooth/hci_sync.c:5597 #4: ffffffff90392708 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2051 [inline] #4: ffffffff90392708 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x14f/0x330 net/bluetooth/hci_conn.c:1269 #5: ffff88802675eb38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x80/0x730 net/bluetooth/l2cap_core.c:1761 #6: ffffffff8e3ca678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1a3/0x3c0 kernel/rcu/tree_exp.h:336 3 locks held by syslogd/5195: 3 locks held by klogd/5202: 3 locks held by udevd/5213: 2 locks held by getty/5596: #0: ffff88814dd770a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc9000334b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfa1/0x1450 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/5829: 1 lock held by kworker/R-wg-cr/5869: #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x839/0xea0 kernel/workqueue.c:3529 1 lock held by kworker/R-wg-cr/5871: #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x839/0xea0 kernel/workqueue.c:3529 1 lock held by kworker/R-wg-cr/5873: #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x839/0xea0 kernel/workqueue.c:3529 1 lock held by kworker/R-wg-cr/5874: #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x839/0xea0 kernel/workqueue.c:3529 1 lock held by kworker/R-wg-cr/5876: #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x839/0xea0 kernel/workqueue.c:3529 1 lock held by kworker/R-wg-cr/5877: #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x27/0x420 kernel/workqueue.c:2678 1 lock held by kworker/R-wg-cr/5878: 1 lock held by kworker/R-wg-cr/5879: #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x839/0xea0 kernel/workqueue.c:3529 1 lock held by kworker/R-wg-cr/5880: #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2736 [inline] #0: ffffffff8e2790e8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x839/0xea0 kernel/workqueue.c:3529 3 locks held by kworker/1:3/5881: 4 locks held by kworker/1:5/5883: 2 locks held by kworker/0:4/5884: 3 locks held by kworker/1:6/5901: 3 locks held by kworker/1:7/5902: 3 locks held by kworker/0:5/5913: 7 locks held by kworker/0:6/5920: 2 locks held by syz.0.126/6622: 5 locks held by syz.3.135/6669: 2 locks held by syz.2.140/6689: #0: ffffffff9010ded0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x286/0x5f0 net/core/net_namespace.c:514 #1: ffffffff90123d68 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x21d/0x7d0 net/ipv4/ip_tunnel.c:1160 2 locks held by syz.1.141/6683: #0: ffffffff9010ded0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x286/0x5f0 net/core/net_namespace.c:514 #1: ffffffff90123d68 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1b/0x230 drivers/net/wireguard/device.c:416 4 locks held by syz.0.142/6700: 3 locks held by kworker/0:7/6718: #0: ffff88801b481d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc90003577d18 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffffffff90123d68 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x83/0x1170 net/wireless/reg.c:2483 2 locks held by kworker/u8:11/6719: 4 locks held by rm/6720: 6 locks held by kworker/u8:12/6721: 4 locks held by kworker/u8:13/6722: #0: ffff888059d74148 ((wq_completion)wg-kex-wg0#7){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc900034d7d18 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff888012911308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xec/0x650 drivers/net/wireguard/noise.c:529 #3: ffff8880629f8338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x100/0x650 drivers/net/wireguard/noise.c:530 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-syzkaller-11125-g609706855d90 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline] watchdog+0xf70/0x12c0 kernel/hung_task.c:399 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5920 Comm: kworker/0:6 Not tainted 6.14.0-syzkaller-11125-g609706855d90 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: wg-kex-wg0 wg_packet_handshake_receive_worker RIP: 0010:stack_trace_consume_entry+0xe/0x170 kernel/stacktrace.c:83 Code: ff ff ff eb c7 e8 b2 49 c5 09 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df <55> 53 48 89 fb 48 83 c7 10 48 89 fa 48 c1 ea 03 48 83 ec 08 0f b6 RSP: 0018:ffffc90000007660 EFLAGS: 00000282 RAX: dffffc0000000000 RBX: ffffc90000007668 RCX: ffffc900000075bc RDX: 1ffff92000000ed6 RSI: ffffffff821423c4 RDI: ffffc90000007728 RBP: ffffc900000076f8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000011e85 R12: ffffffff81a6e4a0 R13: ffffc90000007728 R14: 0000000000000000 R15: ffff88807ed63c00 FS: 0000000000000000(0000) GS:ffff8881249da000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3e7cba3200 CR3: 0000000033f82000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x85/0x100 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x51/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2376 [inline] slab_free mm/slub.c:4633 [inline] kmem_cache_free+0x2d4/0x4d0 mm/slub.c:4735 kfree_skbmem+0x1a4/0x1f0 net/core/skbuff.c:1120 __kfree_skb net/core/skbuff.c:1177 [inline] sk_skb_reason_drop+0x136/0x1a0 net/core/skbuff.c:1214 kfree_skb_reason include/linux/skbuff.h:1279 [inline] kfree_skb include/linux/skbuff.h:1288 [inline] ip6_mc_input+0x780/0xfd0 net/ipv6/ip6_input.c:591 dst_input include/net/dst.h:469 [inline] dst_input include/net/dst.h:467 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:79 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ipv6_rcv+0x45a/0x680 net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core+0x12d/0x1e0 net/core/dev.c:5891 __netif_receive_skb+0x1d/0x160 net/core/dev.c:6004 process_backlog+0x442/0x15e0 net/core/dev.c:6356 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7328 napi_poll net/core/dev.c:7392 [inline] net_rx_action+0xa97/0x1010 net/core/dev.c:7514 handle_softirqs+0x216/0x8e0 kernel/softirq.c:579 do_softirq kernel/softirq.c:480 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:467 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:407 local_bh_enable include/linux/bottom_half.h:33 [inline] fpregs_unlock arch/x86/include/asm/fpu/api.h:77 [inline] kernel_fpu_end+0x5e/0x70 arch/x86/kernel/fpu/core.c:460 blake2s_compress+0x7f/0xe0 arch/x86/crypto/blake2s-glue.c:49 blake2s_final+0xc9/0x150 lib/crypto/blake2s.c:54 hmac.constprop.0+0x252/0x420 drivers/net/wireguard/noise.c:325 kdf.constprop.0+0x122/0x280 drivers/net/wireguard/noise.c:360 message_ephemeral+0x5f/0x70 drivers/net/wireguard/noise.c:493 wg_noise_handshake_create_response+0x37c/0x640 drivers/net/wireguard/noise.c:692 wg_packet_send_handshake_response+0xe0/0x310 drivers/net/wireguard/send.c:94 wg_receive_handshake_packet+0x247/0xbf0 drivers/net/wireguard/receive.c:154 wg_packet_handshake_receive_worker+0x17f/0x3a0 drivers/net/wireguard/receive.c:213 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245