Oops: general protection fault, probably for non-canonical address 0xdffffc0000000018: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7] CPU: 0 UID: 0 PID: 9582 Comm: syz.6.937 Not tainted 6.15.0-rc3-syzkaller-00244-gc3137514f1f1 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__in6_dev_get include/net/addrconf.h:347 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:443 [inline] RIP: 0010:find_match+0x136/0x15d0 net/ipv6/route.c:781 Code: 48 c1 ea 03 80 3c 02 00 0f 85 ac 11 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 7d 00 49 8d bf c0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 93 11 00 00 4d 8b bf c0 00 00 00 e8 44 10 50 01 RSP: 0018:ffffc9000363eb90 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000003 RCX: ffffc9002a239000 RDX: 0000000000000018 RSI: ffffffff8a18a5cf RDI: 00000000000000c0 RBP: ffffc9000363ec98 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880437f9e37 R13: ffff8880437f9e20 R14: 1ffff920006c7d81 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880977ef000(0063) knlGS:00000000f4ffcb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002c413ffc CR3: 0000000024236000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rt6_nh_find_match+0xfa/0x1a0 net/ipv6/route.c:821 nexthop_for_each_fib6_nh+0x165/0x4a0 net/ipv4/nexthop.c:1515 __find_rr_leaf+0x6e5/0xe00 net/ipv6/route.c:862 find_rr_leaf net/ipv6/route.c:890 [inline] rt6_select net/ipv6/route.c:934 [inline] fib6_table_lookup+0x57c/0xa30 net/ipv6/route.c:2230 ip6_pol_route+0x1cc/0x1230 net/ipv6/route.c:2266 pol_lookup_func include/net/ip6_fib.h:616 [inline] fib6_rule_lookup+0x386/0x720 net/ipv6/fib6_rules.c:125 ip6_route_output_flags_noref net/ipv6/route.c:2674 [inline] ip6_route_output_flags+0x1d0/0x640 net/ipv6/route.c:2686 ip6_route_output include/net/ip6_route.h:93 [inline] ip6_dst_lookup_tail.constprop.0+0xa52/0x2140 net/ipv6/ip6_output.c:1128 ip6_dst_lookup_flow+0x99/0x1d0 net/ipv6/ip6_output.c:1259 sctp_v6_get_dst+0x6a2/0x2050 net/sctp/ipv6.c:326 sctp_transport_route+0x12f/0x350 net/sctp/transport.c:457 sctp_assoc_add_peer+0x741/0x1550 net/sctp/associola.c:663 sctp_connect_new_asoc+0x208/0x790 net/sctp/socket.c:1100 sctp_sendmsg_new_asoc net/sctp/socket.c:1694 [inline] sctp_sendmsg+0x15f9/0x1ee0 net/sctp/socket.c:2005 inet_sendmsg+0x119/0x140 net/ipv4/af_inet.c:851 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] ____sys_sendmsg+0x973/0xc70 net/socket.c:2566 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2620 __sys_sendmmsg+0x2f9/0x420 net/socket.c:2702 __compat_sys_sendmmsg net/compat.c:360 [inline] __do_compat_sys_sendmmsg net/compat.c:367 [inline] __se_compat_sys_sendmmsg net/compat.c:364 [inline] __ia32_compat_sys_sendmmsg+0x9d/0x100 net/compat.c:364 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf704e579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f4ffc55c EFLAGS: 00000296 ORIG_RAX: 0000000000000159 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000080000440 RDX: 0000000000000001 RSI: 0000000020008050 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__in6_dev_get include/net/addrconf.h:347 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:443 [inline] RIP: 0010:find_match+0x136/0x15d0 net/ipv6/route.c:781 Code: 48 c1 ea 03 80 3c 02 00 0f 85 ac 11 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 7d 00 49 8d bf c0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 93 11 00 00 4d 8b bf c0 00 00 00 e8 44 10 50 01 RSP: 0018:ffffc9000363eb90 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000003 RCX: ffffc9002a239000 RDX: 0000000000000018 RSI: ffffffff8a18a5cf RDI: 00000000000000c0 RBP: ffffc9000363ec98 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880437f9e37 R13: ffff8880437f9e20 R14: 1ffff920006c7d81 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880978ef000(0063) knlGS:00000000f4ffcb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7fe6e40 CR3: 0000000024236000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 ac 11 00 00 jne 0x11ba e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 15: fc ff df 18: 4d 8b 7d 00 mov 0x0(%r13),%r15 1c: 49 8d bf c0 00 00 00 lea 0xc0(%r15),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 93 11 00 00 jne 0x11c7 34: 4d 8b bf c0 00 00 00 mov 0xc0(%r15),%r15 3b: e8 44 10 50 01 call 0x1501084