kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: handle_userfault: 60 callbacks suppressed FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 4058 Comm: syz-executor1 Not tainted 4.14.0-rc5-next-20171018+ #36 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:16 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:52 handle_userfault+0x11ec/0x23a0 fs/userfaultfd.c:427 do_anonymous_page mm/memory.c:3121 [inline] handle_pte_fault mm/memory.c:3934 [inline] __handle_mm_fault+0x2d46/0x39c0 mm/memory.c:4060 handle_mm_fault+0x334/0x8d0 mm/memory.c:4097 __do_page_fault+0x5bd/0xd60 arch/x86/mm/fault.c:1438 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1514 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1066 RIP: 0010:fault_in_pages_readable include/linux/pagemap.h:604 [inline] RIP: 0010:iov_iter_fault_in_readable+0x1a7/0x410 lib/iov_iter.c:421 RSP: 0018:ffff8801c8717928 EFLAGS: 00010246 RAX: 0000000000010000 RBX: 0000000020011fd2 RCX: ffffffff823f2271 RDX: 0000000000000108 RSI: ffffc9000307f000 RDI: ffff8801c8717d28 RBP: ffff8801c8717a08 R08: 0000000000000001 R09: 1ffff100390e2ee7 R10: ffff8801c8717858 R11: 0000000000000003 R12: 1ffff100390e2f28 R13: ffff8801c87179e0 R14: 0000000000000000 R15: ffff8801c8717d20 generic_perform_write+0x200/0x600 mm/filemap.c:3128 __generic_file_write_iter+0x366/0x5b0 mm/filemap.c:3263 generic_file_write_iter+0x399/0x790 mm/filemap.c:3291 call_write_iter include/linux/fs.h:1770 [inline] new_sync_write fs/read_write.c:468 [inline] __vfs_write+0x684/0x970 fs/read_write.c:481 vfs_write+0x189/0x510 fs/read_write.c:543 SYSC_write fs/read_write.c:588 [inline] SyS_write+0xef/0x220 fs/read_write.c:580 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x452869 RSP: 002b:00007fc16750dbe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452869 RDX: 000000000000001c RSI: 0000000020011fd2 RDI: 0000000000000015 RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ee8b0 R13: 00000000ffffffff R14: 00007fc16750e6d4 R15: 0000000000000000 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 4067 Comm: syz-executor1 Not tainted 4.14.0-rc5-next-20171018+ #36 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:16 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:52 handle_userfault+0x11ec/0x23a0 fs/userfaultfd.c:427 do_anonymous_page mm/memory.c:3121 [inline] handle_pte_fault mm/memory.c:3934 [inline] __handle_mm_fault+0x2d46/0x39c0 mm/memory.c:4060 handle_mm_fault+0x334/0x8d0 mm/memory.c:4097 __do_page_fault+0x5bd/0xd60 arch/x86/mm/fault.c:1438 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1514 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1066 RIP: 0010:fault_in_pages_readable include/linux/pagemap.h:604 [inline] RIP: 0010:iov_iter_fault_in_readable+0x1a7/0x410 lib/iov_iter.c:421 RSP: 0018:ffff8801c11cf928 EFLAGS: 00010246 RAX: 0000000000010000 RBX: 0000000020011fd2 RCX: ffffffff823f2271 RDX: 000000000000007d RSI: ffffc90003100000 RDI: ffff8801c11cfd28 RBP: ffff8801c11cfa08 R08: 1ffff1003931058a R09: 1ffff10038239f22 R10: ffff8801c11cfa50 R11: ffffffff87025e48 R12: 1ffff10038239f28 R13: ffff8801c11cf9e0 R14: 0000000000000000 R15: ffff8801c11cfd20 generic_perform_write+0x200/0x600 mm/filemap.c:3128 __generic_file_write_iter+0x366/0x5b0 mm/filemap.c:3263 generic_file_write_iter+0x399/0x790 mm/filemap.c:3291 call_write_iter include/linux/fs.h:1770 [inline] new_sync_write fs/read_write.c:468 [inline] __vfs_write+0x684/0x970 fs/read_write.c:481 vfs_write+0x189/0x510 fs/read_write.c:543 SYSC_write fs/read_write.c:588 [inline] SyS_write+0xef/0x220 fs/read_write.c:580 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x452869 RSP: 002b:00007fc1674ecbe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000007580d8 RCX: 0000000000452869 RDX: 000000000000001c RSI: 0000000020011fd2 RDI: 0000000000000015 RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a6f7ff R14: 00007fc1674ed9c0 R15: 000000000000000b CPU: 0 PID: 4087 Comm: syz-executor5 Not tainted 4.14.0-rc5-next-20171018+ #36 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d958e3c0 task.stack: ffff8801d50a0000 RIP: 0010:__read_once_size include/linux/compiler.h:276 [inline] RIP: 0010:hrtimer_active+0x211/0x410 kernel/time/hrtimer.c:1142 RSP: 0018:ffff8801d50a7738 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 1ffff1003aa14f14 RCX: ffffffff815ef89f RDX: 0000000000000069 RSI: ffffc900021e2000 RDI: ffff8801c9233be0 RBP: ffff8801d50a7878 R08: ffffffff83f9e367 R09: 0000000000000004 R10: ffff8801d50a7be0 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffed003aa14ef2 R15: dffffc0000000000 FS: 00007f4b1aac1700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020ff4ffc CR3: 00000001c0ecb000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: hrtimer_try_to_cancel+0x91/0x5c0 kernel/time/hrtimer.c:1006 hrtimer_cancel+0x22/0x40 kernel/time/hrtimer.c:1032 napi_disable+0x87/0xa0 net/core/dev.c:5552 tun_napi_disable drivers/net/tun.c:290 [inline] __tun_detach+0xe26/0x1570 drivers/net/tun.c:617 tun_detach drivers/net/tun.c:664 [inline] tun_chr_close+0x44/0x60 drivers/net/tun.c:2835 __fput+0x327/0x7e0 fs/file_table.c:210 ____fput+0x15/0x20 fs/file_table.c:244 task_work_run+0x199/0x270 kernel/task_work.c:112 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x296/0x310 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath+0x42f/0x510 arch/x86/entry/common.c:266 entry_SYSCALL_64_fastpath+0xbc/0xbe RIP: 0033:0x452869 RSP: 002b:00007f4b1aac0be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000021 RAX: 0000000000000016 RBX: 0000000000758020 RCX: 0000000000452869 RDX: 0000000000000000 RSI: 0000000000000016 RDI: 0000000000000015 RBP: 0000000000000059 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ee8f8 R13: 00000000ffffffff R14: 00007f4b1aac16d4 R15: 0000000000000000 Code: c6 00 00 48 8b 85 d8 fe ff ff 48 c1 e8 03 42 80 3c 38 00 0f 85 f2 01 00 00 48 8b 85 e8 fe ff ff 4c 8b 60 30 4c 89 e0 48 c1 e8 03 <42> 80 3c 38 00 0f 85 c8 01 00 00 48 8b 85 f0 fe ff ff 49 8b 1c RIP: __read_once_size include/linux/compiler.h:276 [inline] RSP: ffff8801d50a7738 RIP: hrtimer_active+0x211/0x410 kernel/time/hrtimer.c:1142 RSP: ffff8801d50a7738 ---[ end trace 729787a6f256c759 ]--- sctp: [Deprecated]: syz-executor5 (pid 4103) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead