INFO: task syz.1.718:7850 blocked for more than 145 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.718 state:D stack:0 pid:7850 tgid:7846 ppid:4711 task_flags:0x400040 flags:0x00800001 Call trace: __switch_to+0x2b0/0x6e0 arch/arm64/kernel/process.c:775 (T) context_switch kernel/sched/core.c:5510 [inline] __schedule+0x1370/0x2d80 kernel/sched/core.c:7234 __schedule_loop kernel/sched/core.c:7311 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7326 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7383 __mutex_lock_common kernel/locking/mutex.c:726 [inline] __mutex_lock+0x4ec/0xf14 kernel/locking/mutex.c:821 mutex_lock_nested+0x24/0x30 kernel/locking/mutex.c:874 fdget_pos+0x100/0x144 fs/file.c:1259 class_fd_pos_constructor include/linux/file.h:85 [inline] ksys_write+0x8c/0x228 fs/read_write.c:730 __do_sys_write fs/read_write.c:750 [inline] __se_sys_write fs/read_write.c:747 [inline] __arm64_sys_write+0x84/0x98 fs/read_write.c:747 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:736 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:755 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 Showing all locks held in the system: 1 lock held by kthreadd/2: 4 locks held by kworker/0:0/9: #0: ffff0000d9184140 ((wq_completion)wg-kex-wg2#6){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000d9184140 ((wq_completion)wg-kex-wg2#6){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff80008ec27c40 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff80008ec27c40 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ((typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))))((unsigned long)((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))) + (((__per_cpu_offset[(cpu)]))))); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff0000d643d440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x134/0x53c drivers/net/wireguard/noise.c:598 #3: ffff0000d785c888 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x208/0x53c drivers/net/wireguard/noise.c:632 3 locks held by kworker/0:1/10: 4 locks held by kworker/u8:0/12: #0: ffff0000cd05d140 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000cd05d140 ((wq_completion)wg-kex-wg1#5){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff80008ec57c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff80008ec57c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff0000d5bb1440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xe8/0x484 drivers/net/wireguard/noise.c:529 #3: ffff0000d785d270 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xf0/0x484 drivers/net/wireguard/noise.c:530 4 locks held by kworker/u8:1/15: 1 lock held by khungtaskd/31: #0: ffff800088cf7020 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffff800088cf7020 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #0: ffff800088cf7020 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6775 4 locks held by kworker/u8:2/39: #0: ffff0000c004b940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000c004b940 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800090197c40 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800090197c40 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff800089dd3dc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000d3c707a0 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6884 [inline] #3: ffff0000d3c707a0 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_leave_invalid_chans net/wireless/reg.c:2457 [inline] #3: ffff0000d3c707a0 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_check_chans_work+0x13c/0x10e8 net/wireless/reg.c:2472 4 locks held by kworker/u8:3/40: 1 lock held by pr/ttyAMA-1/41: 6 locks held by kworker/u9:0/50: #0: ffff0000cf351140 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000cf351140 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800090247c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800090247c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff0000d9428ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x178/0x374 net/bluetooth/hci_sync.c:331 #3: ffff0000d94280b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d8/0x938 net/bluetooth/hci_sync.c:5831 #4: ffff800089f35ec0 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2134 [inline] #4: ffff800089f35ec0 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x334 net/bluetooth/hci_conn.c:1408 #5: ffff0000db8e62f8 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x90/0x408 net/bluetooth/l2cap_core.c:1808 3 locks held by kworker/u8:4/710: 2 locks held by kworker/u8:5/1220: 2 locks held by kworker/u8:6/1358: 3 locks held by kworker/u8:7/1405: 2 locks held by kworker/R-bat_e/2852: 7 locks held by kworker/u8:8/3974: 1 lock held by klogd/4333: 2 locks held by udevd/4344: 1 lock held by dhcpcd/4398: 1 lock held by dhcpcd/4399: 2 locks held by kworker/0:1H/4406: #0: ffff0000c1f0e140 ((wq_completion)kblockd){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000c1f0e140 ((wq_completion)kblockd){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800097967c40 ((work_completion)(&q->timeout_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800097967c40 ((work_completion)(&q->timeout_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 1 lock held by crond/4475: 2 locks held by getty/4492: #0: ffff0000cddeb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000924cb2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x348/0xf78 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/4698: 1 lock held by udevd/4703: 1 lock held by udevd/4704: 5 locks held by kworker/u9:2/4723: #0: ffff0000d2d8b140 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000d2d8b140 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800097607c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800097607c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff0000cf888ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x178/0x374 net/bluetooth/hci_sync.c:331 #3: ffff0000cf8880b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d8/0x938 net/bluetooth/hci_sync.c:5831 #4: ffff800089f35ec0 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2134 [inline] #4: ffff800089f35ec0 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x334 net/bluetooth/hci_conn.c:1408 5 locks held by kworker/u9:4/4725: #0: ffff0000d6538940 ((wq_completion)hci4){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000d6538940 ((wq_completion)hci4){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff8000975e7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff8000975e7c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff00010febcea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x178/0x374 net/bluetooth/hci_sync.c:331 #3: ffff00010febc0b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d8/0x938 net/bluetooth/hci_sync.c:5831 #4: ffff800089f35ec0 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2134 [inline] #4: ffff800089f35ec0 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x334 net/bluetooth/hci_conn.c:1408 5 locks held by kworker/u9:7/4728: #0: ffff0000ca8c0140 ((wq_completion)hci2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000ca8c0140 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800093417c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800093417c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff0000f4b50ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x178/0x374 net/bluetooth/hci_sync.c:331 #3: ffff0000f4b500b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d8/0x938 net/bluetooth/hci_sync.c:5831 #4: ffff800089f35ec0 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2134 [inline] #4: ffff800089f35ec0 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x334 net/bluetooth/hci_conn.c:1408 4 locks held by kworker/u9:8/4730: #0: ffff0000cf353140 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000cf353140 ((wq_completion)hci0){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800093457c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800093457c40 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff0000da9c8ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x178/0x374 net/bluetooth/hci_sync.c:331 #3: ffff0000da9c80b8 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1d8/0x938 net/bluetooth/hci_sync.c:5831 3 locks held by kworker/0:3/4800: 4 locks held by kworker/0:4/4813: 2 locks held by kworker/0:5/4820: #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000c002b540 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800093307c40 (key_gc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800093307c40 (key_gc_work){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 3 locks held by kworker/0:6/4821: 2 locks held by kworker/u8:9/4952: 1 lock held by udevd/5011: 1 lock held by kworker/u8:10/6552: 3 locks held by kworker/u8:11/7217: 3 locks held by kworker/u8:12/7218: 3 locks held by kworker/u8:13/7219: 3 locks held by kworker/u8:14/7220: 3 locks held by kworker/u8:15/7221: 2 locks held by kworker/u8:16/7222: 3 locks held by kworker/u8:17/7223: 3 locks held by kworker/u8:18/7224: 3 locks held by kworker/u8:19/7225: 3 locks held by kworker/u8:20/7227: #0: ffff0000ce8a2940 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #0: ffff0000ce8a2940 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x734/0x10b8 kernel/workqueue.c:3405 #1: ffff800095ac7c40 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline] #1: ffff800095ac7c40 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x73c/0x10b8 kernel/workqueue.c:3405 #2: ffff800089dd3dc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by kworker/u8:21/7228: 3 locks held by kworker/u8:22/7229: 1 lock held by syz-executor/7283: 1 lock held by kmmpd-loop0/7515: #0: ffff0000c9e22450 (sb_writers#3){.+.+}-{0:0}, at: kmmpd+0x2fc/0x938 fs/ext4/mmp.c:173 1 lock held by syz.0.710/7817: #0: ffff800088cfc628 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #0: ffff800088cfc628 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x340/0x66c kernel/rcu/tree_exp.h:961 7 locks held by syz.1.718/7847: 1 lock held by syz.1.718/7850: #0: ffff0000d2ecd430 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x100/0x144 fs/file.c:1259 1 lock held by syz.4.721/7861: 2 locks held by syz.6.722/7864: =============================================