INFO: task syz-executor1:7159 blocked for more than 140 seconds. Not tainted 4.14.68+ #4 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D29880 7159 1960 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:0x457099 RSP: 002b:00007fc3ab218c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc3ab2196d4 RCX: 0000000000457099 RDX: 0000000000000001 RSI: 0000000020000240 RDI: 0000000000000008 RBP: 00000000009303c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d79b0 R14: 00000000004c81ae R15: 0000000000000005 INFO: task syz-executor1:7135 blocked for more than 140 seconds. Not tainted 4.14.68+ #4 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D29768 7135 7133 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_punch_hole+0x125/0xfb0 fs/ext4/inode.c:4223 ext4_fallocate+0x347/0x1c80 fs/ext4/extents.c:4942 vfs_fallocate+0x346/0x700 fs/open.c:328 madvise_remove mm/madvise.c:610 [inline] madvise_vma mm/madvise.c:683 [inline] SYSC_madvise mm/madvise.c:863 [inline] SyS_madvise+0x44a/0xfa0 mm/madvise.c:791 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457099 RSP: 002b:00007fc3ab239c78 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007fc3ab23a6d4 RCX: 0000000000457099 RDX: 0000000000000009 RSI: 0000000000004000 RDI: 0000000020007000 RBP: 0000000000930320 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d2fe8 R14: 00000000004c80cb R15: 0000000000000004 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x74/0x20f kernel/locking/lockdep.c:4541 2 locks held by getty/1874: #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/7133: #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#10){+.+.}, at: [] inode_lock include/linux/fs.h:713 [inline] #1: (&sb->s_type->i_mutex_key#10){+.+.}, at: [] ext4_fallocate+0x359/0x1c80 fs/ext4/extents.c:4965 3 locks held by syz-executor1/7159: #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#10){+.+.}, at: [] inode_lock include/linux/fs.h:713 [inline] #2: (&sb->s_type->i_mutex_key#10){+.+.}, at: [] ext4_file_write_iter+0x1fd/0xe20 fs/ext4/file.c:233 2 locks held by syz-executor1/7135: #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#10){+.+.}, at: [] inode_lock include/linux/fs.h:713 [inline] #1: (&sb->s_type->i_mutex_key#10){+.+.}, at: [] ext4_punch_hole+0x125/0xfb0 fs/ext4/inode.c:4223 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 4.14.68+ #4 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: 5677 Comm: syz-executor3 Not tainted 4.14.68+ #4 task: ffff8801c46fde00 task.stack: ffff88019d4d8000 RIP: 0033:0x4023c4 RSP: 002b:00007fe51d617690 EFLAGS: 00000202 RAX: 0000000015291864 RBX: 0000000000000007 RCX: 0000000000457099 RDX: 0000000000000000 RSI: 00007fe51d6176c0 RDI: 0000000000000007 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d7008 R14: 00000000004ca112 R15: 0000000000000000 FS: 00007fe51d618700(0000) GS:ffff8801d7700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe51d5f6db8 CR3: 00000001c499c002 CR4: 00000000001606a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400