Buffer I/O error on dev loop0, logical block 3, async page read INFO: task syz-executor0:4560 blocked for more than 120 seconds. Not tainted 4.16.0+ #17 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D20696 4560 1 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 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3607 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0xe38/0x17f0 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 __blkdev_get+0x193/0x13a0 fs/block_dev.c:1460 blkdev_get+0xb9/0xb30 fs/block_dev.c:1611 blkdev_open+0x1fb/0x280 fs/block_dev.c:1769 do_dentry_open+0x7ef/0xf10 fs/open.c:784 vfs_open+0x139/0x230 fs/open.c:906 do_last fs/namei.c:3365 [inline] path_openat+0x1676/0x4e20 fs/namei.c:3501 do_filp_open+0x249/0x350 fs/namei.c:3535 do_sys_open+0x59a/0x770 fs/open.c:1093 SYSC_open fs/open.c:1111 [inline] SyS_open+0x2d/0x40 fs/open.c:1106 do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x40f490 RSP: 002b:0000000000a3eab8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000327 RCX: 000000000040f490 RDX: 0000000000a3f87a RSI: 0000000000000002 RDI: 0000000000a3f870 RBP: 0000000000a3eae0 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000013 R13: 0000000000000000 R14: 00000000006fe800 R15: 0000000000001380 Showing all locks held in the system: 2 locks held by khungtaskd/888: #0: 00000000c55b6a14 (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: 00000000c55b6a14 (rcu_read_lock){....}, at: watchdog+0x1ff/0xf60 kernel/hung_task.c:249 #1: 000000000c909b29 (tasklist_lock){.+.+}, at: debug_show_all_locks+0xde/0x34a kernel/locking/lockdep.c:4470 2 locks held by getty/4485: #0: 000000003972e009 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000004d15cc49 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4486: #0: 0000000042e27d35 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000efd4a9c4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4487: #0: 000000004a0e4f96 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000bee9ea0d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4488: #0: 0000000095ea96ca (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000000dd8e0f1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4489: #0: 00000000149f6873 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000487a4558 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4490: #0: 000000000d2d6951 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000001e024aa2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4491: #0: 000000000e9fbc9a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000fad234c3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 1 lock held by syz-executor0/4560: #0: 000000006e188a61 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x193/0x13a0 fs/block_dev.c:1460 3 locks held by kworker/u4:4/6080: #0: 00000000e7cb5cdd ((wq_completion)"writeback"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 00000000e7cb5cdd ((wq_completion)"writeback"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000e7cb5cdd ((wq_completion)"writeback"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000e7cb5cdd ((wq_completion)"writeback"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: 00000000e7cb5cdd ((wq_completion)"writeback"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000e7cb5cdd ((wq_completion)"writeback"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000e7cb5cdd ((wq_completion)"writeback"){+.+.}, at: process_one_work+0xaef/0x1b50 kernel/workqueue.c:2116 #1: 00000000d61b2f99 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0xb46/0x1b50 kernel/workqueue.c:2120 #2: 00000000763a30ee (&type->s_umount_key#35){.+.+}, at: trylock_super+0x22/0x110 fs/super.c:395 1 lock held by blkid/32542: #0: 000000006e188a61 (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x34/0x540 fs/block_dev.c:1810 1 lock held by syz-executor2/1850: #0: 000000006e188a61 (&bdev->bd_mutex){+.+.}, at: iterate_bdevs+0xce/0x291 fs/block_dev.c:2162 1 lock held by syz-executor2/1924: #0: 000000006e188a61 (&bdev->bd_mutex){+.+.}, at: iterate_bdevs+0xce/0x291 fs/block_dev.c:2162 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 888 Comm: khungtaskd Not tainted 4.16.0+ #17 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 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:54