kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 7047 Comm: syz-executor5 Not tainted 4.14.0-rc5-mm1+ #20 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c7b5e300 task.stack: ffff8801cf080000 RIP: 0010:sctp_stream_free+0xc3/0x1b0 net/sctp/stream.c:209 RSP: 0018:ffff8801cf087370 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff8801c705e8f0 RCX: ffffffff848f8fb8 RDX: 0000000000000001 RSI: ffffc9000429b000 RDI: 0000000000000008 RBP: ffff8801cf0873b0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffed0038e0bd1e FS: 00007ff48be75700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020077ff8 CR3: 00000001c39bd000 CR4: 00000000001426f0 DR0: 000000000010f001 DR1: 000000000010f000 DR2: 0000000000000000 DR3: 0000000000005000 DR6: 00000000fffe0ff2 DR7: 0000000000000400 Call Trace: sctp_association_free+0x301/0x930 net/sctp/associola.c:368 sctp_sf_do_unexpected_init.isra.28+0x67e/0x13b0 net/sctp/sm_statefuns.c:1589 sctp_sf_do_5_2_2_dupinit+0x35/0x40 net/sctp/sm_statefuns.c:1646 sctp_do_sm+0x18a/0x6a30 net/sctp/sm_sideeffect.c:1171 sctp_endpoint_bh_rcv+0x379/0x8f0 net/sctp/endpointola.c:456 sctp_inq_push+0x23b/0x300 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x177/0xaa0 net/sctp/input.c:350 sk_backlog_rcv include/net/sock.h:909 [inline] __release_sock+0x124/0x360 net/core/sock.c:2264 release_sock+0xa4/0x2a0 net/core/sock.c:2776 sctp_connect+0xc3/0xf0 net/sctp/socket.c:4212 inet_dgram_connect+0x16b/0x1f0 net/ipv4/af_inet.c:541 SYSC_connect+0x204/0x470 net/socket.c:1641 SyS_connect+0x24/0x30 net/socket.c:1622 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x452869 RSP: 002b:00007ff48be74be8 EFLAGS: 00000212 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452869 RDX: 0000000000000010 RSI: 00000000200ba000 RDI: 0000000000000013 RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b7550 R13: 00007ff48be74b58 R14: 00000000004b7560 R15: 0000000000000000 Code: 48 c1 e8 03 4c 01 f0 48 89 45 d0 e8 88 2f df fc 41 80 3f 00 0f 85 f1 00 00 00 48 8b 03 4c 01 e8 48 8d 78 08 48 89 fa 48 c1 ea 03 <42> 80 3c 32 00 0f 85 c3 00 00 00 48 8b 78 08 41 83 c4 01 e8 f5 RIP: sctp_stream_free+0xc3/0x1b0 net/sctp/stream.c:209 RSP: ffff8801cf087370 ---[ end trace 59c34f6c87569b3c ]---