INFO: task syz.0.21:6759 blocked for more than 145 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.21 state:D stack:0 pid:6759 tgid:6758 ppid:6572 task_flags:0x440140 flags:0x00000011 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5256 [inline] __schedule+0x1250/0x2a7c kernel/sched/core.c:6863 __schedule_loop kernel/sched/core.c:6945 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6960 xlog_grant_head_wait+0x3e8/0xae8 fs/xfs/xfs_log.c:267 xlog_grant_head_check+0x210/0x394 fs/xfs/xfs_log.c:-1 xfs_log_reserve+0x2a4/0x88c fs/xfs/xfs_log.c:437 xfs_trans_reserve fs/xfs/xfs_trans.c:176 [inline] xfs_trans_alloc+0x248/0x898 fs/xfs/xfs_trans.c:258 xfs_trans_alloc_inode+0x108/0x42c fs/xfs/xfs_trans.c:1076 xfs_attr_set+0x6d8/0x1020 fs/xfs/libxfs/xfs_attr.c:1098 xfs_attr_change+0x254/0x334 fs/xfs/xfs_xattr.c:128 xfs_xattr_set+0x120/0x200 fs/xfs/xfs_xattr.c:186 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:200 __vfs_setxattr_noperm+0x120/0x5c4 fs/xattr.c:234 __vfs_setxattr_locked+0x1e8/0x214 fs/xattr.c:295 vfs_setxattr+0x158/0x2a8 fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x20c/0x4f8 fs/xattr.c:665 path_setxattrat+0x2e8/0x320 fs/xattr.c:713 __do_sys_lsetxattr fs/xattr.c:754 [inline] __se_sys_lsetxattr fs/xattr.c:750 [inline] __arm64_sys_lsetxattr+0xc0/0xdc fs/xattr.c:750 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 1 lock held by kthreadd/2: 4 locks held by kworker/0:0/9: #0: ffff0000ca0c4948 ((wq_completion)wg-kex-wg2#4){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff800097cc7be0 ((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+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000ca49d348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x724 drivers/net/wireguard/noise.c:598 #3: ffff0000cd925c60 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x3f0/0x724 drivers/net/wireguard/noise.c:632 3 locks held by kworker/u8:0/12: 2 locks held by kworker/u8:1/13: 2 locks held by kworker/1:0/24: 1 lock held by khungtaskd/32: #0: ffff80008fa5b520 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:3/42: 1 lock held by pr/ttyAMA-1/43: 5 locks held by kworker/u9:0/54: 3 locks held by kworker/u8:4/77: 3 locks held by kworker/u8:5/231: 3 locks held by kworker/u8:6/566: 3 locks held by kworker/u8:7/823: 2 locks held by kworker/1:2/1867: 3 locks held by kworker/u8:8/1916: 3 locks held by kworker/u8:9/2094: #0: ffff0000d5d10948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a1577be0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4168 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by kworker/u8:10/2282: 3 locks held by kworker/u8:11/2390: 3 locks held by kworker/u8:12/2846: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a3407be0 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4168 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:14/2853: 2 locks held by kworker/u8:15/2928: 3 locks held by kworker/u8:16/3078: 3 locks held by kworker/u8:18/4170: #0: ffff0000c0032148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009ef67be0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4168 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 4 locks held by kworker/u8:19/4350: 3 locks held by kworker/u8:20/4481: 3 locks held by kworker/u8:21/5570: 4 locks held by kworker/u8:22/5732: 3 locks held by kworker/u8:23/5790: 2 locks held by udevd/6214: 1 lock held by dhcpcd/6268: 1 lock held by dhcpcd/6269: 1 lock held by crond/6343: 2 locks held by getty/6356: #0: ffff0000dc0580a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800099f1e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfc8 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/6562: 3 locks held by syz-executor/6573: 3 locks held by syz-executor/6578: 1 lock held by syz-executor/6579: 3 locks held by kworker/1:3/6582: 4 locks held by kworker/1:4/6585: 2 locks held by kworker/1:5/6640: 2 locks held by kworker/0:6/6687: 4 locks held by kworker/0:7/6688: #0: ffff0000ca52e548 ((wq_completion)wg-kex-wg2#5){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a1067be0 ((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+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000da6b9348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x130/0x724 drivers/net/wireguard/noise.c:598 #3: ffff0000d8093ea8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x3f0/0x724 drivers/net/wireguard/noise.c:632 4 locks held by kworker/1:8/6689: 3 locks held by syz.0.21/6759: #0: ffff0000c8912420 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:499 #1: ffff0000f7af0330 (&sb->s_type->i_mutex_key#23){++++}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline] #1: ffff0000f7af0330 (&sb->s_type->i_mutex_key#23){++++}-{4:4}, at: vfs_setxattr+0x138/0x2a8 fs/xattr.c:320 #2: ffff0000c8912610 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 4 locks held by kworker/1:9/6789: 2 locks held by kworker/0:8/6843: 1 lock held by syz-executor/7542: 4 locks held by kworker/0:9/7919: #0: ffff0000c0029948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff8000a09e7be0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff800092ae4168 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000d9260788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6363 [inline] #3: ffff0000d9260788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0x98/0x1dc net/wireless/reg.c:3179 2 locks held by kworker/u8:24/8216: 2 locks held by kworker/0:11/8217: 4 locks held by kworker/u8:25/8219: #0: ffff0000ccc48948 ((wq_completion)wg-kex-wg1#9){+.+.}-{0:0}, at: process_one_work+0x63c/0x1558 kernel/workqueue.c:3231 #1: ffff80009d697be0 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x6d0/0x1558 kernel/workqueue.c:3231 #2: ffff0000ce641348 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x10c/0x648 drivers/net/wireguard/noise.c:529 #3: ffff0000d2c88d20 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x114/0x648 drivers/net/wireguard/noise.c:530 3 locks held by kworker/u8:26/8220: 4 locks held by kworker/1:10/8222: 2 locks held by syz-executor/8225: 2 locks held by kworker/1:12/8226: 1 lock held by dhcpcd/8227: =============================================