Oops: general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 0 UID: 0 PID: 12718 Comm: syz.3.1646 Not tainted 6.16.0-rc1-syzkaller-00102-g5466491c9e33 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 f5 bc 07 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 d9 bc 07 f8 4c 8b 6d 00 e8 40 16 4a RSP: 0018:ffffc90003c9f100 EFLAGS: 00010206 RAX: 000000000000000c RBX: dffffc0000000000 RCX: 0000000000000000 RDX: ffff888035841e00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000060 R08: ffff88807eb4e033 R09: 1ffff1100fd69c06 R10: dffffc0000000000 R11: ffffed100fd69c07 R12: ffffc90003c9f1d8 R13: 0000000000000000 R14: ffffc90003c9f1d0 R15: 0000000000000000 FS: 00007f4a6ed906c0(0000) GS:ffff888125c52000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a6ed6fd58 CR3: 000000007ebbc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip6_pol_route+0x28d/0x1180 net/ipv6/route.c:2275 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:2683 [inline] ip6_route_output_flags+0x364/0x5d0 net/ipv6/route.c:2695 ip6_dst_lookup_tail+0x299/0x1510 net/ipv6/ip6_output.c:1156 ip6_dst_lookup_flow+0x47/0xe0 net/ipv6/ip6_output.c:1259 sctp_v6_get_dst+0x7cc/0x1bc0 net/sctp/ipv6.c:326 sctp_transport_pmtu+0x12f/0x5d0 net/sctp/transport.c:245 sctp_transport_route+0x186/0x2f0 net/sctp/transport.c:464 sctp_assoc_add_peer+0x657/0x13b0 net/sctp/associola.c:663 sctp_connect_new_asoc+0x30a/0x690 net/sctp/socket.c:1100 __sctp_connect+0x5ba/0xd50 net/sctp/socket.c:1198 __sctp_setsockopt_connectx net/sctp/socket.c:1337 [inline] sctp_getsockopt_connectx3+0x2c4/0x440 net/sctp/socket.c:1422 sctp_getsockopt+0x98a/0xb60 net/sctp/socket.c:8134 do_sock_getsockopt+0x35d/0x650 net/socket.c:2357 __sys_getsockopt net/socket.c:2386 [inline] __do_sys_getsockopt net/socket.c:2393 [inline] __se_sys_getsockopt net/socket.c:2390 [inline] __x64_sys_getsockopt+0x1a5/0x250 net/socket.c:2390 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4a6df8e929 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:00007f4a6ed90038 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007f4a6e1b5fa0 RCX: 00007f4a6df8e929 RDX: 000000000000006f RSI: 0000000000000084 RDI: 0000000000000003 RBP: 00007f4a6e010b39 R08: 00002000000002c0 R09: 0000000000000000 R10: 0000200000000280 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4a6e1b5fa0 R15: 00007ffd448497e8 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 f5 bc 07 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 d9 bc 07 f8 4c 8b 6d 00 e8 40 16 4a RSP: 0018:ffffc90003c9f100 EFLAGS: 00010206 RAX: 000000000000000c RBX: dffffc0000000000 RCX: 0000000000000000 RDX: ffff888035841e00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000060 R08: ffff88807eb4e033 R09: 1ffff1100fd69c06 R10: dffffc0000000000 R11: ffffed100fd69c07 R12: ffffc90003c9f1d8 R13: 0000000000000000 R14: ffffc90003c9f1d0 R15: 0000000000000000 FS: 00007f4a6ed906c0(0000) GS:ffff888125c52000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f62f737e2d8 CR3: 000000007ebbc000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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 f5 bc 07 f8 call 0xf807bd11 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 d9 bc 07 f8 call 0xf807bd11 38: 4c 8b 6d 00 mov 0x0(%rbp),%r13 3c: e8 .byte 0xe8 3d: 40 16 rex (bad) 3f: 4a rex.WX