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-net-kasan-gce-8,10.128.0.49' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 48.394656] refcount_t: underflow; use-after-free. [ 48.395579] ------------[ cut here ]------------ [ 48.396798] WARNING: CPU: 1 PID: 4441 at lib/refcount.c:186 refcount_sub_and_test+0x167/0x1b0 [ 48.398280] Kernel panic - not syncing: panic_on_warn set ... [ 48.398280] [ 48.399386] CPU: 1 PID: 4441 Comm: syzkaller482823 Not tainted 4.13.0-rc5+ #9 [ 48.400350] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.401611] Call Trace: [ 48.401971] dump_stack+0x194/0x257 [ 48.402480] ? arch_local_irq_restore+0x53/0x53 [ 48.403126] panic+0x1e4/0x417 [ 48.403559] ? __warn+0x1d9/0x1d9 [ 48.404028] ? show_regs_print_info+0x65/0x65 [ 48.404647] ? refcount_sub_and_test+0x167/0x1b0 [ 48.405293] __warn+0x1c4/0x1d9 [ 48.405774] ? refcount_sub_and_test+0x167/0x1b0 [ 48.406437] report_bug+0x211/0x2d0 [ 48.406935] fixup_bug+0x40/0x90 [ 48.407395] do_trap+0x260/0x390 [ 48.407857] do_error_trap+0x120/0x390 [ 48.408523] ? do_trap+0x390/0x390 [ 48.409107] ? refcount_sub_and_test+0x167/0x1b0 [ 48.409768] ? vprintk_emit+0x3ea/0x590 [ 48.410368] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 48.411018] do_invalid_op+0x1b/0x20 [ 48.411519] invalid_op+0x1e/0x30 [ 48.411985] RIP: 0010:refcount_sub_and_test+0x167/0x1b0 [ 48.412722] RSP: 0018:ffff8801c3d7e310 EFLAGS: 00010282 [ 48.413464] RAX: 0000000000000026 RBX: 0000000000000001 RCX: 0000000000000000 [ 48.414416] RDX: 0000000000000026 RSI: 1ffff100387afc22 RDI: ffffed00387afc56 [ 48.419329] RBP: ffff8801c3d7e3a0 R08: 0000000000000001 R09: 0000000000000000 [ 48.426569] R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff100387afc63 [ 48.433810] R13: 00000000ffffff01 R14: 0000000000000100 R15: ffff8801c1e2523c [ 48.441080] ? refcount_inc+0x50/0x50 [ 48.444857] ? __sctp_outq_teardown+0xc7d/0x15a0 [ 48.449580] ? sctp_association_free+0x2d0/0x930 [ 48.454306] ? sctp_do_sm+0x28e7/0x6d90 [ 48.458247] ? sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 48.462970] ? sctp_close+0x3c6/0x980 [ 48.466736] ? inet_release+0xed/0x1c0 [ 48.470601] sctp_wfree+0x183/0x620 [ 48.474197] ? __sctp_write_space+0x910/0x910 [ 48.478659] skb_release_head_state+0x124/0x200 [ 48.483296] skb_release_all+0x15/0x60 [ 48.487156] consume_skb+0x153/0x490 [ 48.490835] ? sctp_chunk_put+0x99/0x420 [ 48.494864] ? alloc_skb_with_frags+0x710/0x710 [ 48.499502] ? sctp_chunk_hold+0x20/0x20 [ 48.503537] ? refcount_sub_and_test+0x115/0x1b0 [ 48.508261] ? refcount_inc+0x50/0x50 [ 48.512028] ? mark_held_locks+0xaf/0x100 [ 48.516146] ? sctp_datamsg_put+0x456/0x560 [ 48.520448] sctp_chunk_put+0x29c/0x420 [ 48.524391] ? sctp_chunk_hold+0x20/0x20 [ 48.528433] ? sctp_transport_dst_confirm+0x50/0x50 [ 48.533415] ? print_usage_bug+0x480/0x480 [ 48.537624] ? find_held_lock+0x35/0x1d0 [ 48.541667] sctp_chunk_free+0x53/0x60 [ 48.545524] __sctp_outq_teardown+0xc7d/0x15a0 [ 48.550082] ? sctp_inq_set_th_handler+0x1b0/0x1b0 [ 48.554981] ? is_bpf_text_address+0x7b/0x120 [ 48.559446] ? lock_downgrade+0x990/0x990 [ 48.563568] ? print_usage_bug+0x480/0x480 [ 48.567772] ? __lock_acquire+0x6ef/0x3dc0 [ 48.571974] ? check_noncircular+0x20/0x20 [ 48.576183] ? print_usage_bug+0x480/0x480 [ 48.580397] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 48.585554] ? check_noncircular+0x20/0x20 [ 48.589758] ? print_usage_bug+0x480/0x480 [ 48.593970] ? sock_destroy_inode+0x56/0x70 [ 48.598270] ? lock_acquire+0x1d5/0x580 [ 48.602212] ? lock_acquire+0x1d5/0x580 [ 48.606161] ? lock_timer_base+0x1a3/0x2b0 [ 48.610372] ? find_held_lock+0x35/0x1d0 [ 48.614407] ? sock_def_wakeup+0x1f9/0x350 [ 48.618611] ? lock_downgrade+0x990/0x990 [ 48.622729] ? lock_release+0xa40/0xa40 [ 48.626676] sctp_outq_free+0x15/0x20 [ 48.630446] sctp_association_free+0x2d0/0x930 [ 48.635004] ? sctp_asconf_queue_teardown+0x700/0x700 [ 48.640160] ? sock_def_wakeup+0x222/0x350 [ 48.644363] ? sk_dst_check+0x560/0x560 [ 48.648304] ? sctp_association_put+0x74/0x2f0 [ 48.652852] ? sctp_association_hold+0x20/0x20 [ 48.657406] ? sctp_sm_lookup_event+0x95/0x3c0 [ 48.661961] sctp_do_sm+0x28e7/0x6d90 [ 48.665747] ? sctp_do_8_2_transport_strike.isra.16+0x8a0/0x8a0 [ 48.671778] ? lock_release+0xa40/0xa40 [ 48.675727] ? print_usage_bug+0x480/0x480 [ 48.679931] ? update_stack_state+0x700/0x700 [ 48.684408] ? print_usage_bug+0x480/0x480 [ 48.688617] ? is_bpf_text_address+0xa4/0x120 [ 48.693082] ? __kernel_text_address+0xae/0xe0 [ 48.697633] ? unwind_get_return_address+0x61/0xa0 [ 48.702531] ? find_held_lock+0x35/0x1d0 [ 48.706572] ? skb_dequeue+0x12a/0x180 [ 48.710428] ? lock_downgrade+0x990/0x990 [ 48.714544] ? do_raw_spin_trylock+0x190/0x190 [ 48.719099] ? mark_held_locks+0xaf/0x100 [ 48.723221] ? trace_hardirqs_on+0xd/0x10 [ 48.727341] sctp_primitive_SHUTDOWN+0xa0/0xd0 [ 48.731903] sctp_close+0x3c6/0x980 [ 48.735505] ? sctp_apply_peer_addr_params+0xf30/0xf30 [ 48.740755] ? lock_release+0xa40/0xa40 [ 48.744712] ? dentry_free+0xcd/0x130 [ 48.748479] ? rcu_read_lock_sched_held+0x108/0x120 [ 48.753466] ? kmem_cache_free+0x249/0x280 [ 48.757670] ? dentry_free+0xd2/0x130 [ 48.761453] ? ipv6_sock_ac_close+0x2e8/0x3e0 [ 48.765925] ? ipv6_sock_mc_close+0x148/0x1a0 [ 48.770390] ? ipv6_sock_ac_drop+0x580/0x580 [ 48.774769] ? ip_mc_drop_socket+0x1ce/0x230 [ 48.779147] ? __fsnotify_parent+0xb4/0x3a0 [ 48.783441] inet_release+0xed/0x1c0 [ 48.787125] inet6_release+0x50/0x70 [ 48.790896] sock_release+0x8d/0x1e0 [ 48.794579] ? sock_release+0x1e0/0x1e0 [ 48.798522] sock_close+0x16/0x20 [ 48.801948] __fput+0x327/0x7e0 [ 48.805203] ? fput+0x140/0x140 [ 48.808453] ? check_same_owner+0x320/0x320 [ 48.812742] ? do_raw_spin_trylock+0x190/0x190 [ 48.817308] ? check_same_owner+0x320/0x320 [ 48.821599] ____fput+0x15/0x20 [ 48.824849] task_work_run+0x18a/0x260 [ 48.828707] ? task_work_cancel+0x210/0x210 [ 48.832997] ? _raw_spin_unlock+0x22/0x30 [ 48.837113] ? switch_task_namespaces+0x87/0xc0 [ 48.841752] do_exit+0xa3a/0x1b10 [ 48.845176] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 48.850342] ? __rb_erase_color+0x27b0/0x27b0 [ 48.854803] ? recalc_sigpending_and_wake+0x30/0x30 [ 48.859791] ? mm_update_next_owner+0x930/0x930 [ 48.864435] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 48.869617] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 48.874778] ? check_noncircular+0x20/0x20 [ 48.878980] ? check_noncircular+0x20/0x20 [ 48.883185] ? __task_pid_nr_ns+0x250/0x520 [ 48.887476] ? check_noncircular+0x20/0x20 [ 48.891682] ? check_noncircular+0x20/0x20 [ 48.895896] ? __lock_is_held+0xb6/0x140 [ 48.899930] ? check_noncircular+0x20/0x20 [ 48.904135] ? find_held_lock+0x35/0x1d0 [ 48.908170] ? get_signal+0x855/0x17e0 [ 48.912034] ? lock_downgrade+0x990/0x990 [ 48.916158] do_group_exit+0x149/0x400 [ 48.920015] ? __lock_is_held+0xb6/0x140 [ 48.924051] ? SyS_exit+0x30/0x30 [ 48.927472] ? _raw_spin_unlock_irq+0x27/0x70 [ 48.931936] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 48.936939] get_signal+0x7e8/0x17e0 [ 48.940652] ? ptrace_notify+0x130/0x130 [ 48.944685] ? __schedule+0x8f0/0x2070 [ 48.948545] ? __sched_text_start+0x8/0x8 [ 48.952658] ? sock_has_perm+0x29c/0x400 [ 48.956696] ? selinux_tun_dev_create+0xc0/0xc0 [ 48.961335] ? lock_release+0xa40/0xa40 [ 48.965280] do_signal+0x94/0x1ee0 [ 48.968793] ? inet_sendmsg+0x11f/0x5e0 [ 48.972734] ? inet_sendmsg+0x126/0x5e0 [ 48.976676] ? __might_sleep+0x95/0x190 [ 48.980620] ? setup_sigcontext+0x7d0/0x7d0 [ 48.984910] ? selinux_socket_sendmsg+0x36/0x40 [ 48.989545] ? security_socket_sendmsg+0x89/0xb0 [ 48.994275] ? schedule+0x108/0x440 [ 48.997868] ? fput+0xd2/0x140 [ 49.001038] ? __schedule+0x2070/0x2070 [ 49.004994] ? SYSC_connect+0x470/0x470 [ 49.008940] ? find_held_lock+0x35/0x1d0 [ 49.012974] ? exit_to_usermode_loop+0x98/0x300 [ 49.017617] exit_to_usermode_loop+0x224/0x300 [ 49.022172] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 49.027678] ? handle_mm_fault+0x4e3/0x940 [ 49.031877] ? down_read_trylock+0xdb/0x170 [ 49.036171] syscall_return_slowpath+0x3a7/0x450 [ 49.040898] ? prepare_exit_to_usermode+0x220/0x220 [ 49.045885] ? entry_SYSCALL_64_fastpath+0x91/0xbe [ 49.050786] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 49.055769] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 49.060497] entry_SYSCALL_64_fastpath+0xbc/0xbe [ 49.065220] RIP: 0033:0x4457a9 [ 49.068378] RSP: 002b:00007f69642b3db8 EFLAGS: 00000212 ORIG_RAX: 000000000000002c [ 49.076055] RAX: ffffffffffffffe0 RBX: 0000000000000000 RCX: 00000000004457a9 [ 49.083295] RDX: 0000000000000064 RSI: 0000000020aa3000 RDI: 0000000000000120 [ 49.090535] RBP: 0000000000000000 R08: 0000000020aa4fe4 R09: 000000000000001c [ 49.097772] R10: 0000000000000080 R11: 0000000000000212 R12: 0000000000000000 [ 49.105009] R13: 00007fff404730df R14: 00007f69642b49c0 R15: 0000000000000000 [ 49.112410] Dumping ftrace buffer: [ 49.115955] (ftrace buffer empty) [ 49.119636] Kernel Offset: disabled [ 49.123237] Rebooting in 86400 seconds..