Buffer I/O error on dev loop0, logical block 3, lost async page write INFO: task syz-executor2:11805 blocked for more than 120 seconds. Not tainted 4.4.113-g202e079 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D ffff8800b36872c0 26896 11805 11672 0x00000004 ffff8800b36872c0 ffff8801d9456770 0000000000000024 ffff8801d9455f00 ffffffff842bdba0 0000000000000000 ffff8801db31fdb8 ffff8801db31fde0 ffff8801db31f4d8 ffff8801da3a97c0 ffff8801d9455f00 ffff8800b3687860 Call Trace: [] schedule+0x7a/0x1b0 kernel/sched/core.c:3351 [] schedule_timeout+0x3a1/0x970 kernel/time/timer.c:1508 [] io_schedule_timeout+0x1be/0x390 kernel/sched/core.c:4932 [] io_schedule include/linux/sched.h:447 [inline] [] bit_wait_io+0x1b/0xc0 kernel/sched/wait.c:595 [] __wait_on_bit+0x8c/0x140 kernel/sched/wait.c:395 [] wait_on_page_bit+0x1e5/0x210 mm/filemap.c:758 [] wait_on_page_writeback include/linux/pagemap.h:530 [inline] [] __filemap_fdatawait_range+0x1c3/0x2e0 mm/filemap.c:410 [] filemap_fdatawait_range+0x25/0x50 mm/filemap.c:440 [] filemap_write_and_wait_range+0x74/0xb0 mm/filemap.c:539 [] blkdev_fsync+0x66/0xb0 fs/block_dev.c:355 [] vfs_fsync_range+0x10a/0x250 fs/sync.c:195 [] generic_write_sync include/linux/fs.h:2497 [inline] [] blkdev_write_iter+0x398/0x490 fs/block_dev.c:1658 [] vfs_iter_write+0x1c7/0x2d0 fs/read_write.c:364 [] iter_file_splice_write+0x58a/0xae0 fs/splice.c:1024 [] do_splice_from fs/splice.c:1128 [inline] [] direct_splice_actor+0x125/0x180 fs/splice.c:1294 [] splice_direct_to_actor+0x2d2/0x830 fs/splice.c:1247 [] do_splice_direct+0x1a7/0x270 fs/splice.c:1337 [] do_sendfile+0x54c/0xd30 fs/read_write.c:1227 [] SYSC_sendfile64 fs/read_write.c:1282 [inline] [] SyS_sendfile64+0xc3/0x150 fs/read_write.c:1274 [] entry_SYSCALL_64_fastpath+0x1c/0x98 no locks held by syz-executor2/11805. Sending NMI to all CPUs: NMI backtrace for cpu 0 CPU: 0 PID: 11848 Comm: getty Not tainted 4.4.113-g202e079 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b1d70000 task.stack: ffff8800bac28000 RIP: 0010:[] [] __save_stack_address arch/x86/kernel/stacktrace.c:32 [inline] RIP: 0010:[] [] save_stack_address+0x2b/0x30 arch/x86/kernel/stacktrace.c:37 RSP: 0018:ffff8800bac2f748 EFLAGS: 00000283 RAX: 0000000000000004 RBX: 0000000000000000 RCX: 0000000000000005 RDX: ffff8800bac2f868 RSI: ffffffff814a39c8 RDI: ffff8800bac2f850 RBP: ffff8800bac2f748 R08: ffff8800bac2f850 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800bac2fad0 R13: ffffffffffff8000 R14: ffff8800bac2fad8 R15: ffffffff814a39c8 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10b4d45a30 CR3: 00000001d99d4000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8800bac2f7a0 ffffffff81017a0a ffff8800bac28000 ffff8800bac2fad0 ffff8800bac2f850 ffffffff83810aa0 0000000000000000 ffffffff83810aa0 00000000000166a0 ffff8800bac2f850 ffff8800bac2f7f0 ffff8800bac2f828 Call Trace: [] print_context_stack+0x9a/0xc0 arch/x86/kernel/dumpstack.c:109 [] dump_trace+0x145/0x350 arch/x86/kernel/dumpstack_64.c:243 [] save_stack_trace+0x26/0x50 arch/x86/kernel/stacktrace.c:63 [] save_stack+0x43/0xd0 mm/kasan/kasan.c:512 [] set_track mm/kasan/kasan.c:524 [inline] [] kasan_slab_free+0x72/0xc0 mm/kasan/kasan.c:589 [] slab_free_hook mm/slub.c:1383 [inline] [] slab_free_freelist_hook mm/slub.c:1405 [inline] [] slab_free mm/slub.c:2859 [inline] [] kmem_cache_free+0xc7/0x320 mm/slub.c:2881 [] ptlock_free+0x38/0x50 mm/memory.c:3910 [] pgtable_pmd_page_dtor include/linux/mm.h:1635 [inline] [] ___pmd_free_tlb+0x87/0x110 arch/x86/mm/pgtable.c:74 [] __pmd_free_tlb arch/x86/include/asm/pgalloc.h:106 [inline] [] free_pmd_range mm/memory.c:431 [inline] [] free_pud_range mm/memory.c:449 [inline] [] free_pgd_range+0x6e4/0x9a0 mm/memory.c:525 [] free_pgtables+0x270/0x330 mm/memory.c:557 [] exit_mmap+0x1e3/0x3a0 mm/mmap.c:2926 [] __mmput kernel/fork.c:715 [inline] [] mmput+0xf8/0x2d0 kernel/fork.c:735 [] exit_mm kernel/exit.c:440 [inline] [] do_exit+0x714/0x2a10 kernel/exit.c:742 [] do_group_exit+0x108/0x320 kernel/exit.c:885 [] SYSC_exit_group kernel/exit.c:896 [inline] [] SyS_exit_group+0x1d/0x20 kernel/exit.c:894 [] entry_SYSCALL_64_fastpath+0x1c/0x98 Code: 55 85 d2 48 89 e5 74 0d 8b 47 10 85 c0 7e 08 83 e8 01 89 47 10 5d c3 8b 07 3b 47 04 73 f7 48 8b 57 08 8d 48 01 89 0f 48 89 34 c2 <5d> c3 0f 1f 00 48 89 f8 55 49 89 f1 31 c9 48 89 e5 31 d2 53 49 NMI backtrace for cpu 1 CPU: 1 PID: 485 Comm: khungtaskd Not tainted 4.4.113-g202e079 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800bac32f80 task.stack: ffff8800bb370000 RIP: 0010:[] [] native_apic_mem_write arch/x86/include/asm/apic.h:94 [inline] RIP: 0010:[] [] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline] RIP: 0010:[] [] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline] RIP: 0010:[] [] flat_send_IPI_mask+0xf7/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69 RSP: 0018:ffff8800bb377cb8 EFLAGS: 00000046 RAX: 0000000003000000 RBX: 0000000000000c00 RCX: 0000000000000000 RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fb300 RBP: ffff8800bb377ce0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000003 R14: ffffffff8426f2e0 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa5f5cfa000 CR3: 00000001d20d8000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8426f2e0 ffffffff847ef680 fffffbfff08fd984 dffffc0000000000 ffff8801db31bca0 ffff8800bb377d00 ffffffff810b982b ffffffff839f6100 0000000000000003 ffff8800bb377d60 ffffffff81d0d6f4 0000000000000000 Call Trace: [] nmi_raise_cpu_backtrace+0x5b/0x70 arch/x86/kernel/apic/hw_nmi.c:33 [] nmi_trigger_all_cpu_backtrace+0x4a4/0x550 lib/nmi_backtrace.c:85 [] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 [] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x6fa/0xae0 kernel/hung_task.c:238 [] kthread+0x268/0x300 kernel/kthread.c:211 [] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:506 Code: b3 5f ff f6 c4 10 75 e1 44 89 e8 c1 e0 18 89 04 25 10 b3 5f ff 44 89 fa 09 da 80 cf 04 41 83 ff 02 0f 44 d3 89 14 25 00 b3 5f ff <41> f7 c4 00 02 00 00 74 1a e8 8b 20 17 00 4c 89 e7 57 9d 0f 1f