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 Warning: Permanently added 'ci-upstream-kasan-gce-3,10.128.0.14' (ECDSA) to the list of known hosts. 2017/10/24 02:59:06 parsed 1 programs 2017/10/24 02:59:06 executed programs: 0 syzkaller login: [ 42.893527] refcount_t: underflow; use-after-free. [ 42.894454] ------------[ cut here ]------------ [ 42.895928] WARNING: CPU: 1 PID: 3719 at lib/refcount.c:186 refcount_sub_and_test+0x167/0x1b0 [ 42.897514] Kernel panic - not syncing: panic_on_warn set ... [ 42.897514] [ 42.898495] CPU: 1 PID: 3719 Comm: syz-executor6 Not tainted 4.14.0-rc6+ #145 [ 42.899486] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.900749] Call Trace: [ 42.901127] dump_stack+0x194/0x257 [ 42.901624] ? arch_local_irq_restore+0x53/0x53 [ 42.902261] panic+0x1e4/0x417 [ 42.902695] ? __warn+0x1d9/0x1d9 [ 42.903208] ? show_regs_print_info+0x65/0x65 [ 42.903823] ? refcount_sub_and_test+0x167/0x1b0 [ 42.904475] __warn+0x1c4/0x1d9 [ 42.904921] ? refcount_sub_and_test+0x167/0x1b0 [ 42.905569] report_bug+0x211/0x2d0 [ 42.906067] fixup_bug+0x40/0x90 [ 42.906546] do_trap+0x260/0x390 [ 42.907036] do_error_trap+0x120/0x390 [ 42.907565] ? do_trap+0x390/0x390 [ 42.908045] ? refcount_sub_and_test+0x167/0x1b0 [ 42.908678] ? vprintk_emit+0x3ea/0x590 [ 42.909222] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.909887] do_invalid_op+0x1b/0x20 [ 42.910388] invalid_op+0x18/0x20 [ 42.910855] RIP: 0010:refcount_sub_and_test+0x167/0x1b0 [ 42.911575] RSP: 0018:ffff8801cf22e440 EFLAGS: 00010282 [ 42.912319] RAX: 0000000000000026 RBX: 0000000000000001 RCX: 0000000000000000 [ 42.913290] RDX: 0000000000000026 RSI: 1ffff10039e45c48 RDI: ffffed0039e45c7c [ 42.917831] RBP: ffff8801cf22e4d0 R08: 0000000000000001 R09: 0000000000000000 [ 42.925070] R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff10039e45c89 [ 42.932307] R13: 00000000ffffff01 R14: 0000000000000100 R15: ffff8801cfb232fc [ 42.939563] ? refcount_inc+0x50/0x50 [ 42.943338] ? __sctp_outq_teardown+0xc7d/0x15a0 [ 42.948064] ? sctp_association_free+0x2d0/0x930 [ 42.952790] ? sctp_do_sm+0x28e7/0x6dd0 [ 42.956734] ? sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 42.961458] ? sctp_close+0x3c6/0x980 [ 42.965224] ? inet_release+0xed/0x1c0 [ 42.969086] sctp_wfree+0x183/0x620 [ 42.972683] ? __sctp_write_space+0x910/0x910 [ 42.977149] skb_release_head_state+0x124/0x200 [ 42.981786] skb_release_all+0x15/0x60 [ 42.985643] consume_skb+0x153/0x490 [ 42.989323] ? sctp_chunk_put+0x99/0x420 [ 42.993352] ? alloc_skb_with_frags+0x710/0x710 [ 42.997992] ? sctp_chunk_hold+0x20/0x20 [ 43.002022] ? refcount_sub_and_test+0x115/0x1b0 [ 43.006747] ? refcount_inc+0x50/0x50 [ 43.010518] ? mark_held_locks+0xaf/0x100 [ 43.014635] ? sctp_datamsg_put+0x456/0x560 [ 43.018929] sctp_chunk_put+0x29c/0x420 [ 43.022876] ? sctp_chunk_hold+0x20/0x20 [ 43.026911] ? sctp_transport_dst_confirm+0x50/0x50 [ 43.031899] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 43.037060] ? print_irqtrace_events+0x270/0x270 [ 43.041788] sctp_chunk_free+0x53/0x60 [ 43.045643] __sctp_outq_teardown+0xc7d/0x15a0 [ 43.050201] ? sctp_inq_set_th_handler+0x1b0/0x1b0 [ 43.055101] ? print_irqtrace_events+0x270/0x270 [ 43.059825] ? lock_acquire+0x1d5/0x580 [ 43.063774] ? print_irqtrace_events+0x270/0x270 [ 43.068502] ? print_irqtrace_events+0x270/0x270 [ 43.073256] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 43.078435] ? __lock_acquire+0x6aa/0x3d50 [ 43.082651] ? check_noncircular+0x20/0x20 [ 43.086858] ? print_irqtrace_events+0x270/0x270 [ 43.091584] ? __lock_acquire+0x6aa/0x3d50 [ 43.095798] ? lock_acquire+0x1d5/0x580 [ 43.099740] ? lock_acquire+0x1d5/0x580 [ 43.103684] ? lock_timer_base+0x1a3/0x2b0 [ 43.107894] ? find_held_lock+0x35/0x1d0 [ 43.111936] ? sock_def_wakeup+0x1f9/0x350 [ 43.116142] ? lock_downgrade+0x990/0x990 [ 43.120263] ? lock_release+0xa40/0xa40 [ 43.124216] sctp_outq_free+0x15/0x20 [ 43.127988] sctp_association_free+0x2d0/0x930 [ 43.132548] ? sctp_asconf_queue_teardown+0x700/0x700 [ 43.137706] ? sock_def_wakeup+0x222/0x350 [ 43.141913] ? sk_dst_check+0x560/0x560 [ 43.145859] ? sctp_association_put+0x74/0x2f0 [ 43.150408] ? sctp_association_hold+0x20/0x20 [ 43.154961] ? check_noncircular+0x20/0x20 [ 43.159175] sctp_do_sm+0x28e7/0x6dd0 [ 43.162959] ? sctp_do_8_2_transport_strike.isra.16+0x8a0/0x8a0 [ 43.168990] ? print_irqtrace_events+0x270/0x270 [ 43.173717] ? __lock_acquire+0x6aa/0x3d50 [ 43.177919] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 43.183077] ? __lock_acquire+0x6aa/0x3d50 [ 43.187284] ? print_irqtrace_events+0x270/0x270 [ 43.192032] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 43.197194] ? find_held_lock+0x35/0x1d0 [ 43.201233] ? skb_dequeue+0x12a/0x180 [ 43.205090] ? lock_downgrade+0x990/0x990 [ 43.209217] ? do_raw_spin_trylock+0x190/0x190 [ 43.213775] ? mark_held_locks+0xaf/0x100 [ 43.217902] ? trace_hardirqs_on+0xd/0x10 [ 43.222032] sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 43.226591] sctp_close+0x3c6/0x980 [ 43.230186] ? is_bpf_text_address+0xa4/0x120 [ 43.234660] ? sctp_apply_peer_addr_params+0xf30/0xf30 [ 43.239906] ? __save_stack_trace+0x7e/0xd0 [ 43.244200] ? check_noncircular+0x20/0x20 [ 43.248407] ? depot_save_stack+0x12c/0x490 [ 43.252706] ? locks_remove_file+0x3fa/0x5a0 [ 43.257088] ? fcntl_setlk+0x10c0/0x10c0 [ 43.261377] ? kmem_cache_free+0x77/0x280 [ 43.265495] ? __fsnotify_parent+0xb4/0x3a0 [ 43.269787] ? ip_mc_drop_socket+0x1ce/0x230 [ 43.274171] inet_release+0xed/0x1c0 [ 43.277856] sock_release+0x8d/0x1e0 [ 43.281544] ? sock_release+0x1e0/0x1e0 [ 43.285486] sock_close+0x16/0x20 [ 43.288910] __fput+0x327/0x7e0 [ 43.292167] ? fput+0x140/0x140 [ 43.295419] ? _raw_spin_unlock_irq+0x27/0x70 [ 43.299890] ____fput+0x15/0x20 [ 43.303138] task_work_run+0x199/0x270 [ 43.306998] ? task_work_cancel+0x210/0x210 [ 43.311293] ? _raw_spin_unlock+0x22/0x30 [ 43.315408] ? switch_task_namespaces+0x87/0xc0 [ 43.320052] do_exit+0x9b5/0x1ad0 [ 43.323480] ? mm_update_next_owner+0x930/0x930 [ 43.328120] ? check_same_owner+0x320/0x320 [ 43.332413] ? lock_acquire+0x1d5/0x580 [ 43.336357] ? futex_wait_setup+0x14a/0x3d0 [ 43.340653] ? __might_sleep+0x95/0x190 [ 43.344603] ? find_held_lock+0x35/0x1d0 [ 43.348640] ? futex_wait+0x402/0x990 [ 43.352410] ? lock_downgrade+0x990/0x990 [ 43.356537] ? do_raw_spin_trylock+0x190/0x190 [ 43.361091] ? check_noncircular+0x20/0x20 [ 43.365309] ? drop_futex_key_refs.isra.13+0x63/0xb0 [ 43.370379] ? futex_wait+0x69e/0x990 [ 43.374157] ? find_held_lock+0x35/0x1d0 [ 43.378196] ? get_signal+0x7ae/0x16d0 [ 43.382055] ? lock_downgrade+0x990/0x990 [ 43.386181] do_group_exit+0x149/0x400 [ 43.390039] ? __lock_is_held+0xb6/0x140 [ 43.394071] ? SyS_exit+0x30/0x30 [ 43.397491] ? _raw_spin_unlock_irq+0x27/0x70 [ 43.401956] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 43.406945] get_signal+0x73f/0x16d0 [ 43.410637] ? ptrace_notify+0x130/0x130 [ 43.414675] ? __schedule+0x8f3/0x2060 [ 43.418539] ? exit_robust_list+0x240/0x240 [ 43.422829] ? __sched_text_start+0x8/0x8 [ 43.426946] ? reacquire_held_locks+0x1fd/0x3d0 [ 43.431582] ? reacquire_held_locks+0x1fd/0x3d0 [ 43.436230] do_signal+0x94/0x1ee0 [ 43.439749] ? lock_downgrade+0x990/0x990 [ 43.443865] ? setup_sigcontext+0x7d0/0x7d0 [ 43.448155] ? do_raw_spin_trylock+0x190/0x190 [ 43.452706] ? lock_release+0xa40/0xa40 [ 43.456654] ? schedule+0xf5/0x430 [ 43.460168] ? __schedule+0x2060/0x2060 [ 43.464116] ? _raw_spin_unlock_bh+0x30/0x40 [ 43.468491] ? release_sock+0x1d4/0x2a0 [ 43.472435] ? sctp_hash_endpoint+0x275/0x320 [ 43.476898] ? __release_sock+0x360/0x360 [ 43.481022] ? exit_to_usermode_loop+0x8c/0x310 [ 43.485667] exit_to_usermode_loop+0x214/0x310 [ 43.490219] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 43.495724] ? sctp_transport_get_idx+0x70/0x70 [ 43.500375] syscall_return_slowpath+0x42f/0x510 [ 43.505102] ? prepare_exit_to_usermode+0x2d0/0x2d0 [ 43.510087] ? entry_SYSCALL_64_fastpath+0x91/0xbe [ 43.514987] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 43.519974] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 43.524707] entry_SYSCALL_64_fastpath+0xbc/0xbe [ 43.529431] RIP: 0033:0x452869 [ 43.532587] RSP: 002b:00007f38dc1d9ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 43.540263] RAX: fffffffffffffe00 RBX: 0000000000758270 RCX: 0000000000452869 [ 43.547504] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000758270 [ 43.554744] RBP: 0000000000758270 R08: 0000000000000000 R09: 0000000000758248 [ 43.561981] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 43.569221] R13: 0000000000a6f7ff R14: 00007f38dc1da9c0 R15: 000000000000000c [ 43.577224] Dumping ftrace buffer: [ 43.580802] (ftrace buffer empty) [ 43.584479] Kernel Offset: disabled [ 43.588079] Rebooting in 86400 seconds..