Buffer I/O error on dev loop5, logical block 7, lost async page write Buffer I/O error on dev loop5, logical block 8, lost async page write Buffer I/O error on dev loop5, logical block 9, lost async page write Buffer I/O error on dev loop5, logical block 10, lost async page write random: crng init done INFO: task syz-executor5:6412 blocked for more than 120 seconds. Not tainted 4.16.0+ #3 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D22632 6412 4500 0x00000004 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:2680 [inline] blkdev_write_iter+0x337/0x420 fs/block_dev.c:1910 call_write_iter include/linux/fs.h:1782 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x5bc/0x880 fs/read_write.c:487 vfs_write+0x1f8/0x560 fs/read_write.c:549 ksys_write+0xf9/0x250 fs/read_write.c:598 SYSC_write fs/read_write.c:610 [inline] SyS_write+0x24/0x30 fs/read_write.c:607 do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4552d9 RSP: 002b:00007f0ba55ebc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0ba55ec6d4 RCX: 00000000004552d9 RDX: 00000000fffffd83 RSI: 0000000020000040 RDI: 0000000000000016 RBP: 000000000072bf58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000006c1 R14: 00000000006fd2b8 R15: 0000000000000001 Showing all locks held in the system: 3 locks held by kworker/u4:2/56: #0: 00000000d3417ea2 ((wq_completion)"writeback"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000d3417ea2 ((wq_completion)"writeback"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000d3417ea2 ((wq_completion)"writeback"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000d3417ea2 ((wq_completion)"writeback"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: 00000000d3417ea2 ((wq_completion)"writeback"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000d3417ea2 ((wq_completion)"writeback"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000d3417ea2 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0xaef/0x1b50 kernel/workqueue.c:2116 #1: 000000009a2c2a16 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0xb46/0x1b50 kernel/workqueue.c:2120 #2: 000000001fa1ab0a (&type->s_umount_key#35){.+.+}, at: trylock_super+0x22/0x110 fs/super.c:395 2 locks held by khungtaskd/883: #0: 0000000026cc19ae (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: 0000000026cc19ae (rcu_read_lock){....}, at: watchdog+0x1ff/0xf60 kernel/hung_task.c:249 #1: 000000009ca44b77 (tasklist_lock){.+.+}, at: debug_show_all_locks+0xde/0x34a kernel/locking/lockdep.c:4470 2 locks held by getty/4424: #0: 000000004f087ae1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000a3fd3283 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4425: #0: 0000000066db3605 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000009e5efddb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4426: #0: 000000002b06fdbf (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000088b74900 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4427: #0: 00000000e61cc945 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000003a574e9b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4428: #0: 00000000962f068f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000eb3c54a6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4429: #0: 00000000e973b8af (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000003ff520fa (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4430: #0: 00000000630a6ca4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000006877f490 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 1 lock held by syz-executor3/6422: #0: 000000004f266fcb (&bdev->bd_mutex){+.+.}, at: iterate_bdevs+0xce/0x291 fs/block_dev.c:2160 1 lock held by syz-executor3/6444: #0: 000000004f266fcb (&bdev->bd_mutex){+.+.}, at: iterate_bdevs+0xce/0x291 fs/block_dev.c:2160 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 883 Comm: khungtaskd Not tainted 4.16.0+ #3 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 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.16.0+ #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline] RIP: 0010:llist_empty include/linux/llist.h:201 [inline] RIP: 0010:scheduler_ipi+0x109/0xa30 kernel/sched/core.c:1752 RSP: 0018:ffff8801db107cf0 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 1ffff1003b620fa1 RCX: ffff8801db107d08 RDX: 1ffff1003b625a14 RSI: 0000000000000000 RDI: ffff8801db12d0a0 RBP: ffff8801db107e90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 000000000002c4c0 R13: ffff8801db12c4c0 R14: ffff8801db107e68 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001b41fe000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smp_reschedule_interrupt+0xed/0x660 arch/x86/kernel/smp.c:277 reschedule_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:886 RIP: 0010:native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:54 RSP: 0018:ffff8801d9ed7cb0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff02 RAX: dffffc0000000000 RBX: 1ffff1003b3daf99 RCX: 0000000000000000 RDX: 1ffffffff1162e58 RSI: 0000000000000001 RDI: ffffffff88b172c0 RBP: ffff8801d9ed7cb0 R08: ffff8801d9ec8340 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8801d9ed7d68 R14: ffffffff88b172b0 R15: 0000000000000000 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline] default_idle+0xc2/0x440 arch/x86/kernel/process.c:354 arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:345 default_idle_call+0x6d/0x90 kernel/sched/idle.c:93 cpuidle_idle_call kernel/sched/idle.c:151 [inline] do_idle+0x2f4/0x3c0 kernel/sched/idle.c:241 cpu_startup_entry+0x104/0x120 kernel/sched/idle.c:346 start_secondary+0x426/0x5b0 arch/x86/kernel/smpboot.c:267 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:242 Code: b0 7e 49 8d bd e0 0b 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 ad 06 00 00 4d 8b bd e0 0b 00 00 <4d> 8d ae 40 ff ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48