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: 3 PID: 14548 Comm: syz-executor7 Not tainted 4.14.0-rc7-next-20171103+ #10 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 task: ffff88005b5a2000 task.stack: ffff880058450000 RIP: 0010:sctp_stream_free+0xc3/0x1b0 net/sctp/stream.c:209 RSP: 0018:ffff8800584573a0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff880053a40e18 RCX: ffffffff84b1f998 RDX: 0000000000000001 RSI: ffffc90000bff000 RDI: 0000000000000008 RBP: ffff8800584573e0 R08: 00000000000000a0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffed000a7481c3 FS: 00007fc335e75700(0000) GS:ffff88006df00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004c7964 CR3: 0000000059fd0000 CR4: 00000000000006e0 DR0: 0000000020000008 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: sctp_association_free+0x301/0x930 net/sctp/associola.c:367 sctp_sf_do_5_1B_init+0x67e/0xe80 net/sctp/sm_statefuns.c:467 sctp_do_sm+0x18a/0x6a30 net/sctp/sm_sideeffect.c:1190 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:4242 inet_dgram_connect+0x16b/0x1f0 net/ipv4/af_inet.c:541 SYSC_connect+0x20a/0x480 net/socket.c:1641 SyS_connect+0x24/0x30 net/socket.c:1622 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x447c89 RSP: 002b:00007fc335e74bd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007fc335e756cc RCX: 0000000000447c89 RDX: 0000000000000010 RSI: 00000000200123c0 RDI: 0000000000000013 RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004a96f0 R13: 0000000000000000 R14: 00007fc335e749c8 R15: 00007fc335e74b38 Code: 48 c1 e8 03 4c 01 f0 48 89 45 d0 e8 18 9e bd 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 35 RIP: sctp_stream_free+0xc3/0x1b0 net/sctp/stream.c:209 RSP: ffff8800584573a0 ---[ end trace 9cdd38378211cb94 ]---