Oops: general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] CPU: 1 UID: 0 PID: 32161 Comm: syz.0.6610 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:rt_cache_valid net/ipv4/route.c:1582 [inline] RIP: 0010:__mkroute_output net/ipv4/route.c:2650 [inline] RIP: 0010:ip_route_output_key_hash_rcu+0x12ba/0x25d0 net/ipv4/route.c:2875 Code: c3 31 ff 89 c6 e8 b6 9b c7 f7 85 db 74 5b e8 6d 97 c7 f7 eb 05 e8 66 97 c7 f7 4d 85 ff 74 36 49 8d 5f 3a 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 ff 10 00 00 0f b7 1b bf ff ff 00 00 89 RSP: 0018:ffffc90004d96b00 EFLAGS: 00010202 RAX: 0000000000000007 RBX: 0000000000000039 RCX: 0000000000080000 RDX: ffffc9000eec9000 RSI: 0000000000000396 RDI: 0000000000000397 RBP: 0000000080000000 R08: ffff888032db3c80 R09: 0000000000000003 R10: 0000000000000005 R11: 0000000000000002 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88806b5b6c58 R15: ffffffffffffffff FS: 00007f2c3d1056c0(0000) GS:ffff8881255b0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a23ffc CR3: 0000000079bac000 CR4: 00000000003526f0 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 inet_csk_route_req+0x63a/0xe00 net/ipv4/inet_connection_sock.c:793 tcp_conn_request+0xc7d/0x3460 net/ipv4/tcp_input.c:7717 tcp_rcv_state_process+0x1a8e/0x4810 net/ipv4/tcp_input.c:7204 tcp_v4_do_rcv+0x6bb/0x1430 net/ipv4/tcp_ipv4.c:1903 tcp_v4_rcv+0x24a4/0x31f0 net/ipv4/tcp_ipv4.c:2305 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:6149 [inline] __netif_receive_skb net/core/dev.c:6262 [inline] netif_receive_skb_internal net/core/dev.c:6348 [inline] netif_receive_skb+0x45b/0xbb0 net/core/dev.c:6407 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:0x7f2c3c15cece 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:00007f2c3d104fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2c3d1056c0 RCX: 00007f2c3c15cece RDX: 000000000000003a RSI: 0000200000000000 RDI: 00000000000000c8 RBP: 00007f2c3c232b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2c3c416038 R14: 00007f2c3c415fa0 R15: 00007fff16e04058 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:rt_cache_valid net/ipv4/route.c:1582 [inline] RIP: 0010:__mkroute_output net/ipv4/route.c:2650 [inline] RIP: 0010:ip_route_output_key_hash_rcu+0x12ba/0x25d0 net/ipv4/route.c:2875 Code: c3 31 ff 89 c6 e8 b6 9b c7 f7 85 db 74 5b e8 6d 97 c7 f7 eb 05 e8 66 97 c7 f7 4d 85 ff 74 36 49 8d 5f 3a 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 ff 10 00 00 0f b7 1b bf ff ff 00 00 89 RSP: 0018:ffffc90004d96b00 EFLAGS: 00010202 RAX: 0000000000000007 RBX: 0000000000000039 RCX: 0000000000080000 RDX: ffffc9000eec9000 RSI: 0000000000000396 RDI: 0000000000000397 RBP: 0000000080000000 R08: ffff888032db3c80 R09: 0000000000000003 R10: 0000000000000005 R11: 0000000000000002 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88806b5b6c58 R15: ffffffffffffffff FS: 00007f2c3d1056c0(0000) GS:ffff8881255b0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a23ffc CR3: 0000000079bac000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: c3 ret 1: 31 ff xor %edi,%edi 3: 89 c6 mov %eax,%esi 5: e8 b6 9b c7 f7 call 0xf7c79bc0 a: 85 db test %ebx,%ebx c: 74 5b je 0x69 e: e8 6d 97 c7 f7 call 0xf7c79780 13: eb 05 jmp 0x1a 15: e8 66 97 c7 f7 call 0xf7c79780 1a: 4d 85 ff test %r15,%r15 1d: 74 36 je 0x55 1f: 49 8d 5f 3a lea 0x3a(%r15),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 ff 10 00 00 jne 0x1136 37: 0f b7 1b movzwl (%rbx),%ebx 3a: bf ff ff 00 00 mov $0xffff,%edi 3f: 89 .byte 0x89