INFO: task syz.0.4753:3985 blocked for more than 142 seconds. Not tainted 6.14.0-rc1-syzkaller-00034-g92514ef226f5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.4753 state:D stack:24128 pid:3985 tgid:3985 ppid:30925 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6913 __mutex_lock_common kernel/locking/mutex.c:662 [inline] __mutex_lock+0x817/0x1010 kernel/locking/mutex.c:730 tun_detach drivers/net/tun.c:702 [inline] tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3521 __fput+0x3e9/0x9f0 fs/file_table.c:448 task_work_run+0x24f/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f392378cde9 RSP: 002b:00007f3923acfb88 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f39239a7ba0 RCX: 00007f392378cde9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f39239a7ba0 R08: 0000000000000214 R09: 0000001e23acfe7f R10: 00007f39239a7ac0 R11: 0000000000000246 R12: 000000000013a177 R13: 00007f39239a6080 R14: ffffffffffffffff R15: 00007f3923acfca0 INFO: task syz-executor:3998 blocked for more than 143 seconds. Not tainted 6.14.0-rc1-syzkaller-00034-g92514ef226f5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:26160 pid:3998 tgid:3998 ppid:1 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5377 [inline] __schedule+0x190e/0x4c90 kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6856 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6913 __mutex_lock_common kernel/locking/mutex.c:662 [inline] __mutex_lock+0x817/0x1010 kernel/locking/mutex.c:730 register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3878 ops_init+0x31e/0x590 net/core/net_namespace.c:138 setup_net+0x287/0x9e0 net/core/net_namespace.c:362 copy_net_ns+0x33f/0x570 net/core/net_namespace.c:516 create_new_namespaces+0x425/0x7b0 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x124/0x180 kernel/nsproxy.c:228 ksys_unshare+0x57d/0xa70 kernel/fork.c:3342 __do_sys_unshare kernel/fork.c:3413 [inline] __se_sys_unshare kernel/fork.c:3411 [inline] __x64_sys_unshare+0x38/0x40 kernel/fork.c:3411 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7646d8e5e7 RSP: 002b:00007f76470cffa8 EFLAGS: 00000206 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f7646e0fbd1 RCX: 00007f7646d8e5e7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 0000000000000000 R08: 00007f7647ad7d60 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000008 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000 Showing all locks held in the system: 4 locks held by kworker/0:0/8: #0: ffff8880366ae548 ((wq_completion)wg-kex-wg0#100){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff8880366ae548 ((wq_completion)wg-kex-wg0#100){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900000d7c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900000d7c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff888065d65308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x156/0xf70 drivers/net/wireguard/noise.c:598 #3: ffff88805b64ebb8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x844/0xf70 drivers/net/wireguard/noise.c:632 3 locks held by kworker/u8:0/11: 4 locks held by kworker/1:0/25: 1 lock held by khungtaskd/30: #0: ffffffff8e9387e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e9387e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e9387e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746 4 locks held by kworker/1:1/46: 4 locks held by kworker/0:2/974: #0: ffff88806aa76d48 ((wq_completion)wg-kex-wg0#88){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88806aa76d48 ((wq_completion)wg-kex-wg0#88){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc90003dc7c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90003dc7c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff8880365c5308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x156/0xf70 drivers/net/wireguard/noise.c:598 #3: ffff888058986bb8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x844/0xf70 drivers/net/wireguard/noise.c:632 4 locks held by kworker/u8:5/1143: #0: ffff888023315148 ((wq_completion)wg-kex-wg2#13){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff888023315148 ((wq_completion)wg-kex-wg2#13){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000443fc60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000443fc60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff88802bf69308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x120/0xf30 drivers/net/wireguard/noise.c:529 #3: ffff88801cfc58b8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x132/0xf30 drivers/net/wireguard/noise.c:530 4 locks held by kworker/1:2/3077: 1 lock held by dhcpcd/5504: #0: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:129 [inline] #0: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x47e/0x1bd0 net/ipv4/devinet.c:987 2 locks held by getty/5588: #0: ffff8880352ca0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by kworker/1:3/5841: 4 locks held by kworker/1:5/5892: 4 locks held by kworker/0:4/5894: #0: ffff88807c823148 ((wq_completion)wg-kex-wg2#34){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88807c823148 ((wq_completion)wg-kex-wg2#34){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000439fc60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000439fc60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff888035659308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x156/0xf70 drivers/net/wireguard/noise.c:598 #3: ffff88804ac68cb8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x844/0xf70 drivers/net/wireguard/noise.c:632 3 locks held by kworker/0:5/5895: #0: ffff88801ac80d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801ac80d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900043afc60 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900043afc60 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 3 locks held by kworker/0:6/5953: #0: ffff88801ac81d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801ac81d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900045bfc60 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900045bfc60 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x99/0xfb0 net/wireless/reg.c:2480 2 locks held by kworker/R-wg-cr/7114: #0: ffff8880b863e958 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:606 #1: ffff8880b8728948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 4 locks held by kworker/1:8/8119: 4 locks held by kworker/u8:12/8198: #0: ffff888060e32148 ((wq_completion)wg-kex-wg0#99){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff888060e32148 ((wq_completion)wg-kex-wg0#99){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900034e7c60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900034e7c60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff888065d65308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x120/0xf30 drivers/net/wireguard/noise.c:529 #3: ffff88805b64ebb8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x132/0xf30 drivers/net/wireguard/noise.c:530 4 locks held by kworker/0:7/10016: #0: ffff888033c01d48 ((wq_completion)wg-kex-wg0#34){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff888033c01d48 ((wq_completion)wg-kex-wg0#34){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000ba9fc60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000ba9fc60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff888012c8d308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x156/0xf70 drivers/net/wireguard/noise.c:598 #3: ffff8880526bd8b8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x844/0xf70 drivers/net/wireguard/noise.c:632 4 locks held by kworker/u8:14/24042: #0: ffff888060b03148 ((wq_completion)wg-kex-wg0#33){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff888060b03148 ((wq_completion)wg-kex-wg0#33){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc90002e27c60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90002e27c60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff888012c8d308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x120/0xf30 drivers/net/wireguard/noise.c:529 #3: ffff8880526bd8b8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x132/0xf30 drivers/net/wireguard/noise.c:530 4 locks held by kworker/1:6/24255: 2 locks held by kworker/u8:22/29514: 3 locks held by kworker/u8:24/29516: #0: ffff88803026e148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88803026e148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc90004ad7c60 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90004ad7c60 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:129 [inline] #2: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4730 4 locks held by kworker/0:1/29548: #0: ffff88805aa48148 ((wq_completion)wg-kex-wg2#14){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88805aa48148 ((wq_completion)wg-kex-wg2#14){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000b997c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000b997c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff88802bf69308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x156/0xf70 drivers/net/wireguard/noise.c:598 #3: ffff88801cfc58b8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x844/0xf70 drivers/net/wireguard/noise.c:632 1 lock held by kworker/R-wg-cr/30991: 4 locks held by kworker/0:9/31106: #0: ffff88802132b148 ((wq_completion)wg-kex-wg1#64){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88802132b148 ((wq_completion)wg-kex-wg1#64){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc90003c27c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90003c27c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff88806370d308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x156/0xf70 drivers/net/wireguard/noise.c:598 #3: ffff88804ac11fb8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x844/0xf70 drivers/net/wireguard/noise.c:632 3 locks held by syz.3.4175/32688: #0: ffff88805b790d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] #0: ffff88805b790d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2677 #1: ffff88805b790078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5185 #2: ffffffff8e93dcb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:334 [inline] #2: ffffffff8e93dcb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:996 1 lock held by syz-executor/441: #0: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:702 [inline] #0: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3521 5 locks held by kworker/u8:27/2510: #0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900034f7c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900034f7c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fcb3c10 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17a/0xd60 net/core/net_namespace.c:606 #3: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: cleanup_net+0x6bf/0xd60 net/core/net_namespace.c:642 #4: ffffffff8e93dcb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:302 [inline] #4: ffffffff8e93dcb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:996 2 locks held by syz-executor/2704: #0: ffff88806c18cd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] #0: ffff88806c18cd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2677 #1: ffff88806c18c078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5185 1 lock held by syz.0.4753/3985: #0: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:702 [inline] #0: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3521 2 locks held by syz-executor/3998: #0: ffffffff8fcb3c10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:512 #1: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3878 5 locks held by kworker/1:4/4010: 4 locks held by kworker/u8:29/4011: #0: ffff888024b83948 ((wq_completion)wg-kex-wg2#33){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff888024b83948 ((wq_completion)wg-kex-wg2#33){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000485fc60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000485fc60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff888035659308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x120/0xf30 drivers/net/wireguard/noise.c:529 #3: ffff88804ac68cb8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x132/0xf30 drivers/net/wireguard/noise.c:530 4 locks held by kworker/1:7/4013: 4 locks held by kworker/u8:30/4014: #0: ffff88805ba33148 ((wq_completion)wg-kex-wg1#63){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88805ba33148 ((wq_completion)wg-kex-wg1#63){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000496fc60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000496fc60 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff88806370d308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x120/0xf30 drivers/net/wireguard/noise.c:529 #3: ffff88804ac11fb8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x132/0xf30 drivers/net/wireguard/noise.c:530 2 locks held by syz-executor/4024: #0: ffffffff8fcb3c10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:512 #1: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3878 2 locks held by syz-executor/4027: #0: ffffffff8fcb3c10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:512 #1: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3878 2 locks held by syz-executor/4028: #0: ffffffff8fcb3c10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:512 #1: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3878 2 locks held by syz-executor/4032: #0: ffffffff8fcb3c10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:512 #1: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3878 2 locks held by syz-executor/4033: #0: ffffffff8fcb3c10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:512 #1: ffffffff8fcc0188 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3878 3 locks held by kworker/1:9/4034: 4 locks held by kworker/0:11/4035: #0: ffff888033919948 ((wq_completion)wg-kex-wg0#68){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff888033919948 ((wq_completion)wg-kex-wg0#68){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900049f7c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900049f7c60 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((typeof(*((worker))) *)(( unsigned long)((worker)))); (typeof((typeof(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff888060331308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x156/0xf70 drivers/net/wireguard/noise.c:598 #3: ffff8880526b8338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x844/0xf70 drivers/net/wireguard/noise.c:632 3 locks held by kworker/1:10/4036: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.14.0-rc1-syzkaller-00034-g92514ef226f5 #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+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:399 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 4036 Comm: kworker/1:10 Not tainted 6.14.0-rc1-syzkaller-00034-g92514ef226f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:kasan_check_range+0xc/0x290 mm/kasan/generic.c:188 Code: 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 41 57 41 56 41 54 53 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39 f8 0f 82 56 02 RSP: 0000:ffffc90000a18510 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff819ab924 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff901b5170 RBP: ffffc90000a18688 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff8a9253e0 R12: 1ffff920001430b0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff8a92aeb0 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c01eff8 CR3: 000000000e738000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:570 [inline] cpu_online include/linux/cpumask.h:1116 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xd4/0x550 kernel/locking/lockdep.c:5822 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] nf_hook include/linux/netfilter.h:238 [inline] NF_HOOK+0xbb/0x450 include/linux/netfilter.h:312 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5828 [inline] __netif_receive_skb+0x1ea/0x650 net/core/dev.c:5941 process_backlog+0x662/0x15b0 net/core/dev.c:6289 __napi_poll+0xcb/0x490 net/core/dev.c:7106 napi_poll net/core/dev.c:7175 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7297 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:put_cpu_partial+0x1b4/0x250 mm/slub.c:3227 Code: 0f 85 b4 00 00 00 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 e8 95 da 09 f7 c3 00 02 00 00 74 bc fb 4d 85 e4 <75> bb eb c4 90 e8 52 0d ca 02 85 c0 74 22 83 3d 5b 60 00 0e 00 75 RSP: 0000:ffffc9000442fa28 EFLAGS: 00000286 RAX: 9e3397ed7b3a0000 RBX: 0000000000000286 RCX: ffffffff819b316a RDX: dffffc0000000000 RSI: ffffffff8c0aa680 RDI: ffffffff8c608a00 RBP: 0000000000000001 R08: ffffffff942f9877 R09: 1ffffffff285f30e R10: dffffc0000000000 R11: fffffbfff285f30f R12: ffffea0000f57200 R13: ffffea0001659e00 R14: ffff888063580000 R15: ffff88801ac42140 __slab_free+0x290/0x380 mm/slub.c:4479 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4115 [inline] slab_alloc_node mm/slub.c:4164 [inline] __kmalloc_cache_node_noprof+0x1ec/0x3a0 mm/slub.c:4333 kmalloc_node_noprof include/linux/slab.h:924 [inline] alloc_worker kernel/workqueue.c:2645 [inline] create_worker+0x11b/0x720 kernel/workqueue.c:2788 maybe_create_worker kernel/workqueue.c:3061 [inline] manage_workers kernel/workqueue.c:3113 [inline] worker_thread+0x318/0xd30 kernel/workqueue.c:3373 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244