Buffer I/O error on dev loop0, logical block 8, lost async page write Buffer I/O error on dev loop0, logical block 9, lost async page write Buffer I/O error on dev loop0, logical block 10, lost async page write buffer_io_error: 5 callbacks suppressed Buffer I/O error on dev loop0, logical block 64, async page read INFO: task syz-executor6:12374 blocked for more than 120 seconds. Not tainted 4.9.94-g8683408 #3 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor6 D28136 12374 3805 0x00000004 ffff8801d79ac800 ffff8801c43e5f80 ffff8801c43e5f80 ffff8801d50a8000 ffff8801db321b98 ffff8801cfbcf940 ffffffff838c040d 1ffff10039f79f1c ffffffff85351d98 0000000041b58ab3 00ffffff841a49d8 ffff8801db322468 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3557 [] schedule_timeout+0x861/0xf70 kernel/time/timer.c:1768 [] io_schedule_timeout+0x1ba/0x390 kernel/sched/core.c:5180 [] io_schedule include/linux/sched.h:460 [inline] [] bit_wait_io+0x19/0xa0 kernel/sched/wait.c:582 [] __wait_on_bit+0x93/0x120 kernel/sched/wait.c:383 [] wait_on_page_bit+0x130/0x140 mm/filemap.c:802 [] wait_on_page_writeback include/linux/pagemap.h:526 [inline] [] __filemap_fdatawait_range+0x1c1/0x290 mm/filemap.c:453 [] filemap_fdatawait_keep_errors+0x63/0x80 mm/filemap.c:511 [] fdatawait_one_bdev+0x50/0x70 fs/sync.c:94 [] iterate_bdevs+0x10c/0x260 fs/block_dev.c:1978 [] sys_sync+0xe1/0x170 fs/sync.c:116 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Showing all locks held in the system: 2 locks held by khungtaskd/515: #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x11c/0xa20 kernel/hung_task.c:239 #1: (tasklist_lock){.+.+..}, at: [] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336 1 lock held by rsyslogd/3606: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0xac/0xd0 fs/file.c:781 2 locks held by getty/3701: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+...}, at: [] n_tty_read+0x202/0x16b0 drivers/tty/n_tty.c:2133 3 locks held by kworker/u4:6/11185: #0: ("writeback"){++++.+}, at: [] work_static include/linux/workqueue.h:186 [inline] #0: ("writeback"){++++.+}, at: [] set_work_data kernel/workqueue.c:617 [inline] #0: ("writeback"){++++.+}, at: [] set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ("writeback"){++++.+}, at: [] process_one_work+0x6ee/0x1500 kernel/workqueue.c:2085 #1: ((&(&wb->dwork)->work)){+.+.+.}, at: [] process_one_work+0x728/0x1500 kernel/workqueue.c:2089 #2: (&type->s_umount_key#29){++++..}, at: [] trylock_super+0x20/0xf0 fs/super.c:393 1 lock held by syz-executor6/12374: #0: (&bdev->bd_mutex){+.+.+.}, at: [] iterate_bdevs+0xc8/0x260 fs/block_dev.c:1976 1 lock held by syz-executor6/12377: #0: (&bdev->bd_mutex){+.+.+.}, at: [] iterate_bdevs+0xc8/0x260 fs/block_dev.c:1976 1 lock held by blkid/12364: #0: (&bdev->bd_mutex){+.+.+.}, at: [] blkdev_put+0x2a/0x560 fs/block_dev.c:1621 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 515 Comm: khungtaskd Not tainted 4.9.94-g8683408 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d86b7d08 ffffffff81d9b509 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810b7d60 ffff8801d86b7d40 ffffffff81da6837 0000000000000000 0000000000000000 0000000000000002 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] nmi_cpu_backtrace.cold.2+0x48/0x87 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x12a/0x14f lib/nmi_backtrace.c:60 [] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x6b4/0xa20 kernel/hung_task.c:239 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3603 Comm: rs:main Q:Reg Not tainted 4.9.94-g8683408 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c0213000 task.stack: ffff8801bf7e8000 RIP: 0010:[] c [] ext4_ext_remove_space+0x3eb/0x3ab0 fs/ext4/extents.c:2971 RSP: 0018:ffff8801bf7ef3b0 EFLAGS: 00000293 RAX: ffff8801c0213000 RBX: 0000000000000001 RCX: ffff8801bca63874 RDX: 0000000000000000 RSI: ffffffff817ea02b RDI: ffff8801c5fbbc20 RBP: ffff8801bf7ef5f0 R08: 0000000000000001 R09: 0000000000000000 R10: ffffed0037efde14 R11: ffff8801bf7ef0a7 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8801c5fbbc00 R15: dffffc0000000000 FS: 00007ffb0393f700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020011ffa CR3: 00000001c2b12000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801bf7ef3f0c ffffffff8122e3c2c ffff8801c02138c0c 0000000000000246c fffffbfff09459a8c 1ffff10037efde95c ffffffff81831da4c fffffbfff09459b5c ffff8801bca63870c 0000000000000246c ffff8801ce132200c ffffea0007221640c Call Trace: [] ext4_ext_truncate+0x185/0x280 fs/ext4/extents.c:4658 [] ext4_truncate+0xa15/0x12c0 fs/ext4/inode.c:4260 [] ext4_truncate_failed_write fs/ext4/truncate.h:15 [inline] [] ext4_da_write_begin+0x4eb/0x1020 fs/ext4/inode.c:3015 [] generic_perform_write+0x301/0x510 mm/filemap.c:2741 [] __generic_file_write_iter+0x352/0x540 mm/filemap.c:2866 [] ext4_file_write_iter+0x463/0xd90 fs/ext4/file.c:165 [] new_sync_write fs/read_write.c:496 [inline] [] __vfs_write+0x3e0/0x580 fs/read_write.c:509 [] vfs_write+0x187/0x530 fs/read_write.c:557 [] SYSC_write fs/read_write.c:604 [inline] [] SyS_write+0xd9/0x1c0 fs/read_write.c:596 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: c04 c4e c8d c34 c20 c49 c8d c7e c20 c48 c89 cf8 c48 cc1 ce8 c03 c42 c80 c3c c38 c00 c0f c85 c6c c2f c00 c00 c49 c83 c7e c20 c00 c0f c84 c57 c07 c00 c00 ce8 ca5 c29 cb7 cff c<49> c8d c7e c18 c48 c89 cf8 c48 cc1 ce8 c03 c42 c80 c3c c38 c00 c0f c85 c9e c2f c00 c