INFO: task syz-executor.1:16411 blocked for more than 430 seconds. Not tainted 6.4.0-syzkaller-g533925cb7604 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:0 pid:16411 ppid:16055 flags:0x00000004 Call Trace: [] context_switch kernel/sched/core.c:5381 [inline] [] __schedule+0x682/0x16a6 kernel/sched/core.c:6710 [] schedule+0x7a/0x100 kernel/sched/core.c:6786 [] schedule_preempt_disabled+0x16/0x28 kernel/sched/core.c:6845 [] rwsem_down_write_slowpath+0x29c/0x914 kernel/locking/rwsem.c:1178 [] __down_write_common kernel/locking/rwsem.c:1306 [inline] [] __down_write kernel/locking/rwsem.c:1315 [inline] [] down_write+0x148/0x166 kernel/locking/rwsem.c:1574 [] filemap_invalidate_lock include/linux/fs.h:816 [inline] [] blk_ioctl_zeroout block/ioctl.c:182 [inline] [] blkdev_common_ioctl+0x9ea/0x10fa block/ioctl.c:501 [] blkdev_ioctl+0x168/0x772 block/ioctl.c:615 [] vfs_ioctl fs/ioctl.c:51 [inline] [] __do_sys_ioctl fs/ioctl.c:870 [inline] [] sys_ioctl+0x112/0x14c fs/ioctl.c:856 [] syscall_handler+0xfa/0x148 arch/riscv/include/asm/syscall.h:90 [] do_trap_ecall_u+0xea/0xec arch/riscv/kernel/traps.c:302 [] ret_from_exception+0x0/0x64 arch/riscv/kernel/entry.S:102 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8517cfd0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x34/0x712 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8517cd30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x34/0x712 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/29: #0: ffffffff8517d2a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x40/0x1f6 kernel/locking/lockdep.c:6617 1 lock held by klogd/2690: 2 locks held by getty/2839: #0: ff60000012c2a098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ff2000000007d2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xb9c/0xd0c drivers/tty/n_tty.c:2176 2 locks held by syz-executor.1/16030: 1 lock held by syz-executor.1/16411: #0: ff6000000ff6bfe8 (mapping.invalidate_lock#2){+.+.}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ff6000000ff6bfe8 (mapping.invalidate_lock#2){+.+.}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:182 [inline] #0: ff6000000ff6bfe8 (mapping.invalidate_lock#2){+.+.}-{3:3}, at: blkdev_common_ioctl+0x9ea/0x10fa block/ioctl.c:501 1 lock held by syz-executor.0/17199: =============================================