input: syz1 as /devices/virtual/input/input26 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 22548 Comm: syz-executor1 Not tainted 4.19.0-rc7-next-20181008+ #89 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:do_fault mm/memory.c:3524 [inline] RIP: 0010:handle_pte_fault mm/memory.c:3762 [inline] RIP: 0010:__handle_mm_fault+0x2f94/0x5a40 mm/memory.c:3886 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 a5 22 00 00 49 8b 9f 30 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 76 22 00 00 48 8b 1b 31 ff 48 83 e3 9f 48 89 de RSP: 0000:ffff8801c0c4f090 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8801c0c4f1c8 RBP: ffff8801c0c4f3c0 R08: ffffed0038189e00 R09: ffffed0038189dff R10: ffffed0038189dff R11: 0000000000000003 R12: 000ffffffffff000 R13: 0000000000000000 R14: ffff8801c0c4f178 R15: ffff8801c0c4f398 FS: 00007eff27130700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004ce398 CR3: 00000001c6cef000 CR4: 00000000001426e0 Call Trace: handle_mm_fault+0x54f/0xc70 mm/memory.c:3923 __do_page_fault+0x567/0xd10 arch/x86/mm/fault.c:1355 do_page_fault+0xed/0x7d1 arch/x86/mm/fault.c:1430 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1139 RIP: 0010:copy_user_generic_unrolled+0x86/0xc0 arch/x86/lib/copy_user_64.S:65 Code: 4c 8b 5e 38 4c 89 47 20 4c 89 4f 28 4c 89 57 30 4c 89 5f 38 48 8d 76 40 48 8d 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 <4c> 8b 06 4c 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 RSP: 0018:ffff8801c0c4f708 EFLAGS: 00010203 RAX: 0000000000000004 RBX: 000000000000000c RCX: 0000000000000001 RDX: 0000000000000004 RSI: 0000000020013ff4 RDI: ffff8801bf84c8a0 RBP: ffff8801c0c4f740 R08: ffffed0037f09916 R09: ffffed0037f09914 R10: ffffed0037f09915 R11: 0000000000000003 R12: 0000000020014000 R13: 0000000020013ff4 R14: ffff8801bf84c8a0 R15: 00007ffffffff000 copy_from_user include/linux/uaccess.h:147 [inline] ip_options_get_from_user+0x8d/0xf0 net/ipv4/ip_options.c:537 do_ip_setsockopt.isra.14+0x1b83/0x3e40 net/ipv4/ip_sockglue.c:654 ip_setsockopt+0x47/0xf0 net/ipv4/ip_sockglue.c:1248 tcp_setsockopt+0x93/0xe0 net/ipv4/tcp.c:3072 sock_common_setsockopt+0x9a/0xe0 net/core/sock.c:3038 __sys_setsockopt+0x1ba/0x3c0 net/socket.c:1903 __do_sys_setsockopt net/socket.c:1914 [inline] __se_sys_setsockopt net/socket.c:1911 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1911 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457579 Code: 1d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007eff2712fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000457579 RDX: 2000000000000004 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 000000000072bf00 R08: 000000000000000c R09: 0000000000000000 R10: 0000000020013ff4 R11: 0000000000000246 R12: 00007eff271306d4 R13: 00000000004c3fb0 R14: 00000000004d63d8 R15: 00000000ffffffff Modules linked in: ---[ end trace 7797b16724f72e2a ]--- RIP: 0010:do_fault mm/memory.c:3524 [inline] RIP: 0010:handle_pte_fault mm/memory.c:3762 [inline] RIP: 0010:__handle_mm_fault+0x2f94/0x5a40 mm/memory.c:3886 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 a5 22 00 00 49 8b 9f 30 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 76 22 00 00 48 8b 1b 31 ff 48 83 e3 9f 48 89 de RSP: 0000:ffff8801c0c4f090 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8801c0c4f1c8 RBP: ffff8801c0c4f3c0 R08: ffffed0038189e00 R09: ffffed0038189dff R10: ffffed0038189dff R11: 0000000000000003 R12: 000ffffffffff000 R13: 0000000000000000 R14: ffff8801c0c4f178 R15: ffff8801c0c4f398 FS: 00007eff27130700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004ce398 CR3: 00000001c6cef000 CR4: 00000000001426e0