INFO: task syz.0.85:7174 blocked for more than 143 seconds. Not tainted 6.12.0-rc3-syzkaller-g86cada34bc3a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.85 state:D stack:0 pid:7174 tgid:7173 ppid:6692 flags:0x00000001 Call trace: __switch_to+0x428/0x860 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5322 [inline] __schedule+0x14bc/0x2718 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6774 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:1097 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:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 INFO: task syz.0.85:7196 blocked for more than 143 seconds. Not tainted 6.12.0-rc3-syzkaller-g86cada34bc3a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.85 state:D stack:0 pid:7196 tgid:7173 ppid:6692 flags:0x00000001 Call trace: __switch_to+0x428/0x860 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5322 [inline] __schedule+0x14bc/0x2718 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6774 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_icreate+0xc8/0x290 fs/xfs/xfs_trans.c:1194 xfs_create+0x588/0xd98 fs/xfs/xfs_inode.c:688 xfs_generic_create+0x468/0xc78 fs/xfs/xfs_iops.c:213 xfs_vn_create+0x44/0x58 fs/xfs/xfs_iops.c:296 lookup_open fs/namei.c:3595 [inline] open_last_lookups fs/namei.c:3694 [inline] path_openat+0x13e4/0x2b14 fs/namei.c:3930 do_filp_open+0x1bc/0x3cc fs/namei.c:3960 do_sys_openat2+0x124/0x1b8 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1441 __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:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 2 locks held by kworker/1:1/27: #0: ffff0000cb07e548 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000979b7c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 1 lock held by khungtaskd/31: #0: ffff80008f9d0520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 3 locks held by kworker/u8:2/34: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff800097f17c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff800092701b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/u8:7/2128: #0: ffff0000d1bcd148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff80009fb47c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff800092701b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by getty/6183: #0: ffff0000d24340a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b7ce2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 3 locks held by syz.0.85/7174: #0: ffff0000de366420 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000efa2a9f0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff0000efa2a9f0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:320 #2: ffff0000de366610 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x170/0x4f4 fs/xfs/xfs_trans.c:1077 3 locks held by syz.0.85/7196: #0: ffff0000de366420 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: open_last_lookups fs/namei.c:3691 [inline] #1: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: path_openat+0x684/0x2b14 fs/namei.c:3930 #2: ffff0000de366610 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_icreate+0xc8/0x290 fs/xfs/xfs_trans.c:1194 2 locks held by syz.0.85/7202: #0: ffff0000de366420 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: open_last_lookups fs/namei.c:3691 [inline] #1: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: path_openat+0x684/0x2b14 fs/namei.c:3930 1 lock held by syz.0.85/7219: #0: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:825 [inline] #0: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: open_last_lookups fs/namei.c:3693 [inline] #0: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: path_openat+0x674/0x2b14 fs/namei.c:3930 2 locks held by syz.0.85/7230: #0: ffff0000de366420 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #1: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: open_last_lookups fs/namei.c:3691 [inline] #1: ffff0000efa2f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: path_openat+0x684/0x2b14 fs/namei.c:3930 4 locks held by kworker/u8:12/7655: #0: ffff0000c1891948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff80009b987c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000926f5650 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:580 #3: ffff800092701b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/8179: #0: ffff800092701b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff800092701b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6672 2 locks held by syz-executor/8185: #0: ffff800092762f10 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:1218 #1: ffff800092701b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.3.267/8467: #0: ffff800092701b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.3.267/8468: #0: ffff800092701b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.0.270/8480: #0: ffff800092701b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.0.270/8482: #0: ffff800092701b68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 =============================================