Oops: general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 1 UID: 0 PID: 23602 Comm: syz.3.4890 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:fib6_nh_get_excptn_bucket net/ipv6/route.c:1662 [inline] RIP: 0010:rt6_find_cached_rt+0xb9/0x270 net/ipv6/route.c:1860 Code: 48 c1 e8 03 48 89 44 24 08 48 8b 44 24 08 80 3c 18 00 74 08 4c 89 f7 e8 85 75 2b f8 49 8b 2e 48 83 c5 60 48 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 48 89 ef e8 69 75 2b f8 4c 8b 6d 00 e8 f0 8e 4d RSP: 0018:ffffc9000e2b6b20 EFLAGS: 00010206 RAX: 000000000000000c RBX: dffffc0000000000 RCX: 0000000000000002 RDX: ffff888061485b80 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000060 R08: ffff88806145fa33 R09: 1ffff1100c28bf46 R10: dffffc0000000000 R11: ffffed100c28bf47 R12: ffffc9000e2b6bf8 R13: 0000000000000000 R14: ffffc9000e2b6bf0 R15: 0000000000000000 FS: 00007fc6435c56c0(0000) GS:ffff8881261b1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000010000 CR3: 0000000082e82000 CR4: 00000000003526f0 Call Trace: ip6_pol_route+0x28d/0x1180 net/ipv6/route.c:2276 pol_lookup_func include/net/ip6_fib.h:617 [inline] __fib6_rule_action net/ipv6/fib6_rules.c:237 [inline] fib6_rule_action+0x206/0x7d0 net/ipv6/fib6_rules.c:275 fib_rules_lookup+0x767/0xe90 net/core/fib_rules.c:339 fib6_rule_lookup+0x18e/0x6f0 net/ipv6/fib6_rules.c:112 ip6_route_output_flags_noref net/ipv6/route.c:2684 [inline] ip6_route_output_flags+0x364/0x5d0 net/ipv6/route.c:2696 ip6_route_output include/net/ip6_route.h:93 [inline] __nf_ip6_route+0x42/0xd0 net/ipv6/netfilter.c:116 nf_ip6_route include/linux/netfilter_ipv6.h:111 [inline] nf_reject6_fill_skb_dst net/ipv6/netfilter/nf_reject_ipv6.c:303 [inline] nf_send_unreach6+0x406/0xa30 net/ipv6/netfilter/nf_reject_ipv6.c:443 nft_reject_inet_eval+0x441/0x690 net/netfilter/nft_reject_inet.c:44 expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline] nft_do_chain+0x40c/0x1920 net/netfilter/nf_tables_core.c:285 nft_do_chain_inet+0x25d/0x340 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+0x206/0x3a0 include/linux/netfilter.h:316 __netif_receive_skb_one_core net/core/dev.c:6137 [inline] __netif_receive_skb+0xd3/0x380 net/core/dev.c:6250 netif_receive_skb_internal net/core/dev.c:6336 [inline] netif_receive_skb+0x1bb/0x750 net/core/dev.c:6395 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa3/0x3dc0 drivers/net/tun.c:1953 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc64278f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc6435c5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc6429e6090 RCX: 00007fc64278f749 RDX: 000000000000fdef RSI: 00002000000007c0 RDI: 0000000000000004 RBP: 00007fc642813f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc6429e6128 R14: 00007fc6429e6090 R15: 00007ffead44a898 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:fib6_nh_get_excptn_bucket net/ipv6/route.c:1662 [inline] RIP: 0010:rt6_find_cached_rt+0xb9/0x270 net/ipv6/route.c:1860 Code: 48 c1 e8 03 48 89 44 24 08 48 8b 44 24 08 80 3c 18 00 74 08 4c 89 f7 e8 85 75 2b f8 49 8b 2e 48 83 c5 60 48 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 48 89 ef e8 69 75 2b f8 4c 8b 6d 00 e8 f0 8e 4d RSP: 0018:ffffc9000e2b6b20 EFLAGS: 00010206 RAX: 000000000000000c RBX: dffffc0000000000 RCX: 0000000000000002 RDX: ffff888061485b80 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000060 R08: ffff88806145fa33 R09: 1ffff1100c28bf46 R10: dffffc0000000000 R11: ffffed100c28bf47 R12: ffffc9000e2b6bf8 R13: 0000000000000000 R14: ffffc9000e2b6bf0 R15: 0000000000000000 FS: 00007fc6435c56c0(0000) GS:ffff8881261b1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000010000 CR3: 0000000082e82000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 48 c1 e8 03 shr $0x3,%rax 4: 48 89 44 24 08 mov %rax,0x8(%rsp) 9: 48 8b 44 24 08 mov 0x8(%rsp),%rax e: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 12: 74 08 je 0x1c 14: 4c 89 f7 mov %r14,%rdi 17: e8 85 75 2b f8 call 0xf82b75a1 1c: 49 8b 2e mov (%r14),%rbp 1f: 48 83 c5 60 add $0x60,%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 ef mov %rbp,%rdi 33: e8 69 75 2b f8 call 0xf82b75a1 38: 4c 8b 6d 00 mov 0x0(%rbp),%r13 3c: e8 .byte 0xe8 3d: f0 lock 3e: 8e .byte 0x8e 3f: 4d rex.WRB