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: 12933 Comm: syz-executor3 Not tainted 4.14.0-rc5-next-20171018+ #8 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 task: ffff88003dc6c180 task.stack: ffff88002f1b8000 RIP: 0010:sctp_stream_free+0xc3/0x1b0 net/sctp/stream.c:209 RSP: 0018:ffff88002f1befa0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff88005caa51f0 RCX: ffffffff848f7fb8 RDX: 0000000000000001 RSI: ffffc90001855000 RDI: 0000000000000008 RBP: ffff88002f1befe0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffed000b954a3e FS: 00007f7496c0c700(0000) GS:ffff88006df00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004c7924 CR3: 000000006d0ed000 CR4: 00000000000026e0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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_1_siminit+0x35/0x40 net/sctp/sm_statefuns.c:1645 sctp_do_sm+0x18a/0x6a30 net/sctp/sm_sideeffect.c:1171 sctp_assoc_bh_rcv+0x283/0x4b0 net/sctp/associola.c:1066 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_sendmsg+0x18d1/0x32b0 net/sctp/socket.c:2021 inet_sendmsg+0x11f/0x5e0 net/ipv4/af_inet.c:763 sock_sendmsg_nosec net/socket.c:632 [inline] sock_sendmsg+0xca/0x110 net/socket.c:642 SYSC_sendto+0x352/0x5a0 net/socket.c:1749 SyS_sendto+0x40/0x50 net/socket.c:1717 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x447c89 RSP: 002b:00007f7496c0bbd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f7496c0c6cc RCX: 0000000000447c89 RDX: 000000000000068d RSI: 0000000020aae000 RDI: 0000000000000014 RBP: 0000000000000082 R08: 0000000020aaf000 R09: 000000000000001c R10: 000000000003ffff R11: 0000000000000246 R12: 00000000004a96f0 R13: 0000000000000000 R14: 00007f7496c0b9c8 R15: 00007f7496c0bb38 Code: 48 c1 e8 03 4c 01 f0 48 89 45 d0 e8 e8 3e 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 c5 RIP: sctp_stream_free+0xc3/0x1b0 net/sctp/stream.c:209 RSP: ffff88002f1befa0 ---[ end trace f216f734c4bdb6dd ]---