INFO: task syz.3.199:7429 blocked for more than 143 seconds. Not tainted 6.12.0-rc1-syzkaller-g2d8bce6e34be #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.199 state:D stack:0 pid:7429 tgid:7428 ppid:6999 flags:0x00000001 Call trace: __switch_to+0x428/0x860 arch/arm64/kernel/process.c:697 context_switch kernel/sched/core.c:5315 [inline] __schedule+0x14bc/0x2718 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6767 xlog_grant_head_wait+0x404/0xb9c fs/xfs/xfs_log.c:266 xlog_grant_head_check+0x264/0x434 xfs_log_reserve+0x330/0xa14 fs/xfs/xfs_log.c:436 xfs_trans_reserve+0x1cc/0x57c fs/xfs/xfs_trans.c:195 xfs_trans_alloc+0x410/0x940 fs/xfs/xfs_trans.c:284 xfs_trans_alloc_inode+0x170/0x4f4 fs/xfs/xfs_trans.c:1077 xfs_attr_set+0x748/0x1178 fs/xfs/libxfs/xfs_attr.c:1046 xfs_attr_change+0x254/0x334 fs/xfs/xfs_xattr.c:129 xfs_xattr_set+0x198/0x2cc fs/xfs/xfs_xattr.c:187 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:200 __vfs_setxattr_noperm+0x110/0x578 fs/xattr.c:234 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:295 vfs_setxattr+0x1a8/0x344 fs/xattr.c:321 do_setxattr fs/xattr.c:629 [inline] path_setxattr+0x30c/0x428 fs/xattr.c:658 __do_sys_lsetxattr fs/xattr.c:683 [inline] __se_sys_lsetxattr fs/xattr.c:679 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:679 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:732 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:750 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 INFO: task syz.3.199:7438 blocked for more than 143 seconds. Not tainted 6.12.0-rc1-syzkaller-g2d8bce6e34be #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.199 state:D stack:0 pid:7438 tgid:7428 ppid:6999 flags:0x00000001 Call trace: __switch_to+0x428/0x860 arch/arm64/kernel/process.c:697 context_switch kernel/sched/core.c:5315 [inline] __schedule+0x14bc/0x2718 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6767 xlog_grant_head_wait+0x404/0xb9c fs/xfs/xfs_log.c:266 xlog_grant_head_check+0x264/0x434 xfs_log_reserve+0x330/0xa14 fs/xfs/xfs_log.c:436 xfs_trans_reserve+0x1cc/0x57c fs/xfs/xfs_trans.c:195 xfs_trans_alloc+0x410/0x940 fs/xfs/xfs_trans.c:284 xfs_vn_update_time+0x1d0/0x608 fs/xfs/xfs_iops.c:1083 inode_update_time fs/inode.c:2053 [inline] touch_atime+0x348/0xb10 fs/inode.c:2126 file_accessed include/linux/fs.h:2528 [inline] iterate_dir+0x470/0x648 fs/readdir.c:111 __do_sys_getdents64 fs/readdir.c:407 [inline] __se_sys_getdents64 fs/readdir.c:392 [inline] __arm64_sys_getdents64+0x1c4/0x48c fs/readdir.c:392 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:732 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:750 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff80008f9cf760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 3 locks held by kworker/u8:3/44: #0: ffff0000d1db8948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff800097fb7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by kworker/u8:6/540: #0: ffff0001b3675918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:593 [inline] #0: ffff0001b3675918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1505 [inline] #0: ffff0001b3675918 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1804 [inline] #0: ffff0001b3675918 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2ec/0x2718 kernel/sched/core.c:6575 #1: ffff0001b3660388 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x308/0x618 kernel/sched/psi.c:977 2 locks held by getty/6175: #0: ffff0000d25040a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b7be2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 2 locks held by kworker/1:6/6519: #0: ffff0000edd01548 ((wq_completion)xfs-sync/loop3){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff80009fd17c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 5 locks held by kworker/u8:9/7210: #0: ffff0000c1891948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a39e7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000926f3850 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:580 #3: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 #4: ffff0000ce0f1428 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_netns_pre_exit+0xbc/0x1d4 drivers/net/wireguard/device.c:419 3 locks held by syz.3.199/7429: #0: ffff0000d4f8a420 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000db2712b0 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff0000db2712b0 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:320 #2: ffff0000d4f8a610 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x170/0x4f4 fs/xfs/xfs_trans.c:1077 4 locks held by syz.3.199/7438: #0: ffff0000f47ea9b8 (&f->f_pos_lock){+.+.}-{3:3}, at: fdget_pos+0x214/0x2a0 fs/file.c:1187 #1: ffff0000eea692b0 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: iterate_dir+0x1c4/0x648 fs/readdir.c:101 #2: ffff0000d4f8a420 (sb_writers#14){.+.+}-{0:0}, at: file_accessed include/linux/fs.h:2528 [inline] #2: ffff0000d4f8a420 (sb_writers#14){.+.+}-{0:0}, at: iterate_dir+0x470/0x648 fs/readdir.c:111 #3: ffff0000d4f8a610 (sb_internal#2){.+.+}-{0:0}, at: xfs_vn_update_time+0x1d0/0x608 fs/xfs/xfs_iops.c:1083 1 lock held by syz-executor/8226: #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/8539: #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/8565: #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6643 4 locks held by syz-executor/8864: #0: ffff0000d8826420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff0000d8826420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x354/0xcf4 fs/read_write.c:679 #1: ffff0000f5aecc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000c5542e18 (kn->active#44){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff80009185ede8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 7 locks held by syz-executor/8871: #0: ffff0000d8826420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff0000d8826420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x354/0xcf4 fs/read_write.c:679 #1: ffff0000eccfe888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000c5542e18 (kn->active#44){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff80009185ede8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000f59950e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff0000f59950e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff0000f59950e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x698 drivers/base/dd.c:1293 #5: ffff0000f5996250 (&devlink->lock_key#25){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 =============================================