BUG: unable to handle page fault for address: ffffed101194b600 #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: 5320 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: 61 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 5f 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 5f 26 f8 4c 8b 3b e8 d5 38 a4 RSP: 0018:ffffc9000e25eb60 EFLAGS: 00010a06 RAX: 1ffff1101194b600 RBX: ffff88808ca5b000 RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 0000000000000613 RDI: 0000000000000614 RBP: 0000000080000000 R08: ffff88803614a480 R09: 0000000000000003 R10: 0000000000000005 R11: 0000000000000002 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88803841fe58 R15: 0000000000000000 FS: 00007f9276c016c0(0000) GS:ffff88808ca5b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed101194b600 CR3: 0000000011be3000 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:2343 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:6156 [inline] __netif_receive_skb net/core/dev.c:6269 [inline] netif_receive_skb_internal net/core/dev.c:6355 [inline] netif_receive_skb+0x45b/0xc50 net/core/dev.c:6414 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:0x7f9275d5cece 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:00007f9276c00fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9276c016c0 RCX: 00007f9275d5cece RDX: 0000000000000036 RSI: 0000200000000140 RDI: 00000000000000c8 RBP: 00007f9275e32b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9276016128 R14: 00007f9276016090 R15: 00007ffe0c39cdc8 Modules linked in: CR2: ffffed101194b600 ---[ 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: 61 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 5f 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 5f 26 f8 4c 8b 3b e8 d5 38 a4 RSP: 0018:ffffc9000e25eb60 EFLAGS: 00010a06 RAX: 1ffff1101194b600 RBX: ffff88808ca5b000 RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 0000000000000613 RDI: 0000000000000614 RBP: 0000000080000000 R08: ffff88803614a480 R09: 0000000000000003 R10: 0000000000000005 R11: 0000000000000002 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88803841fe58 R15: 0000000000000000 FS: 00007f9276c016c0(0000) GS:ffff88808ca5b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed101194b600 CR3: 0000000011be3000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 11 09 adc %ecx,(%rcx) 2: 49 83 c6 38 add $0x38,%r14 6: 4c 89 f0 mov %r14,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 12: 74 08 je 0x1c 14: 4c 89 f7 mov %r14,%rdi 17: e8 79 5f 26 f8 call 0xf8265f95 1c: 49 03 1e add (%r14),%rbx 1f: 4d 89 fd mov %r15,%r13 22: 48 89 d8 mov %rbx,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 5d 5f 26 f8 call 0xf8265f95 38: 4c 8b 3b mov (%rbx),%r15 3b: e8 .byte 0xe8 3c: d5 38 a4 (bad)