RBP: 00007f0d60434a90 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020d6cff0 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f0d60434bc8 R14: 00000000004b75bb R15: 0000000000000000 BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 kauditd_printk_skb: 284 callbacks suppressed audit: type=1400 audit(1513548683.222:1408): avc: denied { write } for pid=7739 comm="syz-executor4" path="socket:[27204]" dev="sockfs" ino=27204 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_fib_lookup_socket permissive=1 IP: sctp_stream_free+0x38/0x70 net/sctp/stream.c:209 PGD 1e07ed067 P4D 1e07ed067 PUD 1e1134067 PMD 0 Oops: 0000 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 7743 Comm: syz-executor3 Not tainted 4.15.0-rc3-next-20171214+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sctp_stream_free+0x38/0x70 net/sctp/stream.c:209 RSP: 0018:ffffc900015cfa90 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff82407e51 RDX: 0000000000010000 RSI: ffffc900050bc000 RDI: ffff8801e119b6d8 RBP: ffffc900015cfaa8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8801e119b6d8 R14: ffff8801e11320b0 R15: ffff8801e262a000 FS: 00007f0d60435700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc27abf00b0 CR3: 00000001de75b006 CR4: 00000000001606e0 DR0: 0000000020001000 DR1: 0000000020001000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: sctp_association_free+0xd8/0x270 net/sctp/associola.c:367 sctp_sf_do_unexpected_init.isra.30+0x25e/0x530 net/sctp/sm_statefuns.c:1589 sctp_sf_do_5_2_1_siminit+0x35/0x40 net/sctp/sm_statefuns.c:1645 sctp_do_sm+0x80/0x1dc0 net/sctp/sm_sideeffect.c:1190 sctp_assoc_bh_rcv+0x107/0x190 net/sctp/associola.c:1065 sctp_inq_push+0x6a/0xb0 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x61/0x3a0 net/sctp/input.c:350 sk_backlog_rcv include/net/sock.h:907 [inline] __release_sock+0x85/0x160 net/core/sock.c:2264 release_sock+0x37/0xe0 net/core/sock.c:2779 sctp_setsockopt+0x12e/0x1d90 net/sctp/socket.c:4289 sock_common_setsockopt+0x3a/0x50 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1829 [inline] SyS_setsockopt+0x8a/0x100 net/socket.c:1808 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f0d60434c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f0d60434aa0 RCX: 0000000000452a09 RDX: 000000000000006b RSI: 0000000000000084 RDI: 0000000000000014 RBP: 00007f0d60434a90 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020d6cff0 R11: 0000000000000212 R12: 00000000004b75bb R13: 00007f0d60434bc8 R14: 00000000004b75bb R15: 0000000000000000 Code: 0f 25 eb fe 4c 89 ef e8 c7 3c 00 00 4c 89 ef ff 50 20 66 41 83 7d 10 00 74 28 45 31 e4 31 db e8 ef 24 eb fe 49 8b 45 00 83 c3 01 <4a> 8b 7c 20 08 49 83 c4 18 e8 ea 5d fd fe 41 0f b7 45 10 39 d8 RIP: sctp_stream_free+0x38/0x70 net/sctp/stream.c:209 RSP: ffffc900015cfa90 CR2: 0000000000000008 ---[ end trace 21269c852bf75052 ]---