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-4,10.128.0.16' (ECDSA) to the list of known hosts. serialport: Connected to syzkaller.us-central1-c.ci-upstream-kasan-gce-4 port 1 (session ID: e7c958d1bf591d0aa46b1690fc330ee50741785122086bed12eaf62177aaa943, active connections: 1). 2017/07/22 13:39:51 parsed 1 programs 2017/07/22 13:39:51 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: [ 34.162357] refcount_t: underflow; use-after-free. [ 34.163184] ------------[ cut here ]------------ [ 34.163906] WARNING: CPU: 0 PID: 2925 at lib/refcount.c:186 refcount_sub_and_test+0x167/0x1b0 [ 34.165193] Kernel panic - not syncing: panic_on_warn set ... [ 34.165193] [ 34.166161] CPU: 0 PID: 2925 Comm: syz-executor3 Not tainted 4.13.0-rc1+ #1 [ 34.167091] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.168309] Call Trace: [ 34.168668] dump_stack+0x194/0x257 [ 34.169159] ? arch_local_irq_restore+0x53/0x53 [ 34.169803] panic+0x1e4/0x417 [ 34.170236] ? __warn+0x1d9/0x1d9 [ 34.170715] ? show_regs_print_info+0x65/0x65 [ 34.171326] ? refcount_sub_and_test+0x167/0x1b0 [ 34.171976] __warn+0x1c4/0x1d9 [ 34.172420] ? refcount_sub_and_test+0x167/0x1b0 [ 34.173053] report_bug+0x211/0x2d0 [ 34.173547] fixup_bug+0x40/0x90 [ 34.174002] do_trap+0x260/0x390 [ 34.174472] do_error_trap+0x120/0x390 [ 34.174997] ? do_trap+0x390/0x390 [ 34.175472] ? refcount_sub_and_test+0x167/0x1b0 [ 34.176118] ? vprintk_emit+0x3ea/0x590 [ 34.176657] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 34.177305] do_invalid_op+0x1b/0x20 [ 34.177805] invalid_op+0x1e/0x30 [ 34.178269] RIP: 0010:refcount_sub_and_test+0x167/0x1b0 [ 34.179030] RSP: 0018:ffff8801d1526310 EFLAGS: 00010282 [ 34.179768] RAX: 0000000000000026 RBX: 0000000000000001 RCX: 0000000000000000 [ 34.180732] RDX: 0000000000000026 RSI: 1ffff1003a2a4c22 RDI: ffffed003a2a4c56 [ 34.181723] RBP: ffff8801d15263a0 R08: 0000000000000001 R09: 0000000000000000 [ 34.182674] R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff1003a2a4c63 [ 34.190180] R13: 00000000ffffff01 R14: 0000000000000100 R15: ffff8801d147aa3c [ 34.197437] ? refcount_inc+0x50/0x50 [ 34.201203] ? __sctp_outq_teardown+0xc7d/0x15a0 [ 34.205924] ? sctp_association_free+0x2d0/0x930 [ 34.210645] ? sctp_do_sm+0x28e7/0x6d90 [ 34.214586] ? sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 34.219304] ? sctp_close+0x3c6/0x980 [ 34.223068] ? inet_release+0xed/0x1c0 [ 34.226928] sctp_wfree+0x183/0x620 [ 34.230522] ? __sctp_write_space+0x910/0x910 [ 34.234983] skb_release_head_state+0x124/0x200 [ 34.239618] skb_release_all+0x15/0x60 [ 34.243471] consume_skb+0x153/0x490 [ 34.247149] ? sctp_chunk_put+0x99/0x420 [ 34.251178] ? pskb_carve+0x1db0/0x1db0 [ 34.255116] ? sctp_chunk_hold+0x20/0x20 [ 34.259145] ? refcount_sub_and_test+0x115/0x1b0 [ 34.263869] ? refcount_inc+0x50/0x50 [ 34.267636] ? mark_held_locks+0xaf/0x100 [ 34.271751] ? sctp_datamsg_put+0x456/0x560 [ 34.276045] sctp_chunk_put+0x29c/0x420 [ 34.279985] ? sctp_chunk_hold+0x20/0x20 [ 34.284020] ? sctp_transport_dst_confirm+0x50/0x50 [ 34.289021] ? noop_count+0x40/0x40 [ 34.292626] sctp_chunk_free+0x53/0x60 [ 34.296494] __sctp_outq_teardown+0xc7d/0x15a0 [ 34.301052] ? sctp_inq_set_th_handler+0x1b0/0x1b0 [ 34.305950] ? lock_downgrade+0x990/0x990 [ 34.310069] ? lock_release+0xa40/0xa40 [ 34.314012] ? __free_insn_slot+0x5c0/0x5c0 [ 34.318298] ? update_stack_state+0x700/0x700 [ 34.322759] ? print_usage_bug+0x480/0x480 [ 34.326968] ? is_bpf_text_address+0xa4/0x120 [ 34.331430] ? __kernel_text_address+0xae/0xe0 [ 34.335979] ? unwind_get_return_address+0x61/0xa0 [ 34.340877] ? __save_stack_trace+0x7e/0xd0 [ 34.345169] ? check_noncircular+0x20/0x20 [ 34.349370] ? print_usage_bug+0x480/0x480 [ 34.353571] ? SOFTIRQ_verbose+0x10/0x10 [ 34.357599] ? save_stack_trace+0x16/0x20 [ 34.361710] ? save_trace+0x11f/0x350 [ 34.365483] ? lock_acquire+0x1d5/0x580 [ 34.369419] ? lock_acquire+0x1d5/0x580 [ 34.373363] ? lock_timer_base+0x1a3/0x2b0 [ 34.377567] ? find_held_lock+0x35/0x1d0 [ 34.381614] ? sock_def_wakeup+0x1f9/0x350 [ 34.385816] ? lock_downgrade+0x990/0x990 [ 34.389933] ? lock_release+0xa40/0xa40 [ 34.393880] sctp_outq_free+0x15/0x20 [ 34.397650] sctp_association_free+0x2d0/0x930 [ 34.402210] ? sctp_asconf_queue_teardown+0x700/0x700 [ 34.407453] ? sock_def_wakeup+0x222/0x350 [ 34.411656] ? sk_dst_check+0x560/0x560 [ 34.415608] ? sctp_association_put+0x74/0x2f0 [ 34.420159] ? sctp_association_hold+0x20/0x20 [ 34.424708] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 34.429862] ? unwind_get_return_address+0x61/0xa0 [ 34.434756] ? sctp_sm_lookup_event+0x95/0x3c0 [ 34.439308] sctp_do_sm+0x28e7/0x6d90 [ 34.443075] ? check_noncircular+0x20/0x20 [ 34.447284] ? sctp_do_8_2_transport_strike.isra.16+0x8a0/0x8a0 [ 34.453310] ? print_usage_bug+0x480/0x480 [ 34.457509] ? exit_to_usermode_loop+0x21c/0x2d0 [ 34.462227] ? syscall_return_slowpath+0x3a7/0x450 [ 34.467125] ? print_usage_bug+0x480/0x480 [ 34.471324] ? find_held_lock+0x35/0x1d0 [ 34.475367] ? find_held_lock+0x35/0x1d0 [ 34.479400] ? skb_dequeue+0x12a/0x180 [ 34.483253] ? lock_downgrade+0x990/0x990 [ 34.487371] ? do_raw_spin_trylock+0x190/0x190 [ 34.491928] ? mark_held_locks+0xaf/0x100 [ 34.496054] ? trace_hardirqs_on+0xd/0x10 [ 34.500174] sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 34.504729] sctp_close+0x3c6/0x980 [ 34.508329] ? sctp_apply_peer_addr_params+0xf30/0xf30 [ 34.513578] ? unwind_get_return_address+0x61/0xa0 [ 34.518480] ? trace_hardirqs_off+0xd/0x10 [ 34.522682] ? _raw_spin_unlock_irqrestore+0xa6/0xba [ 34.527751] ? depot_save_stack+0x3b5/0x490 [ 34.532047] ? ipv6_sock_ac_close+0x2e8/0x3e0 [ 34.536513] ? ipv6_sock_mc_close+0x148/0x1a0 [ 34.540974] ? ipv6_sock_ac_drop+0x580/0x580 [ 34.545347] ? ip_mc_drop_socket+0x1ce/0x230 [ 34.549722] ? __fsnotify_parent+0xb4/0x3a0 [ 34.554010] inet_release+0xed/0x1c0 [ 34.557691] inet6_release+0x50/0x70 [ 34.561371] sock_release+0x8d/0x1e0 [ 34.565051] ? sock_release+0x1e0/0x1e0 [ 34.568989] sock_close+0x16/0x20 [ 34.572674] __fput+0x327/0x7e0 [ 34.575924] ? fput+0x140/0x140 [ 34.579168] ? do_raw_spin_trylock+0x190/0x190 [ 34.583715] ? check_same_owner+0x320/0x320 [ 34.588004] ____fput+0x15/0x20 [ 34.591248] task_work_run+0x18a/0x260 [ 34.595103] ? task_work_cancel+0x210/0x210 [ 34.599390] ? _raw_spin_unlock+0x22/0x30 [ 34.603593] ? switch_task_namespaces+0x87/0xc0 [ 34.608238] do_exit+0xa32/0x1b10 [ 34.611657] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 34.616811] ? plist_check_list+0xa0/0xa0 [ 34.620955] ? exit_notify+0xb10/0xb10 [ 34.624826] ? plist_add+0x760/0x760 [ 34.628519] ? check_noncircular+0x20/0x20 [ 34.632721] ? check_same_owner+0x320/0x320 [ 34.637008] ? lock_acquire+0x1d5/0x580 [ 34.640950] ? futex_wait_setup+0x14a/0x3d0 [ 34.645237] ? __might_sleep+0x95/0x190 [ 34.649184] ? find_held_lock+0x35/0x1d0 [ 34.653221] ? check_noncircular+0x20/0x20 [ 34.657428] ? futex_wait+0x43e/0xa00 [ 34.661191] ? lock_downgrade+0x990/0x990 [ 34.665323] ? do_raw_spin_trylock+0x190/0x190 [ 34.669869] ? fault_in_user_writeable+0x90/0x90 [ 34.674599] ? find_held_lock+0x35/0x1d0 [ 34.678635] ? get_signal+0x855/0x17e0 [ 34.682486] ? lock_downgrade+0x990/0x990 [ 34.686610] do_group_exit+0x149/0x400 [ 34.690465] ? __lock_is_held+0xb6/0x140 [ 34.694488] ? SyS_exit+0x30/0x30 [ 34.697907] ? _raw_spin_unlock_irq+0x27/0x70 [ 34.702367] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 34.707351] get_signal+0x7e8/0x17e0 [ 34.711053] ? ptrace_notify+0x130/0x130 [ 34.715078] ? __fd_install+0x2da/0x6a0 [ 34.719016] ? lock_downgrade+0x990/0x990 [ 34.723136] ? exit_robust_list+0x240/0x240 [ 34.727435] do_signal+0x94/0x1ee0 [ 34.730950] ? __fd_install+0x2f7/0x6a0 [ 34.734892] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.739617] ? get_unused_fd_flags+0x190/0x190 [ 34.744167] ? setup_sigcontext+0x7d0/0x7d0 [ 34.748466] ? copy_user_generic_unrolled+0x89/0xc0 [ 34.753454] ? _copy_to_user+0xa2/0xc0 [ 34.757311] ? fd_install+0x4d/0x60 [ 34.760903] ? fput+0xd2/0x140 [ 34.764070] ? SYSC_accept4+0x4ec/0x850 [ 34.768007] ? __release_sock+0x360/0x360 [ 34.772127] ? exit_to_usermode_loop+0x98/0x2d0 [ 34.776768] exit_to_usermode_loop+0x21c/0x2d0 [ 34.781318] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 34.786830] syscall_return_slowpath+0x3a7/0x450 [ 34.791551] ? prepare_exit_to_usermode+0x220/0x220 [ 34.796543] ? entry_SYSCALL_64_fastpath+0x91/0xbe [ 34.801441] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 34.806433] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.811172] entry_SYSCALL_64_fastpath+0xbc/0xbe [ 34.815898] RIP: 0033:0x4512c9 [ 34.819055] RSP: 002b:00007f6478026cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 34.826733] RAX: fffffffffffffe00 RBX: 00000000007180c8 RCX: 00000000004512c9 [ 34.833977] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000007180c8 [ 34.841212] RBP: 00000000007180a8 R08: 0000000000000000 R09: 0000000000000000 [ 34.848450] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 34.855692] R13: 00007ffd5351bd0f R14: 00007f64780279c0 R15: 0000000000000003 [ 34.863468] Dumping ftrace buffer: [ 34.867031] (ftrace buffer empty) [ 34.870710] Kernel Offset: disabled [ 34.874306] Rebooting in 86400 seconds..