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: 0 PID: 4699 Comm: syz-executor.2 Not tainted 5.2.0-rc1+ #5 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rt_cache_valid+0x33/0x190 net/ipv4/route.c:1560 Code: 31 e4 53 48 89 fb e8 0c e7 8a fb 48 85 db 74 4f e8 02 e7 8a fb 48 8d 7b 3a 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 07 RSP: 0018:ffff888063057050 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 00000000000000bb RCX: ffffc90008022000 RDX: 000000000000001e RSI: ffffffff85e5bd6e RDI: 00000000000000f5 RBP: ffff888063057068 R08: ffff8880a8dc6200 R09: ffffed1015d06be0 R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: 0000000000000000 R13: ffff888094c314e8 R14: ffff8880630572f8 R15: ffff888091e8f000 FS: 00007f58cfbcb700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000046e880 CR3: 00000000a8179000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mkroute_output net/ipv4/route.c:2336 [inline] ip_route_output_key_hash_rcu+0x819/0x2d50 net/ipv4/route.c:2568 ip_route_output_key_hash+0x1ef/0x360 net/ipv4/route.c:2397 __ip_route_output_key include/net/route.h:129 [inline] ip_route_output_flow+0x28/0xc0 net/ipv4/route.c:2655 dccp_v4_route_skb net/dccp/ipv4.c:472 [inline] dccp_v4_ctl_send_reset+0x79d/0x11c0 net/dccp/ipv4.c:528 dccp_v4_rcv+0x1657/0x1be5 net/dccp/ipv4.c:894 ip_protocol_deliver_rcu+0x5a/0x8e0 net/ipv4/ip_input.c:211 ip_local_deliver_finish+0x23b/0x390 net/ipv4/ip_input.c:238 NF_HOOK include/linux/netfilter.h:305 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] ip_local_deliver+0x1e9/0x520 net/ipv4/ip_input.c:259 dst_input include/net/dst.h:439 [inline] ip_rcv_finish+0x1d9/0x2f0 net/ipv4/ip_input.c:420 NF_HOOK include/linux/netfilter.h:305 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] ip_rcv+0xe8/0x3f0 net/ipv4/ip_input.c:530 __netif_receive_skb_one_core+0x113/0x1a0 net/core/dev.c:4990 __netif_receive_skb+0x2c/0x1d0 net/core/dev.c:5104 netif_receive_skb_internal+0x117/0x5c0 net/core/dev.c:5207 napi_frags_finish net/core/dev.c:5774 [inline] napi_gro_frags+0xada/0xd10 net/core/dev.c:5848 tun_get_user+0x2f3c/0x3ff0 drivers/net/tun.c:1991 tun_chr_write_iter+0xbd/0x156 drivers/net/tun.c:2037 call_write_iter include/linux/fs.h:1872 [inline] do_iter_readv_writev+0x5f8/0x8f0 fs/read_write.c:693 do_iter_write fs/read_write.c:970 [inline] do_iter_write+0x184/0x610 fs/read_write.c:951 vfs_writev+0x1b3/0x2f0 fs/read_write.c:1015 do_writev+0x15b/0x330 fs/read_write.c:1058 __do_sys_writev fs/read_write.c:1131 [inline] __se_sys_writev fs/read_write.c:1128 [inline] __x64_sys_writev+0x75/0xb0 fs/read_write.c:1128 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459131 Code: 75 14 b8 14 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 b9 fb ff c3 48 83 ec 08 e8 fa 2c 00 00 48 89 04 24 b8 14 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 43 2d 00 00 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f58cfbcaba0 EFLAGS: 00000293 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 0000000000000140 RCX: 0000000000459131 RDX: 0000000000000001 RSI: 00007f58cfbcac00 RDI: 00000000000000f0 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f58cfbcb6d4 R13: 00000000004c7d21 R14: 00000000004de160 R15: 00000000ffffffff Modules linked in: ---[ end trace f15152d3b2d43858 ]--- RIP: 0010:rt_cache_valid+0x33/0x190 net/ipv4/route.c:1560 Code: 31 e4 53 48 89 fb e8 0c e7 8a fb 48 85 db 74 4f e8 02 e7 8a fb 48 8d 7b 3a 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 07 RSP: 0018:ffff888063057050 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 00000000000000bb RCX: ffffc90008022000 RDX: 000000000000001e RSI: ffffffff85e5bd6e RDI: 00000000000000f5 RBP: ffff888063057068 R08: ffff8880a8dc6200 R09: ffffed1015d06be0 R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: 0000000000000000 R13: ffff888094c314e8 R14: ffff8880630572f8 R15: ffff888091e8f000 FS: 00007f58cfbcb700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000046e880 CR3: 00000000a8179000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400