INFO: task btrfs-transacti:8509 blocked for more than 145 seconds. Not tainted 6.15.0-rc5-syzkaller-gc32f8dc5aaf9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:btrfs-transacti state:D stack:0 pid:8509 tgid:8509 ppid:2 task_flags:0x208040 flags:0x00000010 Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:734 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6860 wait_current_trans+0x2d0/0x468 fs/btrfs/transaction.c:532 start_transaction+0x798/0x1558 fs/btrfs/transaction.c:707 btrfs_attach_transaction+0x30/0x40 fs/btrfs/transaction.c:867 transaction_kthread+0x1a8/0x42c fs/btrfs/disk-io.c:1591 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 Showing all locks held in the system: 1 lock held by kthreadd/2: 2 locks held by kworker/0:0/9: 2 locks held by kworker/0:1/10: 3 locks held by kworker/u8:0/12: 4 locks held by kworker/u8:1/13: 2 locks held by kworker/1:0/24: 3 locks held by kworker/1:1/26: 1 lock held by khungtaskd/32: #0: ffff80008f4f88a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:2/44: 3 locks held by kworker/u8:3/45: 3 locks held by kworker/u8:4/133: 3 locks held by kworker/u8:5/330: 3 locks held by kworker/u8:6/809: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff80009d267bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:7/2051: 3 locks held by kworker/u8:8/2119: 4 locks held by kworker/u8:9/2229: 2 locks held by kworker/0:2/2263: 4 locks held by kworker/R-bat_e/4222: 2 locks held by udevd/6105: 1 lock held by dhcpcd/6159: 3 locks held by dhcpcd/6160: 2 locks held by crond/6234: 2 locks held by getty/6251: #0: ffff0000d2e330a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800098f632f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa0 drivers/tty/n_tty.c:2222 2 locks held by kworker/1:3/6480: 2 locks held by syz-executor/6489: 4 locks held by syz-executor/6494: 2 locks held by syz-executor/6496: 2 locks held by syz-executor/6498: 3 locks held by kworker/0:3/6537: 4 locks held by kworker/1:5/6538: 2 locks held by kworker/1:6/6539: 4 locks held by kworker/0:4/6552: #0: ffff0000cdb80948 ((wq_completion)wg-kex-wg1#10){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff80009f587bc0 ((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+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff0000f0725308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x748 drivers/net/wireguard/noise.c:598 #3: ffff0000cfe320f0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x414/0x748 drivers/net/wireguard/noise.c:632 4 locks held by kworker/0:5/6565: #0: ffff0000d79ac948 ((wq_completion)wg-kex-wg1#8){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff80009f507bc0 ((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+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff0000efe39308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x748 drivers/net/wireguard/noise.c:598 #3: ffff0000f1365c60 (&handshake->lock ){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x414/0x748 drivers/net/wireguard/noise.c:632 2 locks held by kworker/1:7/6566: 3 locks held by kworker/u8:10/6606: 2 locks held by kworker/0:7/6680: 3 locks held by kworker/u8:11/6806: 1 lock held by udevd/7201: 3 locks held by kworker/u8:12/7247: 4 locks held by kworker/u8:13/7306: 1 lock held by kworker/R-bond1/7466: #0: ffff80008f3a0ee8 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x348 kernel/workqueue.c:2678 11 locks held by syz.2.441/8480: 2 locks held by udevadm/8490: 1 lock held by btrfs-transacti/8509: #0: ffff0000fc00c7c0 (&fs_info->transaction_kthread_mutex){+.+.}-{4:4}, at: transaction_kthread+0xc4/0x42c fs/btrfs/disk-io.c:1568 4 locks held by kworker/u8:14/8518: 3 locks held by kworker/u8:15/8519: 4 locks held by kworker/u8:16/8520: 3 locks held by syz-executor/8521: 3 locks held by kworker/u8:17/8522: 1 lock held by kworker/u8:18/8523: =============================================