Buffer I/O error on dev loop0, logical block 0, lost async page write Buffer I/O error on dev loop0, logical block 0, lost async page write Buffer I/O error on dev loop0, logical block 16, async page read INFO: task syz-executor6:19642 blocked for more than 120 seconds. Not tainted 4.16.0+ #4 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor6 D21552 19642 4577 0x00000006 Call Trace: context_switch kernel/sched/core.c:2848 [inline] __schedule+0x807/0x1e40 kernel/sched/core.c:3490 schedule+0xef/0x430 kernel/sched/core.c:3549 io_schedule+0x1c/0x70 kernel/sched/core.c:5169 wait_on_page_bit_common mm/filemap.c:1099 [inline] __lock_page+0x587/0x750 mm/filemap.c:1272 lock_page include/linux/pagemap.h:483 [inline] write_cache_pages+0xabc/0x1690 mm/page-writeback.c:2206 generic_writepages+0xcc/0x120 mm/page-writeback.c:2325 blkdev_writepages+0x1d/0x30 fs/block_dev.c:1954 do_writepages+0x9a/0x1a0 mm/page-writeback.c:2340 __filemap_fdatawrite_range+0x333/0x470 mm/filemap.c:444 file_write_and_wait_range+0x96/0x130 mm/filemap.c:752 blkdev_fsync+0x6b/0xd0 fs/block_dev.c:623 vfs_fsync_range+0x140/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2681 [inline] blkdev_write_iter+0x337/0x420 fs/block_dev.c:1910 call_write_iter include/linux/fs.h:1782 [inline] do_iter_readv_writev+0x6a0/0x970 fs/read_write.c:680 do_iter_write+0x185/0x5f0 fs/read_write.c:959 vfs_iter_write+0x77/0xb0 fs/read_write.c:972 iter_file_splice_write+0x8cb/0xff0 fs/splice.c:749 do_splice_from fs/splice.c:851 [inline] direct_splice_actor+0x128/0x190 fs/splice.c:1018 splice_direct_to_actor+0x310/0x8d0 fs/splice.c:973 do_splice_direct+0x2cc/0x400 fs/splice.c:1061 do_sendfile+0x60f/0xe00 fs/read_write.c:1440 SYSC_sendfile64 fs/read_write.c:1495 [inline] SyS_sendfile64+0xdf/0x190 fs/read_write.c:1487 do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x455259 RSP: 002b:00007f535ea58c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f535ea596d4 RCX: 0000000000455259 RDX: 00000000200ddff8 RSI: 0000000000000016 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000102080001 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004c6 R14: 00000000006fa330 R15: 0000000000000000 Showing all locks held in the system: 2 locks held by khungtaskd/882: #0: 0000000068c9d97d (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: 0000000068c9d97d (rcu_read_lock){....}, at: watchdog+0x1ff/0xf60 kernel/hung_task.c:249 #1: 00000000db4d50ee (tasklist_lock){.+.+}, at: debug_show_all_locks+0xde/0x34a kernel/locking/lockdep.c:4470 1 lock held by rsyslogd/4406: #0: 000000007b4c2ec1 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1a9/0x1e0 fs/file.c:766 2 locks held by getty/4497: #0: 00000000c770bfb1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000bc7ef4e2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4498: #0: 0000000035814ec9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000001b10e2fa (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4499: #0: 000000002b56cae0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000002bd1db15 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4500: #0: 00000000098f8ce0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000ba6b31bc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4501: #0: 0000000005d2d618 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000004338cdeb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4502: #0: 00000000ad42cb9b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000010f8158 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/5400: #0: 00000000cca1611e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000096a3080c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 3 locks held by kworker/u4:4/5443: #0: 00000000ccad8e78 ((wq_completion)"writeback"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000ccad8e78 ((wq_completion)"writeback"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000ccad8e78 ((wq_completion)"writeback"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000ccad8e78 ((wq_completion)"writeback"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: 00000000ccad8e78 ((wq_completion)"writeback"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000ccad8e78 ((wq_completion)"writeback"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000ccad8e78 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0xaef/0x1b50 kernel/workqueue.c:2116 #1: 00000000922b2575 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0xb46/0x1b50 kernel/workqueue.c:2120 #2: 00000000a3dcf69d (&type->s_umount_key#35){++++}, at: trylock_super+0x22/0x110 fs/super.c:395 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 882 Comm: khungtaskd Not tainted 4.16.0+ #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b9/0x294 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x151/0x192 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_task kernel/hung_task.c:132 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline] watchdog+0xc10/0xf60 kernel/hung_task.c:249 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:411 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:54