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.20' (ECDSA) to the list of known hosts. 2017/07/22 13:54:34 parsed 1 programs 2017/07/22 13:54:34 executed programs: 0 serialport: Connected to syzkaller.us-central1-c.ci-upstream-kasan-gce-2 port 1 (session ID: 57493c902a137370b3a8217ee22d49d7af265eafbb0ab5c234cffa65ce6b7a64, 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 syzkaller login: [ 60.078881] refcount_t: underflow; use-after-free. [ 60.079822] ------------[ cut here ]------------ [ 60.080654] WARNING: CPU: 0 PID: 2928 at lib/refcount.c:186 refcount_sub_and_test+0x167/0x1b0 [ 60.081838] Kernel panic - not syncing: panic_on_warn set ... [ 60.081838] [ 60.082810] CPU: 0 PID: 2928 Comm: syz-executor0 Not tainted 4.13.0-rc1+ #1 [ 60.083776] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.085019] Call Trace: [ 60.085393] dump_stack+0x194/0x257 [ 60.085886] ? arch_local_irq_restore+0x53/0x53 [ 60.086538] panic+0x1e4/0x417 [ 60.087007] ? __warn+0x1d9/0x1d9 [ 60.087503] ? show_regs_print_info+0x65/0x65 [ 60.088118] ? refcount_sub_and_test+0x167/0x1b0 [ 60.088759] __warn+0x1c4/0x1d9 [ 60.089204] ? refcount_sub_and_test+0x167/0x1b0 [ 60.089843] report_bug+0x211/0x2d0 [ 60.090361] fixup_bug+0x40/0x90 [ 60.090837] do_trap+0x260/0x390 [ 60.091326] do_error_trap+0x120/0x390 [ 60.091855] ? do_trap+0x390/0x390 [ 60.092359] ? refcount_sub_and_test+0x167/0x1b0 [ 60.092994] ? vprintk_emit+0x3ea/0x590 [ 60.093558] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 60.094211] do_invalid_op+0x1b/0x20 [ 60.094714] invalid_op+0x1e/0x30 [ 60.095181] RIP: 0010:refcount_sub_and_test+0x167/0x1b0 [ 60.095891] RSP: 0018:ffff8801d148e310 EFLAGS: 00010282 [ 60.096614] RAX: 0000000000000026 RBX: 0000000000000001 RCX: 0000000000000000 [ 60.097569] RDX: 0000000000000026 RSI: 1ffff1003a291c22 RDI: ffffed003a291c56 [ 60.098524] RBP: ffff8801d148e3a0 R08: 0000000000000001 R09: 0000000000000000 [ 60.102457] R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff1003a291c63 [ 60.109696] R13: 00000000ffffff01 R14: 0000000000000100 R15: ffff8801d1b6ba3c [ 60.116957] ? refcount_inc+0x50/0x50 [ 60.120725] ? __sctp_outq_teardown+0xc7d/0x15a0 [ 60.125454] ? sctp_association_free+0x2d0/0x930 [ 60.130175] ? sctp_do_sm+0x28e7/0x6d90 [ 60.134122] ? sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 60.138850] ? sctp_close+0x3c6/0x980 [ 60.142622] ? inet_release+0xed/0x1c0 [ 60.146496] sctp_wfree+0x183/0x620 [ 60.150093] ? __sctp_write_space+0x910/0x910 [ 60.154559] skb_release_head_state+0x124/0x200 [ 60.159208] skb_release_all+0x15/0x60 [ 60.163065] consume_skb+0x153/0x490 [ 60.166760] ? sctp_chunk_put+0x99/0x420 [ 60.170788] ? pskb_carve+0x1db0/0x1db0 [ 60.174728] ? sctp_chunk_hold+0x20/0x20 [ 60.178761] ? refcount_sub_and_test+0x115/0x1b0 [ 60.183484] ? refcount_inc+0x50/0x50 [ 60.187249] ? mark_held_locks+0xaf/0x100 [ 60.191369] ? sctp_datamsg_put+0x456/0x560 [ 60.195666] sctp_chunk_put+0x29c/0x420 [ 60.199611] ? sctp_chunk_hold+0x20/0x20 [ 60.203654] ? sctp_transport_dst_confirm+0x50/0x50 [ 60.208643] ? noop_count+0x40/0x40 [ 60.212246] sctp_chunk_free+0x53/0x60 [ 60.216101] __sctp_outq_teardown+0xc7d/0x15a0 [ 60.220660] ? sctp_inq_set_th_handler+0x1b0/0x1b0 [ 60.225558] ? lock_downgrade+0x990/0x990 [ 60.229678] ? lock_release+0xa40/0xa40 [ 60.233624] ? __free_insn_slot+0x5c0/0x5c0 [ 60.237959] ? update_stack_state+0x700/0x700 [ 60.242428] ? print_usage_bug+0x480/0x480 [ 60.246643] ? is_bpf_text_address+0xa4/0x120 [ 60.251105] ? __kernel_text_address+0xae/0xe0 [ 60.255657] ? unwind_get_return_address+0x61/0xa0 [ 60.260563] ? __save_stack_trace+0x7e/0xd0 [ 60.264866] ? check_noncircular+0x20/0x20 [ 60.269077] ? print_usage_bug+0x480/0x480 [ 60.273289] ? SOFTIRQ_verbose+0x10/0x10 [ 60.277315] ? save_stack_trace+0x16/0x20 [ 60.281429] ? save_trace+0x11f/0x350 [ 60.285202] ? lock_acquire+0x1d5/0x580 [ 60.289141] ? lock_acquire+0x1d5/0x580 [ 60.293081] ? lock_timer_base+0x1a3/0x2b0 [ 60.297288] ? find_held_lock+0x35/0x1d0 [ 60.301325] ? sock_def_wakeup+0x1f9/0x350 [ 60.305530] ? lock_downgrade+0x990/0x990 [ 60.309653] ? lock_release+0xa40/0xa40 [ 60.313605] sctp_outq_free+0x15/0x20 [ 60.317376] sctp_association_free+0x2d0/0x930 [ 60.321930] ? sctp_asconf_queue_teardown+0x700/0x700 [ 60.327090] ? sock_def_wakeup+0x222/0x350 [ 60.331294] ? sk_dst_check+0x560/0x560 [ 60.335237] ? sctp_association_put+0x74/0x2f0 [ 60.339787] ? sctp_association_hold+0x20/0x20 [ 60.344344] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 60.349506] ? unwind_get_return_address+0x61/0xa0 [ 60.354487] ? sctp_sm_lookup_event+0x95/0x3c0 [ 60.359048] sctp_do_sm+0x28e7/0x6d90 [ 60.362829] ? check_noncircular+0x20/0x20 [ 60.367037] ? sctp_do_8_2_transport_strike.isra.16+0x8a0/0x8a0 [ 60.373064] ? print_usage_bug+0x480/0x480 [ 60.377264] ? exit_to_usermode_loop+0x21c/0x2d0 [ 60.381988] ? syscall_return_slowpath+0x3a7/0x450 [ 60.386902] ? print_usage_bug+0x480/0x480 [ 60.391099] ? find_held_lock+0x35/0x1d0 [ 60.395140] ? find_held_lock+0x35/0x1d0 [ 60.399175] ? skb_dequeue+0x12a/0x180 [ 60.403029] ? lock_downgrade+0x990/0x990 [ 60.407155] ? do_raw_spin_trylock+0x190/0x190 [ 60.411715] ? mark_held_locks+0xaf/0x100 [ 60.415841] ? trace_hardirqs_on+0xd/0x10 [ 60.419976] sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 60.424533] sctp_close+0x3c6/0x980 [ 60.428138] ? sctp_apply_peer_addr_params+0xf30/0xf30 [ 60.433377] ? unwind_get_return_address+0x61/0xa0 [ 60.438275] ? trace_hardirqs_off+0xd/0x10 [ 60.442484] ? _raw_spin_unlock_irqrestore+0xa6/0xba [ 60.447561] ? depot_save_stack+0x3b5/0x490 [ 60.451858] ? ipv6_sock_ac_close+0x2e8/0x3e0 [ 60.456323] ? ipv6_sock_mc_close+0x148/0x1a0 [ 60.460795] ? ipv6_sock_ac_drop+0x580/0x580 [ 60.465170] ? ip_mc_drop_socket+0x1ce/0x230 [ 60.469545] ? __fsnotify_parent+0xb4/0x3a0 [ 60.473834] inet_release+0xed/0x1c0 [ 60.477515] inet6_release+0x50/0x70 [ 60.481195] sock_release+0x8d/0x1e0 [ 60.484873] ? sock_release+0x1e0/0x1e0 [ 60.488813] sock_close+0x16/0x20 [ 60.492233] __fput+0x327/0x7e0 [ 60.495485] ? fput+0x140/0x140 [ 60.498738] ? do_raw_spin_trylock+0x190/0x190 [ 60.503290] ? check_same_owner+0x320/0x320 [ 60.507579] ____fput+0x15/0x20 [ 60.510832] task_work_run+0x18a/0x260 [ 60.514694] ? task_work_cancel+0x210/0x210 [ 60.518982] ? _raw_spin_unlock+0x22/0x30 [ 60.523095] ? switch_task_namespaces+0x87/0xc0 [ 60.527735] do_exit+0xa32/0x1b10 [ 60.531156] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 60.536315] ? print_usage_bug+0x480/0x480 [ 60.540521] ? exit_notify+0xb10/0xb10 [ 60.544372] ? check_noncircular+0x20/0x20 [ 60.548571] ? check_noncircular+0x20/0x20 [ 60.552776] ? find_held_lock+0x35/0x1d0 [ 60.556803] ? find_held_lock+0x35/0x1d0 [ 60.560834] ? check_noncircular+0x20/0x20 [ 60.565033] ? check_noncircular+0x20/0x20 [ 60.569232] ? lock_downgrade+0x990/0x990 [ 60.573351] ? do_raw_spin_trylock+0x190/0x190 [ 60.577902] ? reacquire_held_locks+0x1fd/0x3d0 [ 60.582548] ? mark_held_locks+0xaf/0x100 [ 60.586658] ? reacquire_held_locks+0x1fd/0x3d0 [ 60.591295] ? check_noncircular+0x20/0x20 [ 60.595502] ? find_held_lock+0x35/0x1d0 [ 60.599534] ? release_sock+0x1d4/0x2a0 [ 60.603479] ? lock_downgrade+0x990/0x990 [ 60.607591] ? lock_downgrade+0x990/0x990 [ 60.611710] ? find_held_lock+0x35/0x1d0 [ 60.615742] ? get_signal+0x855/0x17e0 [ 60.619605] ? lock_downgrade+0x990/0x990 [ 60.623729] do_group_exit+0x149/0x400 [ 60.627585] ? __lock_is_held+0xb6/0x140 [ 60.631613] ? SyS_exit+0x30/0x30 [ 60.635033] ? _raw_spin_unlock_irq+0x27/0x70 [ 60.639494] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 60.644480] get_signal+0x7e8/0x17e0 [ 60.648187] ? ptrace_notify+0x130/0x130 [ 60.652212] ? inet_autobind+0x1f/0x180 [ 60.656151] ? __local_bh_enable_ip+0x9d/0x160 [ 60.660698] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 60.665677] ? release_sock+0x1d4/0x2a0 [ 60.669615] ? trace_hardirqs_on+0xd/0x10 [ 60.673727] ? __local_bh_enable_ip+0x9d/0x160 [ 60.678273] ? _raw_spin_unlock_bh+0x30/0x40 [ 60.682648] ? release_sock+0x1d4/0x2a0 [ 60.686589] ? __release_sock+0x360/0x360 [ 60.690700] ? trace_hardirqs_on+0xd/0x10 [ 60.694819] do_signal+0x94/0x1ee0 [ 60.698326] ? inet_sendmsg+0x11f/0x5e0 [ 60.702263] ? inet_sendmsg+0x126/0x5e0 [ 60.706289] ? __might_sleep+0x95/0x190 [ 60.710233] ? setup_sigcontext+0x7d0/0x7d0 [ 60.714522] ? selinux_socket_sendmsg+0x36/0x40 [ 60.719154] ? security_socket_sendmsg+0x89/0xb0 [ 60.723875] ? inet_recvmsg+0x5f0/0x5f0 [ 60.727817] ? sock_sendmsg+0x4f/0x110 [ 60.731667] ? fput+0xd2/0x140 [ 60.734826] ? SYSC_sendto+0x40d/0x5a0 [ 60.738682] ? SYSC_connect+0x470/0x470 [ 60.742714] ? get_unused_fd_flags+0x190/0x190 [ 60.747258] ? alloc_file+0x27e/0x390 [ 60.751024] ? _raw_spin_unlock+0x22/0x30 [ 60.755135] ? exit_to_usermode_loop+0x98/0x2d0 [ 60.759776] exit_to_usermode_loop+0x21c/0x2d0 [ 60.764327] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 60.769837] syscall_return_slowpath+0x3a7/0x450 [ 60.774559] ? prepare_exit_to_usermode+0x220/0x220 [ 60.779541] ? entry_SYSCALL_64_fastpath+0x91/0xbe [ 60.784437] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 60.789423] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 60.794151] entry_SYSCALL_64_fastpath+0xbc/0xbe [ 60.798877] RIP: 0033:0x4512c9 [ 60.802042] RSP: 002b:00007fd8b9afbc08 EFLAGS: 00000216 ORIG_RAX: 000000000000002c [ 60.809717] RAX: 0000000000000005 RBX: 0000000000718000 RCX: 00000000004512c9 [ 60.816951] RDX: 0000000000000005 RSI: 0000000020fe7000 RDI: 0000000000000003 [ 60.824188] RBP: 0000000000004330 R08: 0000000020fe7ff0 R09: 0000000000000010 [ 60.831423] R10: 0000000000000000 R11: 0000000000000216 R12: 00000000004b9d1d [ 60.838659] R13: 00000000ffffffff R14: 0000000000000003 R15: 0000000020fe7000 [ 60.846349] Dumping ftrace buffer: [ 60.849901] (ftrace buffer empty) [ 60.853582] Kernel Offset: disabled [ 60.857178] Rebooting in 86400 seconds..