INFO: task kworker/R-wg-cr:7298 blocked for more than 143 seconds. Not tainted 6.9.0-rc7-next-20240506-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/R-wg-cr state:D stack:29392 pid:7298 tgid:7298 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 set_pf_worker kernel/workqueue.c:3318 [inline] rescuer_thread+0xd0/0xda0 kernel/workqueue.c:3445 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task kworker/R-wg-cr:7299 blocked for more than 145 seconds. Not tainted 6.9.0-rc7-next-20240506-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/R-wg-cr state:D stack:29392 pid:7299 tgid:7299 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 set_pf_worker kernel/workqueue.c:3318 [inline] rescuer_thread+0xd0/0xda0 kernel/workqueue.c:3445 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 3 locks held by kworker/0:0/8: #0: ffff8880b943e7d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffff8880b9428948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 #2: ffff8880b942b7d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 kernel/time/timer.c:1051 3 locks held by kworker/0:1/9: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900000e7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5e5448 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by kworker/u8:0/11: 3 locks held by kworker/u8:1/12: #0: ffff88802aa59948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000117d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90000117d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5e5448 (rtnl_mutex ){+.+.}-{3:3} , at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 1 lock held by kworker/R-mm_pe/13: 2 locks held by migration/1/23: 6 locks held by kworker/1:0/25: 1 lock held by khungtaskd/30: #0: ffffffff8e333da0 ( rcu_read_lock){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:327 [inline] , at: rcu_read_lock include/linux/rcupdate.h:839 [inline] , at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/1:1/45: 2 locks held by kworker/1:2/58: 3 locks held by kworker/u8:7/2412: #0: ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90009877d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5d8c10 ( pernet_ops_rwsem ){++++}-{3:3} , at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:591 3 locks held by kworker/u8:8/2421: 2 locks held by getty/4851: #0: ffff88802b01a0a0 ( &tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by kworker/1:3/5111: 1 lock held by kworker/u9:4/5115: #0: ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:3318 [inline] ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_thread+0xc24/0xd70 kernel/workqueue.c:3351 4 locks held by kworker/0:3/5117: #0: ffff88802e6ead48 ((wq_completion)wg-kex-wg1#16){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ((wq_completion)wg-kex-wg1#16){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003777d00 ( (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))) *)((worker))); (typeof((typeof(*((worker))) *)((worker)))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] (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))) *)((worker))); (typeof((typeof(*((worker))) *)((worker)))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88807b635228 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x156/0xf70 drivers/net/wireguard/noise.c:598 #3: ffff88802d406a58 ( &handshake->lock ){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x844/0xf70 drivers/net/wireguard/noise.c:632 1 lock held by kworker/u9:6/5121: #0: ffffffff8e1de948 ( wq_pool_attach_mutex){+.+.}-{3:3} , at: set_pf_worker kernel/workqueue.c:3318 [inline] , at: worker_thread+0xc24/0xd70 kernel/workqueue.c:3351 2 locks held by kworker/1:4/5157: 2 locks held by kworker/1:5/5158: 4 locks held by kworker/1:6/5161: 4 locks held by kworker/0:7/5189: #0: ffff88802c0c4d48 ( (wq_completion)wg-kex-wg2 #16 ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000400fd00 ((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))) *)((worker))); (typeof((typeof(*((worker))) *)((worker)))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000400fd00 ((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))) *)((worker))); (typeof((typeof(*((worker))) *)((worker)))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88806a961228 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x156/0xf70 drivers/net/wireguard/noise.c:598 #3: ffff88802d4073b8 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_consume_initiation+0x844/0xf70 drivers/net/wireguard/noise.c:632 2 locks held by kworker/0:8/5190: #0: ffff888015080948 ( (wq_completion)events ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000401fd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000401fd00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 1 lock held by kworker/R-bond0/5330: #0: ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:3318 [inline] ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0xccb/0xda0 kernel/workqueue.c:3537 1 lock held by kworker/R-wg-cr/5664: 1 lock held by kworker/R-wg-cr/5665: #0: ffffffff8e1de948 ( wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool+0x85/0x2f0 kernel/workqueue.c:2728 1 lock held by kworker/R-wg-cr/5667: #0: ffffffff8e1de948 ( wq_pool_attach_mutex ){+.+.}-{3:3}, at: worker_detach_from_pool+0x85/0x2f0 kernel/workqueue.c:2728 1 lock held by kworker/R-wg-cr/5814: #0: ffffffff8e1de948 (wq_pool_attach_mutex ){+.+.}-{3:3} , at: worker_detach_from_pool+0x85/0x2f0 kernel/workqueue.c:2728 4 locks held by udevd/6770: #0: ffff88807d555b08 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182 #1: ffff88802dfa5088 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff888068ff73c8 (kn->active#24){.+.+}-{0:0} , at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88807c9b3190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:995 [inline] #3: ffff88807c9b3190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 4 locks held by kworker/1:7/7296: 3 locks held by syz-executor.2/7304: #0: ffff888024bf9060 ( &hdev->req_lock ){+.+.}-{3:3} , at: hci_dev_do_close net/bluetooth/hci_core.c:559 [inline] , at: hci_unregister_dev+0x1d3/0x4e0 net/bluetooth/hci_core.c:2778 #1: ffff888024bf8078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48b/0x1050 net/bluetooth/hci_sync.c:5134 #2: ffffffff8f74ee48 ( hci_cb_list_lock){+.+.}-{3:3} , at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2036 [inline] , at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2561 1 lock held by kworker/R-bond0/7308: #0: ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:3318 [inline] ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0xd0/0xda0 kernel/workqueue.c:3445 1 lock held by kworker/R-bond0/7309: #0: ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:3318 [inline] #0: ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0xd0/0xda0 kernel/workqueue.c:3445 1 lock held by kworker/R-wg-cr/7312: #0: ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:3318 [inline] (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0xd0/0xda0 kernel/workqueue.c:3445 1 lock held by kworker/R-wg-cr/7313: #0: ffffffff8e1de948 ( wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:3318 [inline] wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0xd0/0xda0 kernel/workqueue.c:3445 1 lock held by kworker/R-wg-cr/7314: #0: ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:3318 [inline] #0: ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0xd0/0xda0 kernel/workqueue.c:3445 1 lock held by kworker/R-wg-cr/7315: #0: ffffffff8e1de948 ( wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:3318 [inline] wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0xd0/0xda0 kernel/workqueue.c:3445 1 lock held by kworker/R-wg-cr/7316: #0: ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:3318 [inline] #0: ffffffff8e1de948 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0xd0/0xda0 kernel/workqueue.c:3445 1 lock held by kworker/R-wg-cr/7317: #0: ffffffff8e1de948 ( wq_pool_attach_mutex ){+.+.}-{3:3}, at: set_pf_worker kernel/workqueue.c:3318 [inline] ){+.+.}-{3:3}, at: rescuer_thread+0xd0/0xda0 kernel/workqueue.c:3445 3 locks held by syz-executor.3/7319: #0: ffff88804f8dd060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:559 [inline] (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1d3/0x4e0 net/bluetooth/hci_core.c:2778 #1: ffff88804f8dc078 ( &hdev->lock ){+.+.}-{3:3} , at: hci_dev_close_sync+0x48b/0x1050 net/bluetooth/hci_sync.c:5134 #2: ffffffff8f74ee48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2036 [inline] #2: ffffffff8f74ee48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2561 3 locks held by syz-executor.1/7322: #0: ffff888051f2d060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:559 [inline] (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1d3/0x4e0 net/bluetooth/hci_core.c:2778 #1: ffff888051f2c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48b/0x1050 net/bluetooth/hci_sync.c:5134 #2: ffffffff8e339178 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:939 4 locks held by syz-executor.0/7326: #0: ffff8880555d9060 ( &hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:559 [inline] &hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1d3/0x4e0 net/bluetooth/hci_core.c:2778 #1: ffff8880555d8078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48b/0x1050 net/bluetooth/hci_sync.c:5134 #2: ffffffff8f74ee48 (hci_cb_list_lock){+.+.}-{3:3} , at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2036 [inline] , at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2561 #3: ffffffff8e339178 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:939 3 locks held by syz-executor.2/7347: #0: ffff888058da1060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:559 [inline] #0: ffff888058da1060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1d3/0x4e0 net/bluetooth/hci_core.c:2778 #1: ffff888058da0078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48b/0x1050 net/bluetooth/hci_sync.c:5134 #2: ffffffff8f74ee48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2036 [inline] #2: ffffffff8f74ee48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2561 3 locks held by syz-executor.4/7348: #0: ffff888058da5060 ( &hdev->req_lock){+.+.}-{3:3} , at: hci_dev_do_close net/bluetooth/hci_core.c:559 [inline] , at: hci_unregister_dev+0x1d3/0x4e0 net/bluetooth/hci_core.c:2778 #1: ffff888058da4078 ( &hdev->lock ){+.+.}-{3:3} , at: hci_dev_close_sync+0x48b/0x1050 net/bluetooth/hci_sync.c:5134 #2: ffffffff8f74ee48 ( hci_cb_list_lock ){+.+.}-{3:3} , at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2036 [inline] , at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2561 2 locks held by kworker/1:8/7351: 1 lock held by syz-executor.3/7353: #0: ffffffff8f5e5448 ( rtnl_mutex){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6576 1 lock held by syz-executor.1/7358: #0: ffffffff8f5e5448 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] (rtnl_mutex){+.+.}-{3:3}, at: __rtnl_newlink net/core/rtnetlink.c:3704 [inline] (rtnl_mutex){+.+.}-{3:3}, at: rtnl_newlink+0xab5/0x20a0 net/core/rtnetlink.c:3727 1 lock held by kworker/1:9/7361: 1 lock held by syz-executor.0/7366: #0: ffffffff8f5e5448