INFO: task syz-executor5:14608 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-executor5 D29592 14608 1849 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:00007f853b3c6c78 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: 00007f853b3c76d4 R13: 00000000004c2b26 R14: 00000000004d4140 R15: 00000000ffffffff INFO: task syz-executor5:14609 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-executor5 D29592 14609 1849 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:00007f853b3a5c78 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: 00007f853b3a66d4 R13: 00000000004bdb43 R14: 00000000004cc688 R15: 00000000ffffffff INFO: task syz-executor5:14610 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-executor5 D30536 14610 1849 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:00007f853b384c78 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: 00007f853b3856d4 R13: 00000000004bdc1c R14: 00000000004cc868 R15: 00000000ffffffff INFO: task syz-executor5:14613 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-executor5 D30536 14613 1849 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:00007f853b342c78 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457579 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000072c220 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010001 R11: 0000000000000246 R12: 00007f853b3436d4 R13: 00000000004bdc1c R14: 00000000004cc868 R15: 00000000ffffffff INFO: task syz-executor5:14616 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-executor5 D29880 14616 1849 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_file_write_iter+0x1fd/0xe20 fs/ext4/file.c:233 call_write_iter include/linux/fs.h:1782 [inline] new_sync_write fs/read_write.c:471 [inline] __vfs_write+0x417/0x5c0 fs/read_write.c:484 vfs_write+0x17f/0x4d0 fs/read_write.c:546 SYSC_write fs/read_write.c:593 [inline] SyS_write+0xc2/0x1a0 fs/read_write.c:585 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457579 RSP: 002b:00007f853b321c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579 RDX: 000000000000004e RSI: 0000000020000200 RDI: 0000000000000004 RBP: 000000000072c2c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f853b3226d4 R13: 00000000004c5502 R14: 00000000004d8e08 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/1631: #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/1761: #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 1 lock held by syz-executor5/6201: #0: (sb_internal){.+.+}, at: [] sb_start_intwrite include/linux/fs.h:1590 [inline] #0: (sb_internal){.+.+}, at: [] ext4_evict_inode+0x367/0x1520 fs/ext4/inode.c:250 1 lock held by syz-executor5/9786: #0: (sb_internal){.+.+}, at: [] sb_start_intwrite include/linux/fs.h:1590 [inline] #0: (sb_internal){.+.+}, at: [] ext4_evict_inode+0x367/0x1520 fs/ext4/inode.c:250 1 lock held by syz-executor5/10288: #0: (sb_internal){.+.+}, at: [] sb_start_intwrite include/linux/fs.h:1590 [inline] #0: (sb_internal){.+.+}, at: [] ext4_evict_inode+0x367/0x1520 fs/ext4/inode.c:250 1 lock held by syz-executor5/10627: #0: (sb_internal){.+.+}, at: [] sb_start_intwrite include/linux/fs.h:1590 [inline] #0: (sb_internal){.+.+}, at: [] ext4_evict_inode+0x367/0x1520 fs/ext4/inode.c:250 4 locks held by kworker/u4:14/11237: #0: ("writeback"){+.+.}, at: [] process_one_work+0x787/0x15c0 kernel/workqueue.c:2085 #1: ((&(&wb->dwork)->work)){+.+.}, at: [] process_one_work+0x7bf/0x15c0 kernel/workqueue.c:2089 #2: (&type->s_umount_key#34){++++}, at: [] trylock_super+0x1a/0xe0 fs/super.c:402 #3: (&sbi->s_journal_flag_rwsem){++++}, at: [] do_writepages+0xe0/0x270 mm/page-writeback.c:2341 1 lock held by syz-executor5/13082: #0: (sb_internal){.+.+}, at: [] sb_start_intwrite include/linux/fs.h:1590 [inline] #0: (sb_internal){.+.+}, at: [] ext4_evict_inode+0x367/0x1520 fs/ext4/inode.c:250 1 lock held by syz-executor5/13430: #0: (sb_internal){.+.+}, at: [] sb_start_intwrite include/linux/fs.h:1590 [inline] #0: (sb_internal){.+.+}, at: [] ext4_evict_inode+0x367/0x1520 fs/ext4/inode.c:250 2 locks held by syz-executor5/14608: #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-executor5/14609: #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-executor5/14610: #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-executor5/14613: #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 3 locks held by syz-executor5/14616: #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_lock include/linux/fs.h:713 [inline] #2: (&sb->s_type->i_mutex_key#9){++++}, at: [] ext4_file_write_iter+0x1fd/0xe20 fs/ext4/file.c:233 ============================================= NMI backtrace for cpu 1 CPU: 1 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14566 Comm: syz-executor5 Not tainted 4.14.73+ #12 task: ffff8801cf1baf00 task.stack: ffff8801c42a8000 RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x60 kernel/kcov.c:74 RSP: 0018:ffff8801c42af648 EFLAGS: 00000287 RAX: ffff8801cf1baf00 RBX: ffff8801da29cba8 RCX: 0000000000040000 RDX: fffffffff3400000 RSI: ffffc90003559000 RDI: ffff8801da29cb88 RBP: 0000000000000000 R08: 000000004b4b761c R09: 0000000000000000 R10: ffff8801cf1bb820 R11: 0000000000000001 R12: ffff8801c42af8f8 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8801da29cb80 FS: 00007f853b3e8700(0000) GS:ffff8801dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdce3bc3666 CR3: 00000001c3be8004 CR4: 00000000001606b0 DR0: 00000000200001c0 DR1: 00000000200001c0 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: ext4_ext_drop_refs+0x59/0xd0 fs/ext4/extents.c:731 ext4_find_extent+0xd1/0x980 fs/ext4/extents.c:892 get_ext_path fs/ext4/move_extent.c:39 [inline] mext_check_coverage.constprop.2+0x234/0x3c0 fs/ext4/move_extent.c:106 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:00007f853b3e7c78 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: 00007f853b3e86d4 R13: 00000000004bf5dd R14: 00000000004cf460 R15: 00000000ffffffff Code: 74 1a 65 8b 15 7b 24 11 72 81 e2 00 01 1f 00 75 0b 8b 90 a8 11 00 00 83 fa 01 74 01 c3 48 c7 c2 00 00 00 81 48 81 ea 00 00 c0 8d <48> 03 14 24 48 8b b0 b0 11 00 00 8b 80 ac 11 00 00 48 8b 0e 48