INFO: task syz-executor1:16844 blocked for more than 140 seconds. Not tainted 4.14.73+ #12 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D29496 16844 1846 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline] rwsem_down_write_failed+0x390/0x730 kernel/locking/rwsem-xadd.c:594 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 inode_lock include/linux/fs.h:713 [inline] do_truncate2+0xfd/0x1c0 fs/open.c:61 handle_truncate fs/namei.c:2998 [inline] do_last fs/namei.c:3417 [inline] path_openat+0xaea/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457579 RSP: 002b:00007f28fe9e3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457579 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f28fe9e46d4 R13: 00000000004c2b26 R14: 00000000004d4140 R15: 00000000ffffffff INFO: task syz-executor1:16845 blocked for more than 140 seconds. Not tainted 4.14.73+ #12 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D29496 16845 1846 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline] rwsem_down_write_failed+0x390/0x730 kernel/locking/rwsem-xadd.c:594 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 inode_lock include/linux/fs.h:713 [inline] do_truncate2+0xfd/0x1c0 fs/open.c:61 handle_truncate fs/namei.c:2998 [inline] do_last fs/namei.c:3417 [inline] path_openat+0xaea/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457579 RSP: 002b:00007f28fe9c2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457579 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f28fe9c36d4 R13: 00000000004bdb43 R14: 00000000004cc688 R15: 00000000ffffffff INFO: task syz-executor1:16846 blocked for more than 140 seconds. Not tainted 4.14.73+ #12 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D29928 16846 1846 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline] rwsem_down_write_failed+0x390/0x730 kernel/locking/rwsem-xadd.c:594 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 inode_lock include/linux/fs.h:713 [inline] ext4_fallocate+0x359/0x1c80 fs/ext4/extents.c:4965 vfs_fallocate+0x346/0x700 fs/open.c:328 SYSC_fallocate fs/open.c:351 [inline] SyS_fallocate+0x4b/0x80 fs/open.c:345 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457579 RSP: 002b:00007f28fe9a1c78 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457579 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000072c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000004000fff R11: 0000000000000246 R12: 00007f28fe9a26d4 R13: 00000000004bdc1c R14: 00000000004cc868 R15: 00000000ffffffff INFO: task syz-executor1:16847 blocked for more than 140 seconds. Not tainted 4.14.73+ #12 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D29704 16847 1846 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline] rwsem_down_write_failed+0x390/0x730 kernel/locking/rwsem-xadd.c:594 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 inode_lock include/linux/fs.h:713 [inline] ext4_fallocate+0x359/0x1c80 fs/ext4/extents.c:4965 vfs_fallocate+0x346/0x700 fs/open.c:328 SYSC_fallocate fs/open.c:351 [inline] SyS_fallocate+0x4b/0x80 fs/open.c:345 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457579 RSP: 002b:00007f28fe980c78 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457579 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000072c180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010001 R11: 0000000000000246 R12: 00007f28fe9816d4 R13: 00000000004bdc1c R14: 00000000004cc868 R15: 00000000ffffffff Showing all locks held in the system: 2 locks held by init/1: #0: (sb_writers#4){.+.+}, at: [] file_start_write include/linux/fs.h:2722 [inline] #0: (sb_writers#4){.+.+}, at: [] vfs_write+0x3d7/0x4d0 fs/read_write.c:545 #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] inode_trylock include/linux/fs.h:733 [inline] #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] ext4_file_write_iter+0x1b9/0xe20 fs/ext4/file.c:230 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x74/0x20f kernel/locking/lockdep.c:4541 3 locks held by rs:main Q:Reg/1626: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa2/0xc0 fs/file.c:768 #1: (sb_writers#4){.+.+}, at: [] file_start_write include/linux/fs.h:2722 [inline] #1: (sb_writers#4){.+.+}, at: [] vfs_write+0x3d7/0x4d0 fs/read_write.c:545 #2: (&sb->s_type->i_mutex_key#9){++++}, at: [] inode_trylock include/linux/fs.h:733 [inline] #2: (&sb->s_type->i_mutex_key#9){++++}, at: [] ext4_file_write_iter+0x1b9/0xe20 fs/ext4/file.c:230 2 locks held by getty/1756: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x20/0x80 drivers/tty/tty_ldisc.c:275 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1ff/0x15e0 drivers/tty/n_tty.c:2142 2 locks held by syz-executor1/16844: #0: (sb_writers#4){.+.+}, at: [] sb_start_write include/linux/fs.h:1543 [inline] #0: (sb_writers#4){.+.+}, at: [] mnt_want_write+0x3a/0xa0 fs/namespace.c:387 #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] inode_lock include/linux/fs.h:713 [inline] #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] do_truncate2+0xfd/0x1c0 fs/open.c:61 2 locks held by syz-executor1/16845: #0: (sb_writers#4){.+.+}, at: [] sb_start_write include/linux/fs.h:1543 [inline] #0: (sb_writers#4){.+.+}, at: [] mnt_want_write+0x3a/0xa0 fs/namespace.c:387 #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] inode_lock include/linux/fs.h:713 [inline] #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] do_truncate2+0xfd/0x1c0 fs/open.c:61 2 locks held by syz-executor1/16846: #0: (sb_writers#4){.+.+}, at: [] file_start_write include/linux/fs.h:2722 [inline] #0: (sb_writers#4){.+.+}, at: [] vfs_fallocate+0x4dd/0x700 fs/open.c:327 #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] inode_lock include/linux/fs.h:713 [inline] #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] ext4_fallocate+0x359/0x1c80 fs/ext4/extents.c:4965 2 locks held by syz-executor1/16847: #0: (sb_writers#4){.+.+}, at: [] file_start_write include/linux/fs.h:2722 [inline] #0: (sb_writers#4){.+.+}, at: [] vfs_fallocate+0x4dd/0x700 fs/open.c:327 #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] inode_lock include/linux/fs.h:713 [inline] #1: (&sb->s_type->i_mutex_key#9){++++}, at: [] ext4_fallocate+0x359/0x1c80 fs/ext4/extents.c:4965 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.73+ #12 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x11b lib/dump_stack.c:53 nmi_cpu_backtrace.cold.0+0x47/0x85 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x121/0x146 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x574/0xa70 kernel/hung_task.c:252 kthread+0x348/0x420 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16829 Comm: syz-executor1 Not tainted 4.14.73+ #12 task: ffff88019c53af00 task.stack: ffff880189b50000 RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4b/0x60 kernel/kcov.c:87 RSP: 0018:ffff880189b576b0 EFLAGS: 00000283 RAX: 0000000000040000 RBX: ffff8801c32ff900 RCX: 000000000003ffff RDX: ffffffff816f57d0 RSI: ffffc90002519000 RDI: ffff8801c32ff900 RBP: 00000000a813ac33 R08: 00000000425b06ee R09: 0000000000000000 R10: ffff88019c53b820 R11: 0000000000000001 R12: ffff880189b578f8 R13: ffff880198d8a250 R14: ffff880198d8a060 R15: 000000000000c001 FS: 00007f28fea05700(0000) GS:ffff8801d7500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5077c25000 CR3: 00000001cf66c005 CR4: 00000000001606a0 Call Trace: ext4_ext_drop_refs+0x10/0xd0 fs/ext4/extents.c:727 mext_check_coverage.constprop.2+0x211/0x3c0 fs/ext4/move_extent.c:113 move_extent_per_page fs/ext4/move_extent.c:333 [inline] ext4_move_extents+0x17dc/0x2a10 fs/ext4/move_extent.c:681 ext4_ioctl+0x275c/0x35e0 fs/ext4/ioctl.c:765 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1a0/0x1030 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7e/0xb0 fs/ioctl.c:692 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457579 RSP: 002b:00007f28fea04c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579 RDX: 0000000020000040 RSI: 00000000c028660f RDI: 0000000000000003 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f28fea056d4 R13: 00000000004bf5dd R14: 00000000004cf460 R15: 00000000ffffffff Code: 11 00 00 83 fa 01 74 01 c3 48 c7 c2 00 00 00 81 48 81 ea 00 00 e0 a4 48 03 14 24 48 8b b0 b0 11 00 00 8b 80 ac 11 00 00 48 8b 0e <48> 83 c1 01 48 39 c8 76 d4 48 89 14 ce 48 89 0e c3 0f 1f 40 00