INFO: task syz-executor.3:7754 blocked for more than 143 seconds. Not tainted 6.3.0-rc4-syzkaller-g59caa87f9dfb #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:0 pid:7754 ppid:5971 flags:0x00000009 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5307 [inline] __schedule+0x1048/0x1e38 kernel/sched/core.c:6625 schedule+0xc4/0x170 kernel/sched/core.c:6701 io_schedule+0x8c/0x120 kernel/sched/core.c:8887 bit_wait_io+0x1c/0xac kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xcc/0x1e8 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 fs/buffer.c:70 [inline] lock_buffer+0xf8/0x14c include/linux/buffer_head.h:400 __sync_dirty_buffer+0x6c/0x300 fs/buffer.c:2780 sync_dirty_buffer+0x24/0x34 fs/buffer.c:2806 __ext4_handle_dirty_metadata+0x188/0x714 fs/ext4/ext4_jbd2.c:387 ext4_convert_inline_data_nolock+0x66c/0xbc4 fs/ext4/inline.c:1254 ext4_convert_inline_data+0x38c/0x50c fs/ext4/inline.c:2065 ext4_fallocate+0x124/0x1c88 fs/ext4/extents.c:4701 vfs_fallocate+0x478/0x5b4 fs/open.c:324 ioctl_preallocate+0x278/0x324 fs/ioctl.c:290 do_vfs_ioctl+0x1ad8/0x26f8 fs/ioctl.c:849 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:856 __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:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 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+0x190/0x194 arch/arm64/kernel/entry.S:591 INFO: task syz-executor.3:7760 blocked for more than 143 seconds. Not tainted 6.3.0-rc4-syzkaller-g59caa87f9dfb #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:0 pid:7760 ppid:5971 flags:0x00000001 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5307 [inline] __schedule+0x1048/0x1e38 kernel/sched/core.c:6625 schedule+0xc4/0x170 kernel/sched/core.c:6701 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6760 rwsem_down_write_slowpath+0xcfc/0x1aa0 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0xc0/0xcc kernel/locking/rwsem.c:1574 inode_lock include/linux/fs.h:758 [inline] ext4_buffered_write_iter+0x9c/0x538 fs/ext4/file.c:283 ext4_file_write_iter+0x188/0x16c8 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x610/0x914 fs/read_write.c:584 ksys_write+0x15c/0x26c fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __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:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 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+0x190/0x194 arch/arm64/kernel/entry.S:591 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015d36810 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffff800015d37010 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffff800015d36640 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:326 2 locks held by getty/5625: #0: ffff0000d339f098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001a8a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1210 drivers/tty/n_tty.c:2177 3 locks held by syz-executor.3/7754: #0: ffff00012c5ee460 (sb_writers#3){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2505 [inline] #0: ffff00012c5ee460 (sb_writers#3){.+.+}-{0:0}, at: vfs_fallocate+0x404/0x5b4 fs/open.c:323 #1: ffff000138463628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff000138463628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_fallocate+0x11c/0x1c88 fs/ext4/extents.c:4700 #2: ffff0001384632f0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff0001384632f0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x2dc/0x50c fs/ext4/inline.c:2063 3 locks held by syz-executor.3/7760: #0: ffff0000c0db1c68 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xd8/0x104 fs/file.c:1047 #1: ffff00012c5ee460 (sb_writers#3){.+.+}-{0:0}, at: vfs_write+0x244/0x914 fs/read_write.c:580 #2: ffff000138463628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff000138463628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x538 fs/ext4/file.c:283 1 lock held by syz-executor.0/10800: 1 lock held by syz-executor.2/10811: #0: ffff00012e0080e0 (&type->s_umount_key#65/1){+.+.}-{3:3}, at: alloc_super+0x1b4/0x824 fs/super.c:228 1 lock held by syz-executor.4/10836: =============================================