INFO: task syz.2.109:4519 blocked for more than 142 seconds. Not tainted 5.15.165-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.109 state:D stack: 0 pid: 4519 ppid: 4048 flags:0x00000001 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 schedule+0x11c/0x1c8 kernel/sched/core.c:6456 io_schedule+0x8c/0x194 kernel/sched/core.c:8481 bit_wait_io+0x1c/0xac kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xcc/0x1f0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x194/0x21c kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x80/0xc0 fs/buffer.c:69 lock_buffer include/linux/buffer_head.h:402 [inline] ext4_quota_write+0x378/0x564 fs/ext4/super.c:6581 qtree_write_dquot+0x1dc/0x488 fs/quota/quota_tree.c:422 v2_write_dquot+0xf4/0x188 fs/quota/quota_v2.c:358 dquot_commit+0x14c/0x240 fs/quota/dquot.c:514 ext4_write_dquot+0x1b4/0x314 fs/ext4/super.c:6172 ext4_mark_dquot_dirty+0xe8/0x140 fs/ext4/super.c:6232 mark_dquot_dirty fs/quota/dquot.c:372 [inline] mark_all_dquot_dirty+0x108/0x424 fs/quota/dquot.c:412 __dquot_free_space+0x878/0xce8 fs/quota/dquot.c:1941 dquot_free_space_nodirty include/linux/quotaops.h:376 [inline] ext4_xattr_inode_free_quota+0x11c/0x188 fs/ext4/xattr.c:899 ext4_xattr_set_entry+0xcc0/0x3118 fs/ext4/xattr.c:1705 ext4_xattr_block_set+0x55c/0x2dcc fs/ext4/xattr.c:1926 ext4_xattr_set_handle+0xcc8/0x12d8 fs/ext4/xattr.c:2386 ext4_xattr_set+0x1dc/0x350 fs/ext4/xattr.c:2513 ext4_xattr_trusted_set+0x4c/0x64 fs/ext4/xattr_trusted.c:38 __vfs_removexattr+0x370/0x38c fs/xattr.c:470 __vfs_removexattr_locked+0x1d8/0x380 fs/xattr.c:505 vfs_removexattr+0xe0/0x23c fs/xattr.c:527 removexattr fs/xattr.c:857 [inline] path_removexattr+0x1ec/0x2ec fs/xattr.c:871 __do_sys_removexattr fs/xattr.c:885 [inline] __se_sys_removexattr fs/xattr.c:882 [inline] __arm64_sys_removexattr+0x60/0x78 fs/xattr.c:882 __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: ffff800014c917a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 2 locks held by kworker/u4:6/1828: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800021f47c00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 1 lock held by udevd/3640: 2 locks held by dhcpcd/3691: #0: ffff800016bdcbe8 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x594/0x8ac net/socket.c:1219 #1: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 2 locks held by getty/3794: #0: ffff0000d3897098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001a4de2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 1 lock held by udevd/4030: 1 lock held by syz-executor/4039: #0: ffff0000daed00e0 (&type->s_umount_key#30){++++}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 1 lock held by syz-executor/4054: #0: ffff0000e65300e0 (&type->s_umount_key#30){++++}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 2 locks held by kworker/1:5/4087: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001d1f7c00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 4 locks held by kworker/u4:9/4212: #0: ffff0000c03f4138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001d717c00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016be8f90 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf4/0x9bc net/core/net_namespace.c:561 #3: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 2 locks held by kworker/u4:10/4235: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001d837c00 ((quota_release_work).work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 2 locks held by kworker/u4:11/4398: 1 lock held by syz-executor/4419: #0: ffff0000d7b720e0 (&type->s_umount_key#30){++++}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 3 locks held by udevd/4429: 2 locks held by udevd/4432: 2 locks held by kworker/1:11/4453: 6 locks held by syz.2.109/4519: #0: ffff0000d2086460 (sb_writers#3){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e5dec9b8 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e5dec9b8 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_removexattr+0xcc/0x23c fs/xattr.c:526 #2: ffff0000e5dec690 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff0000e5dec690 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x1e0/0x12d8 fs/ext4/xattr.c:2327 #3: ffff800014da8df8 (dquot_srcu){....}-{0:0}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:311 #4: ffff0000dda00268 (&dquot->dq_lock){+.+.}-{3:3}, at: dquot_commit+0x54/0x240 fs/quota/dquot.c:507 #5: ffff0000d2086208 (&s->s_dquot.dqio_sem){++++}-{3:3}, at: v2_write_dquot+0x84/0x188 fs/quota/quota_v2.c:356 1 lock held by syz-executor/4715: #0: ffff0000d4fa00e0 (&type->s_umount_key#30){++++}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 1 lock held by syz.4.315/5336: #0: ffff0000daed00e0 (&type->s_umount_key#30){++++}-{3:3}, at: user_get_super+0x11c/0x240 fs/super.c:848 1 lock held by syz.1.617/6321: #0: ffff0000d7b720e0 (&type->s_umount_key#30){++++}-{3:3}, at: user_get_super+0xd8/0x240 fs/super.c:846 1 lock held by syz.0.620/6325: #0: ffff0000d4fa00e0 (&type->s_umount_key#30){++++}-{3:3}, at: user_get_super+0x11c/0x240 fs/super.c:848 2 locks held by syz-executor/6680: #0: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffff800016bf4768 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac net/core/rtnetlink.c:5615 #1: ffff800014c95da8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffff800014c95da8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x660 kernel/rcu/tree_exp.h:845 2 locks held by kworker/u4:21/6737: 1 lock held by syz.3.737/6764: #0: ffff0000e65300e0 (&type->s_umount_key#30){++++}-{3:3}, at: user_get_super+0x11c/0x240 fs/super.c:848 =============================================