INFO: task syz.4.6:6674 blocked for more than 145 seconds. Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.6 state:D stack:0 pid:6674 tgid:6673 ppid:6549 task_flags:0x400140 flags:0x00800019 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 schedule_timeout+0xac/0x270 kernel/time/sleep_timeout.c:75 ___down_common+0x23c/0x374 kernel/locking/semaphore.c:268 __down_common+0xc0/0x3a4 kernel/locking/semaphore.c:293 __down+0x18/0x24 kernel/locking/semaphore.c:303 down+0x94/0xe8 kernel/locking/semaphore.c:100 bch2_run_recovery_passes+0x164/0x1f4 fs/bcachefs/recovery_passes.c:609 bch2_fs_recovery+0x1df4/0x2fb4 fs/bcachefs/recovery.c:1050 bch2_fs_start+0x940/0xbec fs/bcachefs/super.c:1213 bch2_fs_get_tree+0x880/0x107c fs/bcachefs/fs.c:2488 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 4 locks held by kworker/0:1/10: #0: ffff0000f16e9148 ((wq_completion)wg-kex-wg2#4){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff800097bf7bc0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000c3065308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_response+0x180/0x988 drivers/net/wireguard/noise.c:742 #3: ffff0000c93e8d20 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_response+0x20c/0x988 drivers/net/wireguard/noise.c:753 3 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/14: 2 locks held by kworker/1:0/24: 2 locks held by kworker/1:1/26: 1 lock held by khungtaskd/32: #0: ffff80008f9a9060 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:2/41: #0: ffff0000d2442148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff800099277bc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092a58268 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 6 locks held by kworker/u8:3/42: 2 locks held by pr/ttyAMA-1/43: 3 locks held by kworker/u8:4/302: 4 locks held by kworker/u8:5/1218: 3 locks held by kworker/u8:6/1813: 2 locks held by kworker/1:2/2310: 2 locks held by kworker/0:2/4192: 3 locks held by kworker/u8:7/5160: 2 locks held by udevd/6165: 2 locks held by getty/6309: #0: ffff0000d7e7a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bbae2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/6538: 4 locks held by syz-executor/6548: 4 locks held by syz-executor/6555: 2 locks held by kworker/1:3/6556: 1 lock held by kworker/R-wg-cr/6594: #0: ffff80008f850e28 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008f850e28 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x86c/0xec8 kernel/workqueue.c:3529 1 lock held by kworker/R-wg-cr/6598: 3 locks held by kworker/u8:8/6894: 2 locks held by kworker/1:5/6908: 3 locks held by syz-executor/6975: 1 lock held by kworker/R-wg-cr/6997: 3 locks held by kworker/u8:9/7025: 2 locks held by kworker/u8:10/7030: 4 locks held by kworker/u8:11/7505: 3 locks held by kworker/u8:12/7507: 3 locks held by kworker/u8:13/7510: 4 locks held by kworker/u8:14/7515: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a5507bc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092a58268 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff000109cb8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6212 [inline] #3: ffff000109cb8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_leave_invalid_chans net/wireless/reg.c:2471 [inline] #3: ffff000109cb8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_check_chans_work+0x11c/0xdb0 net/wireless/reg.c:2486 2 locks held by syz.2.661/9432: 1 lock held by syz.0.666/9456: =============================================