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-3,10.128.0.49' (ECDSA) to the list of known hosts. serialport: Connected to syzkaller.us-central1-c.ci-upstream-kasan-gce-3 port 1 (session ID: df153339d796c58551b5269694324d0fa641466c3aee7c2bed61c605686f5626, active connections: 1). 2017/07/22 14:13:16 parsed 1 programs 2017/07/22 14:13:16 executed programs: 0 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 syzkaller login: [ 40.355718] refcount_t: underflow; use-after-free. [ 40.356637] ------------[ cut here ]------------ [ 40.357480] WARNING: CPU: 1 PID: 2926 at lib/refcount.c:186 refcount_sub_and_test+0x167/0x1b0 [ 40.358705] Kernel panic - not syncing: panic_on_warn set ... [ 40.358705] [ 40.359709] CPU: 1 PID: 2926 Comm: syz-executor0 Not tainted 4.13.0-rc1+ #1 [ 40.360642] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.361865] Call Trace: [ 40.362231] dump_stack+0x194/0x257 [ 40.362725] ? arch_local_irq_restore+0x53/0x53 [ 40.363363] panic+0x1e4/0x417 [ 40.363799] ? __warn+0x1d9/0x1d9 [ 40.364269] ? show_regs_print_info+0x65/0x65 [ 40.364903] ? refcount_sub_and_test+0x167/0x1b0 [ 40.365537] __warn+0x1c4/0x1d9 [ 40.365985] ? refcount_sub_and_test+0x167/0x1b0 [ 40.366625] report_bug+0x211/0x2d0 [ 40.367132] fixup_bug+0x40/0x90 [ 40.367612] do_trap+0x260/0x390 [ 40.368077] do_error_trap+0x120/0x390 [ 40.368638] ? do_trap+0x390/0x390 [ 40.369117] ? refcount_sub_and_test+0x167/0x1b0 [ 40.369781] ? vprintk_emit+0x3ea/0x590 [ 40.370328] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.370980] do_invalid_op+0x1b/0x20 [ 40.371506] invalid_op+0x1e/0x30 [ 40.371978] RIP: 0010:refcount_sub_and_test+0x167/0x1b0 [ 40.372688] RSP: 0018:ffff8801d159e310 EFLAGS: 00010282 [ 40.373400] RAX: 0000000000000026 RBX: 0000000000000001 RCX: 0000000000000000 [ 40.374378] RDX: 0000000000000026 RSI: 1ffff1003a2b3c22 RDI: ffffed003a2b3c56 [ 40.375346] RBP: ffff8801d159e3a0 R08: 0000000000000001 R09: 0000000000000000 [ 40.379382] R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff1003a2b3c63 [ 40.386620] R13: 00000000ffffff01 R14: 0000000000000100 R15: ffff8801cf4dea3c [ 40.393875] ? refcount_inc+0x50/0x50 [ 40.397645] ? __sctp_outq_teardown+0xc7d/0x15a0 [ 40.402368] ? sctp_association_free+0x2d0/0x930 [ 40.407093] ? sctp_do_sm+0x28e7/0x6d90 [ 40.411036] ? sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 40.415757] ? sctp_close+0x3c6/0x980 [ 40.419530] ? inet_release+0xed/0x1c0 [ 40.423403] sctp_wfree+0x183/0x620 [ 40.427001] ? __sctp_write_space+0x910/0x910 [ 40.431467] skb_release_head_state+0x124/0x200 [ 40.436105] skb_release_all+0x15/0x60 [ 40.439971] consume_skb+0x153/0x490 [ 40.443651] ? sctp_chunk_put+0x99/0x420 [ 40.447681] ? pskb_carve+0x1db0/0x1db0 [ 40.451626] ? sctp_chunk_hold+0x20/0x20 [ 40.455660] ? refcount_sub_and_test+0x115/0x1b0 [ 40.460384] ? refcount_inc+0x50/0x50 [ 40.464149] ? mark_held_locks+0xaf/0x100 [ 40.468269] ? sctp_datamsg_put+0x456/0x560 [ 40.472565] sctp_chunk_put+0x29c/0x420 [ 40.476512] ? sctp_chunk_hold+0x20/0x20 [ 40.480547] ? sctp_transport_dst_confirm+0x50/0x50 [ 40.485537] ? noop_count+0x40/0x40 [ 40.489142] sctp_chunk_free+0x53/0x60 [ 40.492998] __sctp_outq_teardown+0xc7d/0x15a0 [ 40.497557] ? sctp_inq_set_th_handler+0x1b0/0x1b0 [ 40.502456] ? lock_downgrade+0x990/0x990 [ 40.506574] ? lock_release+0xa40/0xa40 [ 40.510525] ? __free_insn_slot+0x5c0/0x5c0 [ 40.514826] ? update_stack_state+0x700/0x700 [ 40.519298] ? print_usage_bug+0x480/0x480 [ 40.523513] ? is_bpf_text_address+0xa4/0x120 [ 40.527978] ? __kernel_text_address+0xae/0xe0 [ 40.532539] ? unwind_get_return_address+0x61/0xa0 [ 40.537439] ? __save_stack_trace+0x7e/0xd0 [ 40.541735] ? check_noncircular+0x20/0x20 [ 40.545938] ? print_usage_bug+0x480/0x480 [ 40.550140] ? SOFTIRQ_verbose+0x10/0x10 [ 40.554167] ? save_stack_trace+0x16/0x20 [ 40.558283] ? save_trace+0x11f/0x350 [ 40.562058] ? lock_acquire+0x1d5/0x580 [ 40.565998] ? lock_acquire+0x1d5/0x580 [ 40.569941] ? lock_timer_base+0x1a3/0x2b0 [ 40.574149] ? find_held_lock+0x35/0x1d0 [ 40.578271] ? sock_def_wakeup+0x1f9/0x350 [ 40.582474] ? lock_downgrade+0x990/0x990 [ 40.586595] ? lock_release+0xa40/0xa40 [ 40.590542] sctp_outq_free+0x15/0x20 [ 40.594310] sctp_association_free+0x2d0/0x930 [ 40.598869] ? sctp_asconf_queue_teardown+0x700/0x700 [ 40.604031] ? sock_def_wakeup+0x222/0x350 [ 40.608231] ? sk_dst_check+0x560/0x560 [ 40.612173] ? sctp_association_put+0x74/0x2f0 [ 40.616726] ? sctp_association_hold+0x20/0x20 [ 40.621280] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 40.626438] ? unwind_get_return_address+0x61/0xa0 [ 40.631335] ? sctp_sm_lookup_event+0x95/0x3c0 [ 40.635897] sctp_do_sm+0x28e7/0x6d90 [ 40.639668] ? check_noncircular+0x20/0x20 [ 40.643891] ? sctp_do_8_2_transport_strike.isra.16+0x8a0/0x8a0 [ 40.649923] ? print_usage_bug+0x480/0x480 [ 40.654125] ? exit_to_usermode_loop+0x21c/0x2d0 [ 40.658848] ? syscall_return_slowpath+0x3a7/0x450 [ 40.663746] ? print_usage_bug+0x480/0x480 [ 40.667948] ? find_held_lock+0x35/0x1d0 [ 40.671994] ? find_held_lock+0x35/0x1d0 [ 40.676040] ? skb_dequeue+0x12a/0x180 [ 40.679895] ? lock_downgrade+0x990/0x990 [ 40.684019] ? do_raw_spin_trylock+0x190/0x190 [ 40.688572] ? mark_held_locks+0xaf/0x100 [ 40.692695] ? trace_hardirqs_on+0xd/0x10 [ 40.696826] sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 40.701380] sctp_close+0x3c6/0x980 [ 40.704982] ? sctp_apply_peer_addr_params+0xf30/0xf30 [ 40.710225] ? unwind_get_return_address+0x61/0xa0 [ 40.715127] ? trace_hardirqs_off+0xd/0x10 [ 40.719333] ? _raw_spin_unlock_irqrestore+0xa6/0xba [ 40.724419] ? depot_save_stack+0x3b5/0x490 [ 40.728716] ? ipv6_sock_ac_close+0x2e8/0x3e0 [ 40.733184] ? ipv6_sock_mc_close+0x148/0x1a0 [ 40.737648] ? ipv6_sock_ac_drop+0x580/0x580 [ 40.742024] ? ip_mc_drop_socket+0x1ce/0x230 [ 40.746414] ? __fsnotify_parent+0xb4/0x3a0 [ 40.750707] inet_release+0xed/0x1c0 [ 40.754392] inet6_release+0x50/0x70 [ 40.758076] sock_release+0x8d/0x1e0 [ 40.761759] ? sock_release+0x1e0/0x1e0 [ 40.765700] sock_close+0x16/0x20 [ 40.769121] __fput+0x327/0x7e0 [ 40.772375] ? fput+0x140/0x140 [ 40.775625] ? do_raw_spin_trylock+0x190/0x190 [ 40.780178] ? check_same_owner+0x320/0x320 [ 40.784472] ____fput+0x15/0x20 [ 40.787719] task_work_run+0x18a/0x260 [ 40.791577] ? task_work_cancel+0x210/0x210 [ 40.795868] ? _raw_spin_unlock+0x22/0x30 [ 40.799985] ? switch_task_namespaces+0x87/0xc0 [ 40.804629] do_exit+0xa32/0x1b10 [ 40.808054] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 40.813213] ? plist_check_list+0xa0/0xa0 [ 40.817338] ? exit_notify+0xb10/0xb10 [ 40.821201] ? plist_add+0x760/0x760 [ 40.824891] ? check_noncircular+0x20/0x20 [ 40.829098] ? check_same_owner+0x320/0x320 [ 40.833388] ? lock_acquire+0x1d5/0x580 [ 40.837330] ? futex_wait_setup+0x14a/0x3d0 [ 40.841624] ? __might_sleep+0x95/0x190 [ 40.845574] ? find_held_lock+0x35/0x1d0 [ 40.849608] ? check_noncircular+0x20/0x20 [ 40.853813] ? futex_wait+0x43e/0xa00 [ 40.857584] ? lock_downgrade+0x990/0x990 [ 40.861706] ? do_raw_spin_trylock+0x190/0x190 [ 40.866257] ? fault_in_user_writeable+0x90/0x90 [ 40.870991] ? find_held_lock+0x35/0x1d0 [ 40.875031] ? get_signal+0x855/0x17e0 [ 40.878888] ? lock_downgrade+0x990/0x990 [ 40.883014] do_group_exit+0x149/0x400 [ 40.886873] ? __lock_is_held+0xb6/0x140 [ 40.890903] ? SyS_exit+0x30/0x30 [ 40.894333] ? _raw_spin_unlock_irq+0x27/0x70 [ 40.898798] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 40.903790] get_signal+0x7e8/0x17e0 [ 40.907504] ? ptrace_notify+0x130/0x130 [ 40.911537] ? __fd_install+0x2da/0x6a0 [ 40.915491] ? lock_downgrade+0x990/0x990 [ 40.919619] ? exit_robust_list+0x240/0x240 [ 40.923924] do_signal+0x94/0x1ee0 [ 40.927442] ? __fd_install+0x2f7/0x6a0 [ 40.931394] ? get_unused_fd_flags+0x190/0x190 [ 40.935947] ? setup_sigcontext+0x7d0/0x7d0 [ 40.940241] ? __might_sleep+0x95/0x190 [ 40.944192] ? kasan_check_read+0x11/0x20 [ 40.948312] ? _copy_to_user+0xa2/0xc0 [ 40.952179] ? fd_install+0x4d/0x60 [ 40.955774] ? fput+0xd2/0x140 [ 40.958939] ? SYSC_accept4+0x4ec/0x850 [ 40.962879] ? __release_sock+0x360/0x360 [ 40.967000] ? exit_to_usermode_loop+0x98/0x2d0 [ 40.971648] exit_to_usermode_loop+0x21c/0x2d0 [ 40.976204] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 40.981722] syscall_return_slowpath+0x3a7/0x450 [ 40.986460] ? prepare_exit_to_usermode+0x220/0x220 [ 40.991462] ? entry_SYSCALL_64_fastpath+0x91/0xbe [ 40.996363] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 41.001349] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 41.006080] entry_SYSCALL_64_fastpath+0xbc/0xbe [ 41.010805] RIP: 0033:0x4512c9 [ 41.013966] RSP: 002b:00007fd4c7d2ecf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 41.021647] RAX: fffffffffffffe00 RBX: 0000000000718020 RCX: 00000000004512c9 [ 41.028887] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000718020 [ 41.036124] RBP: 0000000000718000 R08: 0000000000000000 R09: 0000000000000000 [ 41.043364] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 41.050605] R13: 00007ffde7cdf1ff R14: 00007fd4c7d2f9c0 R15: 0000000000000000 [ 41.058394] Dumping ftrace buffer: [ 41.061999] (ftrace buffer empty) [ 41.065682] Kernel Offset: disabled [ 41.069282] Rebooting in 86400 seconds..