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.19' (ECDSA) to the list of known hosts. serialport: Connected to syzkaller.us-central1-c.ci-upstream-kasan-gce-3 port 1 (session ID: 13586b96bc05414394083bd7ee646ca2c21a79d7fe3fa41882a1b35819dbd6e1, active connections: 1). 2017/07/22 12:59:31 parsed 1 programs 2017/07/22 12:59:31 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: [ 46.602625] refcount_t: underflow; use-after-free. [ 46.603486] ------------[ cut here ]------------ [ 46.604275] WARNING: CPU: 0 PID: 2931 at lib/refcount.c:186 refcount_sub_and_test+0x167/0x1b0 [ 46.605433] Kernel panic - not syncing: panic_on_warn set ... [ 46.605433] [ 46.606405] CPU: 0 PID: 2931 Comm: syz-executor3 Not tainted 4.13.0-rc1+ #1 [ 46.607332] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.608549] Call Trace: [ 46.608926] dump_stack+0x194/0x257 [ 46.609415] ? arch_local_irq_restore+0x53/0x53 [ 46.610047] panic+0x1e4/0x417 [ 46.610479] ? __warn+0x1d9/0x1d9 [ 46.610942] ? show_regs_print_info+0x65/0x65 [ 46.611554] ? refcount_sub_and_test+0x167/0x1b0 [ 46.612183] __warn+0x1c4/0x1d9 [ 46.612625] ? refcount_sub_and_test+0x167/0x1b0 [ 46.613259] report_bug+0x211/0x2d0 [ 46.613753] fixup_bug+0x40/0x90 [ 46.614208] do_trap+0x260/0x390 [ 46.614732] do_error_trap+0x120/0x390 [ 46.615274] ? do_trap+0x390/0x390 [ 46.615751] ? refcount_sub_and_test+0x167/0x1b0 [ 46.616383] ? vprintk_emit+0x3ea/0x590 [ 46.616952] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.617600] do_invalid_op+0x1b/0x20 [ 46.618098] invalid_op+0x1e/0x30 [ 46.618561] RIP: 0010:refcount_sub_and_test+0x167/0x1b0 [ 46.619265] RSP: 0018:ffff8801d107e310 EFLAGS: 00010282 [ 46.620039] RAX: 0000000000000026 RBX: 0000000000000001 RCX: 0000000000000000 [ 46.620991] RDX: 0000000000000026 RSI: 1ffff1003a20fc22 RDI: ffffed003a20fc56 [ 46.621941] RBP: ffff8801d107e3a0 R08: 0000000000000001 R09: 0000000000000000 [ 46.623677] R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff1003a20fc63 [ 46.630912] R13: 00000000ffffff01 R14: 0000000000000100 R15: ffff8801d17bfa3c [ 46.638168] ? refcount_inc+0x50/0x50 [ 46.641934] ? __sctp_outq_teardown+0xc7d/0x15a0 [ 46.646658] ? sctp_association_free+0x2d0/0x930 [ 46.651377] ? sctp_do_sm+0x28e7/0x6d90 [ 46.655319] ? sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 46.660039] ? sctp_close+0x3c6/0x980 [ 46.663804] ? inet_release+0xed/0x1c0 [ 46.667668] sctp_wfree+0x183/0x620 [ 46.671266] ? __sctp_write_space+0x910/0x910 [ 46.675734] skb_release_head_state+0x124/0x200 [ 46.680374] skb_release_all+0x15/0x60 [ 46.684229] consume_skb+0x153/0x490 [ 46.687908] ? sctp_chunk_put+0x99/0x420 [ 46.691935] ? pskb_carve+0x1db0/0x1db0 [ 46.695875] ? sctp_chunk_hold+0x20/0x20 [ 46.699904] ? refcount_sub_and_test+0x115/0x1b0 [ 46.704625] ? refcount_inc+0x50/0x50 [ 46.708391] ? mark_held_locks+0xaf/0x100 [ 46.712510] ? sctp_datamsg_put+0x456/0x560 [ 46.716805] sctp_chunk_put+0x29c/0x420 [ 46.720753] ? sctp_chunk_hold+0x20/0x20 [ 46.724792] ? sctp_transport_dst_confirm+0x50/0x50 [ 46.729785] ? noop_count+0x40/0x40 [ 46.733388] sctp_chunk_free+0x53/0x60 [ 46.737244] __sctp_outq_teardown+0xc7d/0x15a0 [ 46.741805] ? sctp_inq_set_th_handler+0x1b0/0x1b0 [ 46.746701] ? lock_downgrade+0x990/0x990 [ 46.750819] ? lock_release+0xa40/0xa40 [ 46.754776] ? __free_insn_slot+0x5c0/0x5c0 [ 46.759073] ? update_stack_state+0x700/0x700 [ 46.763545] ? print_usage_bug+0x480/0x480 [ 46.767757] ? is_bpf_text_address+0xa4/0x120 [ 46.772221] ? __kernel_text_address+0xae/0xe0 [ 46.776770] ? unwind_get_return_address+0x61/0xa0 [ 46.781671] ? __save_stack_trace+0x7e/0xd0 [ 46.785968] ? check_noncircular+0x20/0x20 [ 46.790180] ? print_usage_bug+0x480/0x480 [ 46.794382] ? SOFTIRQ_verbose+0x10/0x10 [ 46.798414] ? save_stack_trace+0x16/0x20 [ 46.802546] ? save_trace+0x11f/0x350 [ 46.806325] ? lock_acquire+0x1d5/0x580 [ 46.810270] ? lock_acquire+0x1d5/0x580 [ 46.814217] ? lock_timer_base+0x1a3/0x2b0 [ 46.818427] ? find_held_lock+0x35/0x1d0 [ 46.822469] ? sock_def_wakeup+0x1f9/0x350 [ 46.826684] ? lock_downgrade+0x990/0x990 [ 46.830817] ? lock_release+0xa40/0xa40 [ 46.834779] sctp_outq_free+0x15/0x20 [ 46.838560] sctp_association_free+0x2d0/0x930 [ 46.843126] ? sctp_asconf_queue_teardown+0x700/0x700 [ 46.848303] ? sock_def_wakeup+0x222/0x350 [ 46.852534] ? sk_dst_check+0x560/0x560 [ 46.856491] ? sctp_association_put+0x74/0x2f0 [ 46.861052] ? sctp_association_hold+0x20/0x20 [ 46.865609] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 46.870768] ? unwind_get_return_address+0x61/0xa0 [ 46.875663] ? sctp_sm_lookup_event+0x95/0x3c0 [ 46.880226] sctp_do_sm+0x28e7/0x6d90 [ 46.883993] ? check_noncircular+0x20/0x20 [ 46.888207] ? sctp_do_8_2_transport_strike.isra.16+0x8a0/0x8a0 [ 46.894240] ? print_usage_bug+0x480/0x480 [ 46.898438] ? exit_to_usermode_loop+0x21c/0x2d0 [ 46.903158] ? syscall_return_slowpath+0x3a7/0x450 [ 46.908055] ? print_usage_bug+0x480/0x480 [ 46.912263] ? find_held_lock+0x35/0x1d0 [ 46.916306] ? find_held_lock+0x35/0x1d0 [ 46.920341] ? skb_dequeue+0x12a/0x180 [ 46.924197] ? lock_downgrade+0x990/0x990 [ 46.928318] ? do_raw_spin_trylock+0x190/0x190 [ 46.932872] ? mark_held_locks+0xaf/0x100 [ 46.936990] ? trace_hardirqs_on+0xd/0x10 [ 46.941117] sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 46.945669] sctp_close+0x3c6/0x980 [ 46.949275] ? sctp_apply_peer_addr_params+0xf30/0xf30 [ 46.954535] ? unwind_get_return_address+0x61/0xa0 [ 46.959438] ? trace_hardirqs_off+0xd/0x10 [ 46.963643] ? _raw_spin_unlock_irqrestore+0xa6/0xba [ 46.968719] ? depot_save_stack+0x3b5/0x490 [ 46.973018] ? ipv6_sock_ac_close+0x2e8/0x3e0 [ 46.977483] ? ipv6_sock_mc_close+0x148/0x1a0 [ 46.981948] ? ipv6_sock_ac_drop+0x580/0x580 [ 46.986335] ? ip_mc_drop_socket+0x1ce/0x230 [ 46.990720] ? __fsnotify_parent+0xb4/0x3a0 [ 46.995015] inet_release+0xed/0x1c0 [ 46.998699] inet6_release+0x50/0x70 [ 47.002379] sock_release+0x8d/0x1e0 [ 47.006061] ? sock_release+0x1e0/0x1e0 [ 47.010002] sock_close+0x16/0x20 [ 47.013427] __fput+0x327/0x7e0 [ 47.016679] ? fput+0x140/0x140 [ 47.019928] ? do_raw_spin_trylock+0x190/0x190 [ 47.024482] ? check_same_owner+0x320/0x320 [ 47.028778] ____fput+0x15/0x20 [ 47.032031] task_work_run+0x18a/0x260 [ 47.035910] ? task_work_cancel+0x210/0x210 [ 47.040205] ? _raw_spin_unlock+0x22/0x30 [ 47.044320] ? switch_task_namespaces+0x87/0xc0 [ 47.048966] do_exit+0xa32/0x1b10 [ 47.052395] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 47.057557] ? plist_check_list+0xa0/0xa0 [ 47.061684] ? exit_notify+0xb10/0xb10 [ 47.065544] ? plist_add+0x760/0x760 [ 47.069231] ? check_noncircular+0x20/0x20 [ 47.073439] ? check_same_owner+0x320/0x320 [ 47.077727] ? lock_acquire+0x1d5/0x580 [ 47.081672] ? futex_wait_setup+0x14a/0x3d0 [ 47.085969] ? __might_sleep+0x95/0x190 [ 47.089928] ? find_held_lock+0x35/0x1d0 [ 47.093965] ? check_noncircular+0x20/0x20 [ 47.098173] ? futex_wait+0x43e/0xa00 [ 47.101941] ? lock_downgrade+0x990/0x990 [ 47.106074] ? do_raw_spin_trylock+0x190/0x190 [ 47.110622] ? fault_in_user_writeable+0x90/0x90 [ 47.115364] ? find_held_lock+0x35/0x1d0 [ 47.119400] ? get_signal+0x855/0x17e0 [ 47.123255] ? lock_downgrade+0x990/0x990 [ 47.127377] do_group_exit+0x149/0x400 [ 47.131231] ? __lock_is_held+0xb6/0x140 [ 47.135257] ? SyS_exit+0x30/0x30 [ 47.138675] ? _raw_spin_unlock_irq+0x27/0x70 [ 47.143150] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 47.148152] get_signal+0x7e8/0x17e0 [ 47.151873] ? ptrace_notify+0x130/0x130 [ 47.155935] ? __fd_install+0x2da/0x6a0 [ 47.159877] ? lock_downgrade+0x990/0x990 [ 47.164002] ? exit_robust_list+0x240/0x240 [ 47.168306] do_signal+0x94/0x1ee0 [ 47.171813] ? __fd_install+0x2f7/0x6a0 [ 47.175760] ? get_unused_fd_flags+0x190/0x190 [ 47.180310] ? setup_sigcontext+0x7d0/0x7d0 [ 47.184620] ? __might_sleep+0x95/0x190 [ 47.188583] ? kasan_check_read+0x11/0x20 [ 47.192706] ? _copy_to_user+0xa2/0xc0 [ 47.196671] ? fd_install+0x4d/0x60 [ 47.200271] ? fput+0xd2/0x140 [ 47.203430] ? SYSC_accept4+0x4ec/0x850 [ 47.207367] ? __release_sock+0x360/0x360 [ 47.211500] ? exit_to_usermode_loop+0x98/0x2d0 [ 47.216142] exit_to_usermode_loop+0x21c/0x2d0 [ 47.220695] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 47.226209] syscall_return_slowpath+0x3a7/0x450 [ 47.230932] ? prepare_exit_to_usermode+0x220/0x220 [ 47.235916] ? entry_SYSCALL_64_fastpath+0x91/0xbe [ 47.240825] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 47.245812] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 47.250558] entry_SYSCALL_64_fastpath+0xbc/0xbe [ 47.255282] RIP: 0033:0x4512c9 [ 47.258441] RSP: 002b:00007f5380170cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 47.266125] RAX: fffffffffffffe00 RBX: 00000000007180c8 RCX: 00000000004512c9 [ 47.273371] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000007180c8 [ 47.280624] RBP: 00000000007180a8 R08: 0000000000000000 R09: 0000000000000000 [ 47.287865] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 47.295107] R13: 00007ffd4c4438cf R14: 00007f53801719c0 R15: 0000000000000004 [ 47.302743] Dumping ftrace buffer: [ 47.306339] (ftrace buffer empty) [ 47.310020] Kernel Offset: disabled [ 47.313627] Rebooting in 86400 seconds..