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: 13627 Comm: syz.3.1658 Not tainted 6.15.0-syzkaller-12438-gd9816ec74e6d #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 85 12 08 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 12 08 f8 4c 8b 6d 00 e8 a0 04 4a RSP: 0018:ffffc9000452f360 EFLAGS: 00010206 RAX: 000000000000000c RBX: dffffc0000000000 RCX: 0000000000000002 RDX: ffff888031863c00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000060 R08: ffff88807d756d33 R09: 1ffff1100faeada6 R10: dffffc0000000000 R11: ffffed100faeada7 R12: ffffc9000452f438 R13: 0000000000000000 R14: ffffc9000452f430 R15: 0000000000000000 FS: 00007efe709a26c0(0000) GS:ffff888125d55000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c37be5d CR3: 0000000033048000 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_lookup+0x348/0x6f0 net/ipv6/fib6_rules.c:125 ip6_route_output_flags_noref net/ipv6/route.c:2683 [inline] ip6_route_output_flags+0x364/0x5d0 net/ipv6/route.c:2695 ip6_route_output include/net/ip6_route.h:93 [inline] ip6_dst_lookup_tail+0x1ae/0x1510 net/ipv6/ip6_output.c:1128 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_route+0x115/0x2f0 net/sctp/transport.c:457 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_setsockopt_connectx+0x100/0x1b0 net/sctp/socket.c:1364 sctp_setsockopt+0x6d9/0x1200 net/sctp/socket.c:4623 do_sock_setsockopt+0x257/0x3e0 net/socket.c:2296 __sys_setsockopt net/socket.c:2321 [inline] __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __x64_sys_setsockopt+0x18b/0x220 net/socket.c:2324 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:0x7efe6fb8e929 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:00007efe709a2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007efe6fdb5fa0 RCX: 00007efe6fb8e929 RDX: 000000000000006e RSI: 0000000000000084 RDI: 0000000000000004 RBP: 00007efe6fc10b39 R08: 0000000000000038 R09: 0000000000000000 R10: 00002000000001c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efe6fdb5fa0 R15: 00007ffc0abd65e8 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 12 08 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 12 08 f8 4c 8b 6d 00 e8 a0 04 4a RSP: 0018:ffffc9000452f360 EFLAGS: 00010206 RAX: 000000000000000c RBX: dffffc0000000000 RCX: 0000000000000002 RDX: ffff888031863c00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000060 R08: ffff88807d756d33 R09: 1ffff1100faeada6 R10: dffffc0000000000 R11: ffffed100faeada7 R12: ffffc9000452f438 R13: 0000000000000000 R14: ffffc9000452f430 R15: 0000000000000000 FS: 00007efe709a26c0(0000) GS:ffff888125d55000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efe7095ff98 CR3: 0000000033048000 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 85 12 08 f8 call 0xf80812a1 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 12 08 f8 call 0xf80812a1 38: 4c 8b 6d 00 mov 0x0(%rbp),%r13 3c: e8 .byte 0xe8 3d: a0 .byte 0xa0 3e: 04 4a add $0x4a,%al