BUG: unable to handle page fault for address: ffffed101194b000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 5ffd5067 P4D 5ffd5067 PUD 2fffa067 PMD 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5318 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__mkroute_output net/ipv4/route.c:2649 [inline] RIP: 0010:ip_route_output_key_hash_rcu+0x1264/0x25d0 net/ipv4/route.c:2875 Code: 43 11 09 49 83 c6 38 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 79 38 26 f8 49 03 1e 4d 89 fd 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 5d 38 26 f8 4c 8b 3b e8 a5 4a a4 RSP: 0018:ffffc9000db3eb60 EFLAGS: 00010a06 RAX: 1ffff1101194b000 RBX: ffff88808ca58000 RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 000000000000036c RDI: 000000000000036d RBP: 0000000080000000 R08: ffff88801f9bc980 R09: 0000000000000003 R10: 0000000000000005 R11: 0000000000000002 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888042493b58 R15: 0000000000000000 FS: 00007f1ae237b6c0(0000) GS:ffff88808ca58000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed101194b000 CR3: 0000000013193000 CR4: 0000000000352ef0 Call Trace: ip_route_output_key_hash+0x18d/0x2a0 net/ipv4/route.c:2705 __ip_route_output_key include/net/route.h:169 [inline] ip_route_output_flow+0x2a/0x150 net/ipv4/route.c:2932 ip_send_unicast_reply+0x721/0x18a0 net/ipv4/ip_output.c:1646 tcp_v4_send_reset+0x15a6/0x26e0 net/ipv4/tcp_ipv4.c:910 tcp_v4_rcv+0x21e2/0x31f0 net/ipv4/tcp_ipv4.c:2349 ip_protocol_deliver_rcu+0x221/0x440 net/ipv4/ip_input.c:207 ip_local_deliver_finish+0x3bb/0x6f0 net/ipv4/ip_input.c:241 NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:318 NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:318 __netif_receive_skb_one_core net/core/dev.c:6167 [inline] __netif_receive_skb net/core/dev.c:6280 [inline] netif_receive_skb_internal net/core/dev.c:6366 [inline] netif_receive_skb+0x45b/0xc50 net/core/dev.c:6425 tun_rx_batched+0x1de/0x790 drivers/net/tun.c:1485 tun_get_user+0x2a78/0x3dd0 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x61d/0xb90 fs/read_write.c:688 ksys_write+0x150/0x270 fs/read_write.c:740 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1ae155cfce Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f1ae237af78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f1ae237b6c0 RCX: 00007f1ae155cfce RDX: 000000000000007a RSI: 0000200000000380 RDI: 00000000000000c8 RBP: 00007f1ae1632bd9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1ae1816128 R14: 00007f1ae1816090 R15: 00007ffcc33af8f8 Modules linked in: CR2: ffffed101194b000 ---[ end trace 0000000000000000 ]--- RIP: 0010:__mkroute_output net/ipv4/route.c:2649 [inline] RIP: 0010:ip_route_output_key_hash_rcu+0x1264/0x25d0 net/ipv4/route.c:2875 Code: 43 11 09 49 83 c6 38 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 79 38 26 f8 49 03 1e 4d 89 fd 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 5d 38 26 f8 4c 8b 3b e8 a5 4a a4 RSP: 0018:ffffc9000db3eb60 EFLAGS: 00010a06 RAX: 1ffff1101194b000 RBX: ffff88808ca58000 RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 000000000000036c RDI: 000000000000036d RBP: 0000000080000000 R08: ffff88801f9bc980 R09: 0000000000000003 R10: 0000000000000005 R11: 0000000000000002 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888042493b58 R15: 0000000000000000 FS: 00007f1ae237b6c0(0000) GS:ffff88808ca58000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed101194b000 CR3: 0000000013193000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 43 11 09 rex.XB adc %ecx,(%r9) 3: 49 83 c6 38 add $0x38,%r14 7: 4c 89 f0 mov %r14,%rax a: 48 c1 e8 03 shr $0x3,%rax e: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 13: 74 08 je 0x1d 15: 4c 89 f7 mov %r14,%rdi 18: e8 79 38 26 f8 call 0xf8263896 1d: 49 03 1e add (%r14),%rbx 20: 4d 89 fd mov %r15,%r13 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 5d 38 26 f8 call 0xf8263896 39: 4c 8b 3b mov (%rbx),%r15 3c: e8 .byte 0xe8 3d: a5 movsl %ds:(%rsi),%es:(%rdi) 3e: 4a a4 rex.WX movsb %ds:(%rsi),%es:(%rdi)