Pseudo-terminal will not be allocated because stdin is not a terminal. Warning: Permanently added '[ssh-serialport.googleapis.com]:9600,[216.239.38.127]:9600' (RSA) to the list of known hosts. Warning: Permanently added 'ci-upstream-kasan-gce-2,10.128.0.28' (ECDSA) to the list of known hosts. serialport: Connected to syzkaller.us-central1-c.ci-upstream-kasan-gce-2 port 1 (session ID: b1d72656568aa43500bb3880c2b6cde786b033472a37946e60efe24c60df2f12, active connections: 1). INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 2017/07/22 14:41:22 parsed 1 programs 2017/07/22 14:41:22 executed programs: 0 syzkaller login: [ 55.828737] refcount_t: underflow; use-after-free. [ 55.829680] ------------[ cut here ]------------ [ 55.830648] WARNING: CPU: 0 PID: 2926 at lib/refcount.c:186 refcount_sub_and_test+0x167/0x1b0 [ 55.831834] Kernel panic - not syncing: panic_on_warn set ... [ 55.831834] [ 55.832831] CPU: 0 PID: 2926 Comm: syz-executor0 Not tainted 4.13.0-rc1+ #1 [ 55.833810] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 55.835031] Call Trace: [ 55.835399] dump_stack+0x194/0x257 [ 55.835914] ? arch_local_irq_restore+0x53/0x53 [ 55.836591] panic+0x1e4/0x417 [ 55.837024] ? __warn+0x1d9/0x1d9 [ 55.837519] ? show_regs_print_info+0x65/0x65 [ 55.838134] ? refcount_sub_and_test+0x167/0x1b0 [ 55.838769] __warn+0x1c4/0x1d9 [ 55.839246] ? refcount_sub_and_test+0x167/0x1b0 [ 55.839885] report_bug+0x211/0x2d0 [ 55.840387] fixup_bug+0x40/0x90 [ 55.840845] do_trap+0x260/0x390 [ 55.841320] do_error_trap+0x120/0x390 [ 55.841846] ? do_trap+0x390/0x390 [ 55.842325] ? refcount_sub_and_test+0x167/0x1b0 [ 55.842960] ? vprintk_emit+0x3ea/0x590 [ 55.843520] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 55.844170] do_invalid_op+0x1b/0x20 [ 55.844696] invalid_op+0x1e/0x30 [ 55.845175] RIP: 0010:refcount_sub_and_test+0x167/0x1b0 [ 55.845922] RSP: 0018:ffff8801d2406310 EFLAGS: 00010282 [ 55.846651] RAX: 0000000000000026 RBX: 0000000000000001 RCX: 0000000000000000 [ 55.847605] RDX: 0000000000000026 RSI: 1ffff1003a480c22 RDI: ffffed003a480c56 [ 55.848559] RBP: ffff8801d24063a0 R08: 0000000000000001 R09: 0000000000000000 [ 55.853625] R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff1003a480c63 [ 55.860865] R13: 00000000ffffff01 R14: 0000000000000100 R15: ffff8801d25ec23c [ 55.868127] ? refcount_inc+0x50/0x50 [ 55.871896] ? __sctp_outq_teardown+0xc7d/0x15a0 [ 55.876621] ? sctp_association_free+0x2d0/0x930 [ 55.881340] ? sctp_do_sm+0x28e7/0x6d90 [ 55.885280] ? sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 55.890001] ? sctp_close+0x3c6/0x980 [ 55.893773] ? inet_release+0xed/0x1c0 [ 55.897633] sctp_wfree+0x183/0x620 [ 55.901228] ? __sctp_write_space+0x910/0x910 [ 55.905694] skb_release_head_state+0x124/0x200 [ 55.910333] skb_release_all+0x15/0x60 [ 55.914187] consume_skb+0x153/0x490 [ 55.917872] ? sctp_chunk_put+0x99/0x420 [ 55.921898] ? pskb_carve+0x1db0/0x1db0 [ 55.925840] ? sctp_chunk_hold+0x20/0x20 [ 55.929870] ? refcount_sub_and_test+0x115/0x1b0 [ 55.934592] ? refcount_inc+0x50/0x50 [ 55.938355] ? mark_held_locks+0xaf/0x100 [ 55.942472] ? sctp_datamsg_put+0x456/0x560 [ 55.946767] sctp_chunk_put+0x29c/0x420 [ 55.950715] ? sctp_chunk_hold+0x20/0x20 [ 55.954748] ? sctp_transport_dst_confirm+0x50/0x50 [ 55.959736] ? noop_count+0x40/0x40 [ 55.963339] sctp_chunk_free+0x53/0x60 [ 55.967195] __sctp_outq_teardown+0xc7d/0x15a0 [ 55.971753] ? sctp_inq_set_th_handler+0x1b0/0x1b0 [ 55.976650] ? lock_downgrade+0x990/0x990 [ 55.980777] ? lock_release+0xa40/0xa40 [ 55.984721] ? __free_insn_slot+0x5c0/0x5c0 [ 55.989014] ? update_stack_state+0x700/0x700 [ 55.993476] ? print_usage_bug+0x480/0x480 [ 55.997699] ? is_bpf_text_address+0xa4/0x120 [ 56.002165] ? __kernel_text_address+0xae/0xe0 [ 56.006721] ? unwind_get_return_address+0x61/0xa0 [ 56.011618] ? __save_stack_trace+0x7e/0xd0 [ 56.015909] ? check_noncircular+0x20/0x20 [ 56.020114] ? print_usage_bug+0x480/0x480 [ 56.024318] ? SOFTIRQ_verbose+0x10/0x10 [ 56.028346] ? save_stack_trace+0x16/0x20 [ 56.032460] ? save_trace+0x11f/0x350 [ 56.036235] ? lock_acquire+0x1d5/0x580 [ 56.040174] ? lock_acquire+0x1d5/0x580 [ 56.044117] ? lock_timer_base+0x1a3/0x2b0 [ 56.048321] ? find_held_lock+0x35/0x1d0 [ 56.052368] ? sock_def_wakeup+0x1f9/0x350 [ 56.056578] ? lock_downgrade+0x990/0x990 [ 56.060705] ? lock_release+0xa40/0xa40 [ 56.064663] sctp_outq_free+0x15/0x20 [ 56.068435] sctp_association_free+0x2d0/0x930 [ 56.072993] ? sctp_asconf_queue_teardown+0x700/0x700 [ 56.078151] ? sock_def_wakeup+0x222/0x350 [ 56.082355] ? sk_dst_check+0x560/0x560 [ 56.086301] ? sctp_association_put+0x74/0x2f0 [ 56.090859] ? sctp_association_hold+0x20/0x20 [ 56.095411] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 56.100575] ? unwind_get_return_address+0x61/0xa0 [ 56.105483] ? sctp_sm_lookup_event+0x95/0x3c0 [ 56.110039] sctp_do_sm+0x28e7/0x6d90 [ 56.113810] ? check_noncircular+0x20/0x20 [ 56.118029] ? sctp_do_8_2_transport_strike.isra.16+0x8a0/0x8a0 [ 56.124058] ? print_usage_bug+0x480/0x480 [ 56.128261] ? exit_to_usermode_loop+0x21c/0x2d0 [ 56.132983] ? syscall_return_slowpath+0x3a7/0x450 [ 56.137881] ? print_usage_bug+0x480/0x480 [ 56.142102] ? find_held_lock+0x35/0x1d0 [ 56.146135] ? skb_dequeue+0x12a/0x180 [ 56.150000] ? lock_downgrade+0x990/0x990 [ 56.154122] ? do_raw_spin_trylock+0x190/0x190 [ 56.158675] ? mark_held_locks+0xaf/0x100 [ 56.162796] ? trace_hardirqs_on+0xd/0x10 [ 56.166917] sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 56.171470] sctp_close+0x3c6/0x980 [ 56.175074] ? sctp_apply_peer_addr_params+0xf30/0xf30 [ 56.180891] ? unwind_get_return_address+0x61/0xa0 [ 56.185798] ? trace_hardirqs_off+0xd/0x10 [ 56.190012] ? _raw_spin_unlock_irqrestore+0xa6/0xba [ 56.195085] ? depot_save_stack+0x3b5/0x490 [ 56.199388] ? ipv6_sock_ac_close+0x2e8/0x3e0 [ 56.203854] ? ipv6_sock_mc_close+0x148/0x1a0 [ 56.208326] ? ipv6_sock_ac_drop+0x580/0x580 [ 56.212701] ? ip_mc_drop_socket+0x1ce/0x230 [ 56.217077] ? __fsnotify_parent+0xb4/0x3a0 [ 56.221369] inet_release+0xed/0x1c0 [ 56.225060] inet6_release+0x50/0x70 [ 56.228744] sock_release+0x8d/0x1e0 [ 56.232426] ? sock_release+0x1e0/0x1e0 [ 56.236370] sock_close+0x16/0x20 [ 56.239792] __fput+0x327/0x7e0 [ 56.243046] ? fput+0x140/0x140 [ 56.246298] ? do_raw_spin_trylock+0x190/0x190 [ 56.250860] ? check_same_owner+0x320/0x320 [ 56.255153] ____fput+0x15/0x20 [ 56.258402] task_work_run+0x18a/0x260 [ 56.262267] ? task_work_cancel+0x210/0x210 [ 56.266560] ? _raw_spin_unlock+0x22/0x30 [ 56.270676] ? switch_task_namespaces+0x87/0xc0 [ 56.275325] do_exit+0xa32/0x1b10 [ 56.278745] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 56.283900] ? plist_check_list+0xa0/0xa0 [ 56.288026] ? exit_notify+0xb10/0xb10 [ 56.291885] ? plist_add+0x760/0x760 [ 56.295582] ? check_noncircular+0x20/0x20 [ 56.299798] ? check_same_owner+0x320/0x320 [ 56.304089] ? lock_acquire+0x1d5/0x580 [ 56.308037] ? futex_wait_setup+0x14a/0x3d0 [ 56.312329] ? __might_sleep+0x95/0x190 [ 56.316275] ? find_held_lock+0x35/0x1d0 [ 56.320306] ? check_noncircular+0x20/0x20 [ 56.324508] ? futex_wait+0x43e/0xa00 [ 56.328289] ? lock_downgrade+0x990/0x990 [ 56.332411] ? do_raw_spin_trylock+0x190/0x190 [ 56.336960] ? fault_in_user_writeable+0x90/0x90 [ 56.341695] ? find_held_lock+0x35/0x1d0 [ 56.345732] ? get_signal+0x855/0x17e0 [ 56.349589] ? lock_downgrade+0x990/0x990 [ 56.353722] do_group_exit+0x149/0x400 [ 56.357578] ? __lock_is_held+0xb6/0x140 [ 56.361608] ? SyS_exit+0x30/0x30 [ 56.365030] ? _raw_spin_unlock_irq+0x27/0x70 [ 56.369491] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 56.374479] get_signal+0x7e8/0x17e0 [ 56.378187] ? ptrace_notify+0x130/0x130 [ 56.382219] ? __fd_install+0x2da/0x6a0 [ 56.386161] ? lock_downgrade+0x990/0x990 [ 56.390287] ? exit_robust_list+0x240/0x240 [ 56.394574] ? __lock_is_held+0xb6/0x140 [ 56.398623] do_signal+0x94/0x1ee0 [ 56.402128] ? __fd_install+0x2f7/0x6a0 [ 56.406070] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 56.410800] ? get_unused_fd_flags+0x190/0x190 [ 56.415352] ? setup_sigcontext+0x7d0/0x7d0 [ 56.419653] ? copy_user_generic_unrolled+0x89/0xc0 [ 56.424641] ? _copy_to_user+0xa2/0xc0 [ 56.428500] ? fd_install+0x4d/0x60 [ 56.432097] ? fput+0xd2/0x140 [ 56.435257] ? SYSC_accept4+0x4ec/0x850 [ 56.439199] ? exit_to_usermode_loop+0x98/0x2d0 [ 56.443840] exit_to_usermode_loop+0x21c/0x2d0 [ 56.448395] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 56.453912] syscall_return_slowpath+0x3a7/0x450 [ 56.458636] ? prepare_exit_to_usermode+0x220/0x220 [ 56.463622] ? entry_SYSCALL_64_fastpath+0x91/0xbe [ 56.468534] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 56.473530] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 56.478260] entry_SYSCALL_64_fastpath+0xbc/0xbe [ 56.482986] RIP: 0033:0x4512c9 [ 56.486146] RSP: 002b:00007ff178184cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 56.493835] RAX: fffffffffffffe00 RBX: 00000000007180c8 RCX: 00000000004512c9 [ 56.501075] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000007180c8 [ 56.508318] RBP: 00000000007180a8 R08: 0000000000000000 R09: 0000000000000000 [ 56.515556] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 56.522794] R13: 0000000000a6f7ef R14: 00007ff1781859c0 R15: 0000000000000003 [ 56.530256] Dumping ftrace buffer: [ 56.533859] (ftrace buffer empty) [ 56.537541] Kernel Offset: disabled [ 56.541141] Rebooting in 86400 seconds..