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: 319 Comm: syz-executor2 Not tainted 4.14.0-rc8-next-20171109+ #11 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 task: ffff88001a5b04c0 task.stack: ffff88001b1a8000 RIP: 0010:sctp_stream_free+0xc3/0x1b0 net/sctp/stream.c:209 RSP: 0018:ffff88001b1af3a0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff88002d3a8c18 RCX: ffffffff84b20bc8 RDX: 0000000000000001 RSI: ffffc90002977000 RDI: 0000000000000008 RBP: ffff88001b1af3e0 R08: ffffffff860d4db8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffed0005a75183 FS: 00007fa3ba4e7700(0000) GS:ffff88002e000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004c79a4 CR3: 0000000020887000 CR4: 00000000000026f0 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/0x96 RIP: 0033:0x447c99 RSP: 002b:00007fa3ba4e6bd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007fa3ba4e76cc RCX: 0000000000447c99 RDX: 0000000000000010 RSI: 00000000200ba000 RDI: 0000000000000013 RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004a971e R13: 0000000000000000 R14: 00007fa3ba4e69c8 R15: 00007fa3ba4e6b38 Code: 48 c1 e8 03 4c 01 f0 48 89 45 d0 e8 b8 84 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 a5 RIP: sctp_stream_free+0xc3/0x1b0 net/sctp/stream.c:209 RSP: ffff88001b1af3a0 ---[ end trace 83db9785c861cfb7 ]---