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: 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: 6e 11 09 49 83 c6 38 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 a9 71 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 8d 71 26 f8 4c 8b 3b e8 55 36 a4 RSP: 0018:ffffc9000da2edc0 EFLAGS: 00010a06 RAX: 1ffff1101194b600 RBX: ffff88808ca5b000 RCX: ffff88803b9fa480 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000080000000 R08: ffff88803b9fa480 R09: 0000000000000003 R10: 0000000000000005 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888012474558 R15: 0000000000000000 FS: 00007f4a270696c0(0000) GS:ffff88808ca5b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed101194b600 CR3: 00000000128e3000 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_route_output_key include/net/route.h:179 [inline] nf_ip_route+0x24/0x70 net/ipv4/netfilter.c:93 nf_reject_fill_skb_dst+0x198/0x380 net/ipv4/netfilter/nf_reject_ipv4.c:262 nf_send_unreach+0x1fe/0x710 net/ipv4/netfilter/nf_reject_ipv4.c:355 nft_reject_inet_eval+0x4bc/0x690 net/netfilter/nft_reject_inet.c:27 expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline] nft_do_chain+0x45e/0x1990 net/netfilter/nf_tables_core.c:285 nft_do_chain_inet+0x29d/0x380 net/netfilter/nft_chain_filter.c:161 nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline] nf_hook_slow+0xc5/0x220 net/netfilter/core.c:623 nf_hook include/linux/netfilter.h:273 [inline] NF_HOOK+0x21f/0x3c0 include/linux/netfilter.h:316 __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:0x7f4a2615cece 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:00007f4a27068fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f4a270696c0 RCX: 00007f4a2615cece RDX: 000000000000003e RSI: 0000200000000080 RDI: 00000000000000c8 RBP: 00007f4a26232b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4a26416038 R14: 00007f4a26415fa0 R15: 00007fff21de25e8 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: 6e 11 09 49 83 c6 38 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 a9 71 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 8d 71 26 f8 4c 8b 3b e8 55 36 a4 RSP: 0018:ffffc9000da2edc0 EFLAGS: 00010a06 RAX: 1ffff1101194b600 RBX: ffff88808ca5b000 RCX: ffff88803b9fa480 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000080000000 R08: ffff88803b9fa480 R09: 0000000000000003 R10: 0000000000000005 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888012474558 R15: 0000000000000000 FS: 00007f4a270696c0(0000) GS:ffff88808ca5b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed101194b600 CR3: 00000000128e3000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 6e outsb %ds:(%rsi),(%dx) 1: 11 09 adc %ecx,(%rcx) 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 a9 71 26 f8 call 0xf82671c6 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 8d 71 26 f8 call 0xf82671c6 39: 4c 8b 3b mov (%rbx),%r15 3c: e8 .byte 0xe8 3d: 55 push %rbp 3e: 36 a4 movsb %ds:(%rsi),%es:(%rdi)