kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 32550 Comm: syz-executor.1 Not tainted 5.2.0-rc3+ #51 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip6_route_get_saddr include/net/ip6_route.h:120 [inline] RIP: 0010:ip6_dst_lookup_tail+0xf0e/0x1b30 net/ipv6/ip6_output.c:967 Code: e6 07 e8 85 3d 56 fb 48 85 db 0f 84 83 08 00 00 e8 77 3d 56 fb 48 8d 7b 7c 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 07 RSP: 0018:ffff8880ae808d40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000080241414 RCX: 0000000000000000 RDX: 0000000010048292 RSI: ffffffff861a6939 RDI: 0000000080241490 RBP: ffff8880ae808e98 R08: ffff88806aef8340 R09: ffffed1015d06be0 R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: ffff8880906f4070 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880906f4098 FS: 00007fcba9184700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef23000 CR3: 00000000987a6000 CR4: 00000000001406f0 Call Trace: ip6_dst_lookup_flow+0xa8/0x220 net/ipv6/ip6_output.c:1090 sctp_v6_get_dst+0x785/0x1ce0 net/sctp/ipv6.c:278 sctp_transport_route+0x12d/0x360 net/sctp/transport.c:297 sctp_assoc_add_peer+0x53e/0xfc0 net/sctp/associola.c:663 sctp_process_param net/sctp/sm_make_chunk.c:2522 [inline] sctp_process_init+0x2458/0x2ad0 net/sctp/sm_make_chunk.c:2343 sctp_sf_do_5_1B_init+0x8ba/0xe50 net/sctp/sm_statefuns.c:401 sctp_do_sm+0x121/0x5190 net/sctp/sm_sideeffect.c:1152 sctp_endpoint_bh_rcv+0x451/0x950 net/sctp/endpointola.c:443 sctp_inq_push+0x1e4/0x280 net/sctp/inqueue.c:80 sctp_rcv+0x282e/0x35e0 net/sctp/input.c:256 sctp6_rcv+0x17/0x30 net/sctp/ipv6.c:1049 ip6_protocol_deliver_rcu+0x2fe/0x16c0 net/ipv6/ip6_input.c:397 ip6_input_finish+0x84/0x170 net/ipv6/ip6_input.c:438 NF_HOOK include/linux/netfilter.h:305 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] ip6_input+0xe4/0x3f0 net/ipv6/ip6_input.c:447 dst_input include/net/dst.h:439 [inline] ip6_rcv_finish+0x1de/0x310 net/ipv6/ip6_input.c:76 NF_HOOK include/linux/netfilter.h:305 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:272 __netif_receive_skb_one_core+0x113/0x1a0 net/core/dev.c:4981 __netif_receive_skb+0x2c/0x1d0 net/core/dev.c:5095 process_backlog+0x206/0x750 net/core/dev.c:5906 napi_poll net/core/dev.c:6329 [inline] net_rx_action+0x4f5/0x1070 net/core/dev.c:6395 __do_softirq+0x25c/0x94c kernel/softirq.c:293 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1040 do_softirq.part.0+0x11a/0x170 kernel/softirq.c:338 do_softirq kernel/softirq.c:330 [inline] __local_bh_enable_ip+0x211/0x270 kernel/softirq.c:190 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:682 [inline] ip6_finish_output2+0x10a0/0x2550 net/ipv6/ip6_output.c:117 ip6_finish_output+0x56d/0xc20 net/ipv6/ip6_output.c:150 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip6_output+0x235/0x7f0 net/ipv6/ip6_output.c:167 dst_output include/net/dst.h:433 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] ip6_xmit+0xe35/0x20b0 net/ipv6/ip6_output.c:271 sctp_v6_xmit+0x313/0x660 net/sctp/ipv6.c:217 sctp_packet_transmit+0x1bb8/0x36e0 net/sctp/output.c:626 sctp_packet_singleton net/sctp/outqueue.c:772 [inline] sctp_outq_flush_ctrl.constprop.0+0x73c/0xd30 net/sctp/outqueue.c:903 sctp_outq_flush+0xe8/0x2780 net/sctp/outqueue.c:1185 sctp_outq_uncork+0x6c/0x80 net/sctp/outqueue.c:757 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1781 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1184 [inline] sctp_do_sm+0x504/0x5190 net/sctp/sm_sideeffect.c:1155 sctp_primitive_ASSOCIATE+0x9d/0xd0 net/sctp/primitive.c:73 __sctp_connect+0x8c3/0xcd0 net/sctp/socket.c:1211 __sctp_setsockopt_connectx+0x133/0x1a0 net/sctp/socket.c:1334 sctp_setsockopt_connectx net/sctp/socket.c:1366 [inline] sctp_setsockopt net/sctp/socket.c:4651 [inline] sctp_setsockopt+0x22f1/0x6d10 net/sctp/socket.c:4608 sock_common_setsockopt+0x94/0xd0 net/core/sock.c:3124 __sys_setsockopt+0x17a/0x280 net/socket.c:2072 __do_sys_setsockopt net/socket.c:2083 [inline] __se_sys_setsockopt net/socket.c:2080 [inline] __x64_sys_setsockopt+0xbe/0x150 net/socket.c:2080 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fcba9183c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000004592c9 RDX: 000000000000006e RSI: 0000000000000084 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 000000000000002c R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00007fcba91846d4 R13: 00000000004ced98 R14: 00000000004dd4f0 R15: 00000000ffffffff Modules linked in: ---[ end trace aed9c2589fac0868 ]--- RIP: 0010:ip6_route_get_saddr include/net/ip6_route.h:120 [inline] RIP: 0010:ip6_dst_lookup_tail+0xf0e/0x1b30 net/ipv6/ip6_output.c:967 Code: e6 07 e8 85 3d 56 fb 48 85 db 0f 84 83 08 00 00 e8 77 3d 56 fb 48 8d 7b 7c 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 07 RSP: 0018:ffff8880ae808d40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000080241414 RCX: 0000000000000000 RDX: 0000000010048292 RSI: ffffffff861a6939 RDI: 0000000080241490 RBP: ffff8880ae808e98 R08: ffff88806aef8340 R09: ffffed1015d06be0 R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: ffff8880906f4070 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880906f4098 FS: 00007fcba9184700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef23000 CR3: 00000000987a6000 CR4: 00000000001406f0