INFO: task syz.0.163:5143 blocked for more than 143 seconds. Not tainted 6.1.110-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.163 state:D stack:0 pid:5143 ppid:4299 flags:0x00000009 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xef4/0x1d44 kernel/sched/core.c:6558 schedule+0xc4/0x170 kernel/sched/core.c:6634 xlog_grant_head_wait+0x3bc/0xbac fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x218/0x3d8 xfs_log_reserve+0x3a8/0xd20 fs/xfs/xfs_log.c:486 xfs_trans_reserve+0x1f4/0x5e0 fs/xfs/xfs_trans.c:194 xfs_trans_alloc+0x440/0x9d0 fs/xfs/xfs_trans.c:283 xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1191 xfs_attr_set+0x8e8/0x13d0 fs/xfs/libxfs/xfs_attr.c:1024 xfs_attr_change fs/xfs/xfs_xattr.c:106 [inline] xfs_xattr_set+0x1a8/0x30c fs/xfs/xfs_xattr.c:151 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:216 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277 vfs_setxattr+0x1a8/0x344 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x230/0x294 fs/xattr.c:617 path_setxattr+0x17c/0x258 fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:648 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 INFO: task syz.0.163:5199 blocked for more than 143 seconds. Not tainted 6.1.110-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.163 state:D stack:0 pid:5199 ppid:4299 flags:0x00000001 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xef4/0x1d44 kernel/sched/core.c:6558 schedule+0xc4/0x170 kernel/sched/core.c:6634 rwsem_down_write_slowpath+0xc80/0x156c kernel/locking/rwsem.c:1189 __down_write_common kernel/locking/rwsem.c:1314 [inline] __down_write kernel/locking/rwsem.c:1323 [inline] down_write+0x84/0x88 kernel/locking/rwsem.c:1574 inode_lock include/linux/fs.h:758 [inline] vfs_setxattr+0x17c/0x344 fs/xattr.c:308 do_setxattr fs/xattr.c:594 [inline] setxattr+0x230/0x294 fs/xattr.c:617 path_setxattr+0x17c/0x258 fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:648 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 INFO: task syz.0.163:5205 blocked for more than 143 seconds. Not tainted 6.1.110-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.163 state:D stack:0 pid:5205 ppid:4299 flags:0x00000001 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xef4/0x1d44 kernel/sched/core.c:6558 schedule+0xc4/0x170 kernel/sched/core.c:6634 xlog_grant_head_wait+0x3bc/0xbac fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x218/0x3d8 xfs_log_reserve+0x3a8/0xd20 fs/xfs/xfs_log.c:486 xfs_trans_reserve+0x1f4/0x5e0 fs/xfs/xfs_trans.c:194 xfs_trans_alloc+0x440/0x9d0 fs/xfs/xfs_trans.c:283 xfs_trans_alloc_ichange+0xe4/0x4fc fs/xfs/xfs_trans.c:1293 xfs_setattr_nonsize+0x464/0xdcc fs/xfs/xfs_iops.c:708 xfs_vn_setattr+0x2d8/0x398 fs/xfs/xfs_iops.c:1022 notify_change+0xb58/0xe1c fs/attr.c:499 vfs_utimes+0x418/0x674 fs/utimes.c:65 do_utimes_path fs/utimes.c:98 [inline] do_utimes+0x18c/0x264 fs/utimes.c:144 __do_sys_utimensat fs/utimes.c:163 [inline] __se_sys_utimensat fs/utimes.c:147 [inline] __arm64_sys_utimensat+0x144/0x238 fs/utimes.c:147 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015ba50f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff800015ba58f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff800015ba4f20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by getty/4052: #0: ffff0000d6675098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000200112f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1214 drivers/tty/n_tty.c:2198 2 locks held by kworker/1:6/4349: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff8000218b7c20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 4 locks held by kworker/u4:6/4365: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800021d17c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff800017fe6050 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf4/0x994 net/core/net_namespace.c:566 #3: ffff0000d31a13e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x11c/0x2dc drivers/net/wireguard/device.c:249 3 locks held by kworker/1:15/4474: #0: ffff0000d5f84538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff8000222d7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff800017ff1e88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by kworker/0:7/4520: #0: ffff0000f0438d38 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800022ca7c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 3 locks held by kworker/0:8/4521: #0: ffff0000d5f84538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800022c87c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff800017ff1e88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by syz.0.163/5143: #0: ffff0000de4b4460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000f20a9a78 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000f20a9a78 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:308 #2: ffff0000de4b4650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1191 2 locks held by syz.0.163/5199: #0: ffff0000de4b4460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000f20a9a78 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000f20a9a78 (&sb->s_type->i_mutex_key#21){++++}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:308 3 locks held by syz.0.163/5205: #0: ffff0000de4b4460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000f20af778 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000f20af778 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_utimes+0x3c4/0x674 fs/utimes.c:64 #2: ffff0000de4b4650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_ichange+0xe4/0x4fc fs/xfs/xfs_trans.c:1293 3 locks held by kworker/u4:8/5402: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800021d67c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff800017ff1e88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz-executor/5866: #0: ffff800015baa4f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffff800015baa4f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x30c/0x77c kernel/rcu/tree_exp.h:962 3 locks held by syz-executor/5924: #0: ffff800017ff1e88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017ff1e88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 net/core/rtnetlink.c:6118 #1: ffff0000cf5693e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x208/0x420 drivers/net/wireguard/device.c:49 #2: ffff800015baa4f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffff800015baa4f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e0/0x77c kernel/rcu/tree_exp.h:962 4 locks held by syz-executor/6079: 5 locks held by syz-executor/6109: #0: ffff0000d8018460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x91c fs/read_write.c:580 #1: ffff0000d45ea888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cf6b1748 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff8000173b4728 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:209 #4: ffff0000f12ee0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff0000f12ee0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline] #4: ffff0000f12ee0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x724 drivers/base/dd.c:1283 1 lock held by syz.4.339/6156: #0: ffff0000e1748210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000e1748210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff0000e1748210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x80/0x1fc net/socket.c:1400 1 lock held by syz.4.339/6157: #0: ffff800017ff1e88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 =============================================