INFO: task syz-executor.4:4309 blocked for more than 143 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack: 0 pid: 4309 ppid: 3978 flags:0x0000000d Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6376 schedule+0x11c/0x1c8 kernel/sched/core.c:6459 xlog_grant_head_wait+0x390/0xa88 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x218/0x3d8 xfs_log_reserve+0x384/0xc1c fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x1e8/0x5a4 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x4c4/0xaa4 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1047 xfs_attr_set+0x73c/0x11e0 fs/xfs/libxfs/xfs_attr.c:772 xfs_xattr_set+0x1a8/0x30c fs/xfs/xfs_xattr.c:59 __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:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x250/0x2b4 fs/xattr.c:611 path_setxattr+0x17c/0x258 fs/xattr.c:630 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:649 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffff800014b114e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 4 locks held by kworker/u4:2/148: #0: ffff0000c038c138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001a457c00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016a2aad0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf4/0x9bc net/core/net_namespace.c:558 #3: ffff800014b159f0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x54/0x4b0 kernel/rcu/tree.c:4039 2 locks held by kworker/u4:3/153: 2 locks held by getty/3722: #0: ffff0000d2e6f098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001a2be2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 3 locks held by syz-executor.4/4309: #0: ffff0000cdd0e460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000dee41980 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000dee41980 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:302 #2: ffff0000cdd0e650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1047 2 locks held by udevd/4394: #0: ffff0000c5fee918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xe0/0x6b0 block/bdev.c:912 #1: ffff0000cbe44468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa8/0x9b8 drivers/block/loop.c:1365 2 locks held by syz-executor.1/6805: #0: ffff0000d3d98460 (sb_writers#3){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000d3d98650 (sb_internal){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1811 [inline] #1: ffff0000d3d98650 (sb_internal){.+.+}-{0:0}, at: sb_start_intwrite include/linux/fs.h:1928 [inline] #1: ffff0000d3d98650 (sb_internal){.+.+}-{0:0}, at: ext4_evict_inode+0x338/0x124c fs/ext4/inode.c:243 3 locks held by syz-executor.2/7383: 2 locks held by syz-executor.4/7417: #0: ffff0000d3d98460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff0000f7e4d3b0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000f7e4d3b0 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 2 locks held by syz-executor.0/7418: #0: ffff0000d3d98460 (sb_writers#3){.+.+}-{0:0}, at: do_coredump+0x12a4/0x2890 fs/coredump.c:825 #1: ffff0000f7e4b5c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000f7e4b5c8 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x528 fs/ext4/file.c:262 1 lock held by syz-executor.2/7423: #0: ffff800014b15ae8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #0: ffff800014b15ae8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x660 kernel/rcu/tree_exp.h:845 1 lock held by syz-executor.3/7434: #0: ffff800014b15ae8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #0: ffff800014b15ae8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2f0/0x660 kernel/rcu/tree_exp.h:845 2 locks held by syz-executor.0/7452: 1 lock held by syz-executor.3/7561: #0: ffff0000e9c0dc10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff0000e9c0dc10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff0000e9c0dc10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x80/0x1fc net/socket.c:1336 2 locks held by syz-executor.2/7571: 2 locks held by syz-executor.0/7578: =============================================