INFO: task syz-executor:5016 blocked for more than 143 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack: 0 pid: 5016 ppid: 4794 flags:0x00000005 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 rwsem_down_write_slowpath+0xd94/0x17e0 kernel/locking/rwsem.c:1165 __down_write_common kernel/locking/rwsem.c:1292 [inline] __down_write kernel/locking/rwsem.c:1301 [inline] down_write+0xe8/0x12c kernel/locking/rwsem.c:1552 filemap_invalidate_lock include/linux/fs.h:834 [inline] blk_ioctl_zeroout block/ioctl.c:183 [inline] blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 blkdev_ioctl+0x350/0xbd0 block/ioctl.c:598 block_ioctl+0xa8/0x114 block/fops.c:493 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __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 INFO: task syz-executor.4:5018 blocked for more than 143 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack: 0 pid: 5018 ppid: 4796 flags:0x0000000d 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 rwsem_down_write_slowpath+0xd94/0x17e0 kernel/locking/rwsem.c:1165 __down_write_common kernel/locking/rwsem.c:1292 [inline] __down_write kernel/locking/rwsem.c:1301 [inline] down_write+0xe8/0x12c kernel/locking/rwsem.c:1552 filemap_invalidate_lock include/linux/fs.h:834 [inline] blk_ioctl_zeroout block/ioctl.c:183 [inline] blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 blkdev_ioctl+0x350/0xbd0 block/ioctl.c:598 block_ioctl+0xa8/0x114 block/fops.c:493 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860 __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: 2 locks held by kworker/u4:0/9: 1 lock held by khungtaskd/27: #0: ffff800014c917e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 1 lock held by klogd/3629: 2 locks held by getty/3777: #0: ffff0000d4a89098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001d0702e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 1 lock held by syz-executor.2/5014: 1 lock held by syz-executor/5016: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.4/5018: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.1/5079: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.3/5082: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.2/5101: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor/5103: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.4/5106: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.1/5158: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.3/5168: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.2/5170: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor/5186: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.4/5188: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.1/5204: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.3/5250: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.2/5252: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor/5268: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.4/5270: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.1/5292: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.3/5326: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.2/5340: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor/5351: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 1 lock held by syz-executor.4/5358: #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:834 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:183 [inline] #0: ffff0000c05a5bd0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1cbc/0x2764 block/ioctl.c:487 =============================================