general protection fault, probably for non-canonical address 0xdffffc000000005c: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000002e0-0x00000000000002e7] CPU: 1 PID: 22477 Comm: syz.3.6717 Tainted: G W 5.10.238-syzkaller-00282-gd76d4cd0623a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__in6_dev_get include/net/addrconf.h:343 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:434 [inline] RIP: 0010:find_match+0xa7/0xd60 net/ipv6/route.c:739 Code: 41 80 7c 05 00 00 74 08 4c 89 f7 e8 73 70 a9 fd 41 bc e0 02 00 00 4d 03 26 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 4b 70 a9 fd 4d 8b 24 24 4d 85 e4 0f RSP: 0018:ffffc90000c96cd0 EFLAGS: 00010206 RAX: 000000000000005c RBX: 0000000000000002 RCX: dffffc0000000000 RDX: ffff88811a1ae2c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000c96d58 R08: ffffc90000c97080 R09: ffffc90000c97090 R10: fffff52000192e32 R11: 1ffff92000192e2e R12: 00000000000002e0 R13: 1ffff110223300e4 R14: ffff888111980720 R15: 0000000000000000 FS: 00007fd6bbcdf6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011de77000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rt6_nh_find_match+0xd9/0x140 net/ipv6/route.c:779 nexthop_for_each_fib6_nh+0xf6/0x1e0 net/ipv4/nexthop.c:602 __find_rr_leaf+0x50f/0x900 net/ipv6/route.c:820 find_rr_leaf net/ipv6/route.c:848 [inline] rt6_select net/ipv6/route.c:892 [inline] fib6_table_lookup+0x2f4/0x9f0 net/ipv6/route.c:2190 ip6_pol_route+0x145/0x1110 net/ipv6/route.c:2226 ip6_pol_route_output+0x51/0x80 net/ipv6/route.c:2475 pol_lookup_func include/net/ip6_fib.h:594 [inline] fib6_rule_lookup+0x2ef/0x560 net/ipv6/fib6_rules.c:120 ip6_route_output_flags_noref+0x248/0x2f0 net/ipv6/route.c:2507 ip6_route_output_flags+0x3c/0x200 net/ipv6/route.c:2520 ip6_route_output include/net/ip6_route.h:98 [inline] vti_xmit net/ipv4/ip_vti.c:197 [inline] vti_tunnel_xmit+0x9e8/0x12b0 net/ipv4/ip_vti.c:302 __netdev_start_xmit include/linux/netdevice.h:4864 [inline] netdev_start_xmit include/linux/netdevice.h:4878 [inline] xmit_one net/core/dev.c:3608 [inline] dev_hard_start_xmit+0x244/0x670 net/core/dev.c:3624 __dev_queue_xmit+0x1446/0x2540 net/core/dev.c:4210 dev_queue_xmit+0x17/0x20 net/core/dev.c:4243 __bpf_tx_skb net/core/filter.c:2128 [inline] __bpf_redirect_no_mac net/core/filter.c:2162 [inline] __bpf_redirect+0x699/0xe30 net/core/filter.c:2185 ____bpf_clone_redirect net/core/filter.c:2469 [inline] bpf_clone_redirect+0x242/0x380 net/core/filter.c:2441 bpf_prog_c9d58f5b8698340d+0x56/0xcc4 bpf_dispatcher_nop_func include/linux/bpf.h:669 [inline] bpf_test_run+0x310/0x9b0 net/bpf/test_run.c:116 bpf_prog_test_run_skb+0x9c2/0x10b0 net/bpf/test_run.c:635 bpf_prog_test_run+0x350/0x3c0 kernel/bpf/syscall.c:3156 __do_sys_bpf kernel/bpf/syscall.c:4453 [inline] __se_sys_bpf+0x49f/0x680 kernel/bpf/syscall.c:4391 __x64_sys_bpf+0x7b/0x90 kernel/bpf/syscall.c:4391 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fd6bd676929 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:00007fd6bbcdf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fd6bd89dfa0 RCX: 00007fd6bd676929 RDX: 000000000000002c RSI: 0000200000000080 RDI: 000000000000000a RBP: 00007fd6bd6f8b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd6bd89dfa0 R15: 00007ffc5bee3738 Modules linked in: ---[ end trace c654c0f6a3e2540a ]--- RIP: 0010:__in6_dev_get include/net/addrconf.h:343 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:434 [inline] RIP: 0010:find_match+0xa7/0xd60 net/ipv6/route.c:739 Code: 41 80 7c 05 00 00 74 08 4c 89 f7 e8 73 70 a9 fd 41 bc e0 02 00 00 4d 03 26 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 e7 e8 4b 70 a9 fd 4d 8b 24 24 4d 85 e4 0f RSP: 0018:ffffc90000c96cd0 EFLAGS: 00010206 RAX: 000000000000005c RBX: 0000000000000002 RCX: dffffc0000000000 RDX: ffff88811a1ae2c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000c96d58 R08: ffffc90000c97080 R09: ffffc90000c97090 R10: fffff52000192e32 R11: 1ffff92000192e2e R12: 00000000000002e0 R13: 1ffff110223300e4 R14: ffff888111980720 R15: 0000000000000000 FS: 00007fd6bbcdf6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011de77000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 80 7c 05 00 00 cmpb $0x0,0x0(%r13,%rax,1) 6: 74 08 je 0x10 8: 4c 89 f7 mov %r14,%rdi b: e8 73 70 a9 fd call 0xfda97083 10: 41 bc e0 02 00 00 mov $0x2e0,%r12d 16: 4d 03 26 add (%r14),%r12 19: 4c 89 e0 mov %r12,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 e7 mov %r12,%rdi 33: e8 4b 70 a9 fd call 0xfda97083 38: 4d 8b 24 24 mov (%r12),%r12 3c: 4d 85 e4 test %r12,%r12 3f: 0f .byte 0xf