INFO: task syz-executor.2:8504 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-g14f8db1c0f9a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:0 pid:8504 ppid:6040 flags:0x00000009 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5307 [inline] __schedule+0x103c/0x1e2c 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+0x4c/0x15c 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.2:8527 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-g14f8db1c0f9a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:0 pid:8527 ppid:6040 flags:0x00000001 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5307 [inline] __schedule+0x103c/0x1e2c 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+0xb4/0xc0 kernel/locking/rwsem.c:1574 inode_lock include/linux/fs.h:758 [inline] ext4_fallocate+0x11c/0x1c88 fs/ext4/extents.c:4700 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+0x4c/0x15c 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.2:8531 blocked for more than 143 seconds. Not tainted 6.3.0-rc7-syzkaller-g14f8db1c0f9a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:0 pid:8531 ppid:6040 flags:0x00000001 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5307 [inline] __schedule+0x103c/0x1e2c 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+0xb4/0xc0 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+0x4c/0x15c 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: 3 locks held by kworker/u4:1/11: #0: ffff0001b42a0818 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2c/0x44 kernel/sched/core.c:539 #1: ffff0001b428cd88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x308/0x618 kernel/sched/psi.c:964 #2: ffff800015e4ef00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:326 1 lock held by rcu_tasks_kthre/12: #0: ffff800015e4f0d0 (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: ffff800015e4f8d0 (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: ffff800015e4ef00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:326 2 locks held by getty/5673: #0: ffff0000d87d0098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001af702f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1210 drivers/tty/n_tty.c:2177 3 locks held by syz-executor.2/8504: #0: ffff000133bb8460 (sb_writers#3){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2505 [inline] #0: ffff000133bb8460 (sb_writers#3){.+.+}-{0:0}, at: vfs_fallocate+0x404/0x5b4 fs/open.c:323 #1: ffff000134ac5e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff000134ac5e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_fallocate+0x11c/0x1c88 fs/ext4/extents.c:4700 #2: ffff000134ac5b10 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff000134ac5b10 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x2dc/0x50c fs/ext4/inline.c:2063 2 locks held by syz-executor.2/8527: #0: ffff000133bb8460 (sb_writers#3){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2505 [inline] #0: ffff000133bb8460 (sb_writers#3){.+.+}-{0:0}, at: vfs_fallocate+0x404/0x5b4 fs/open.c:323 #1: ffff000134ac5e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff000134ac5e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_fallocate+0x11c/0x1c88 fs/ext4/extents.c:4700 3 locks held by syz-executor.2/8531: #0: ffff0000d4ca6d68 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xd8/0x104 fs/file.c:1047 #1: ffff000133bb8460 (sb_writers#3){.+.+}-{0:0}, at: vfs_write+0x244/0x914 fs/read_write.c:580 #2: ffff000134ac5e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff000134ac5e48 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0x9c/0x538 fs/ext4/file.c:283 3 locks held by kworker/u4:18/10060: #0: ffff0000c0e45938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x664/0x12d4 kernel/workqueue.c:2363 #1: ffff80001ff57c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x12d4 kernel/workqueue.c:2365 #2: ffff0000c09100e0 (&type->s_umount_key#39){.+.+}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:414 1 lock held by syz-executor.2/10629: #0: ffff000133bb80e0 (&type->s_umount_key#29){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:743 1 lock held by syz-executor.2/10637: #0: ffff000133bb80e0 (&type->s_umount_key#29){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:743 =============================================