[....] Starting enhanced syslogd: rsyslogd[ 11.307577] audit: type=1400 audit(1513623614.540:5): avc: denied { syslog } for pid=2983 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?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: [ 18.224103] audit: type=1400 audit(1513623621.456:6): avc: denied { map } for pid=3124 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added 'ci-upstream-kasan-gce-1,10.128.15.212' (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 [ 24.386988] audit: type=1400 audit(1513623627.619:7): avc: denied { map } for pid=3138 comm="syzkaller418625" path="/root/syzkaller418625802" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 [ 31.362992] ================================================================== [ 31.370403] BUG: KASAN: double-free or invalid-free in skb_free_head+0x74/0xb0 [ 31.377723] [ 31.379322] CPU: 1 PID: 3136 Comm: sshd Not tainted 4.15.0-rc4+ #227 [ 31.385776] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.395094] Call Trace: [ 31.397651] dump_stack+0x194/0x257 [ 31.401247] ? arch_local_irq_restore+0x53/0x53 [ 31.405885] ? show_regs_print_info+0x18/0x18 [ 31.410344] ? check_noncircular+0x20/0x20 [ 31.414552] ? print_irqtrace_events+0x270/0x270 [ 31.419277] ? skb_free_head+0x74/0xb0 [ 31.423133] print_address_description+0x73/0x250 [ 31.427941] ? skb_free_head+0x74/0xb0 [ 31.431799] ? skb_free_head+0x74/0xb0 [ 31.435669] kasan_report_double_free+0x55/0x80 [ 31.441192] kasan_slab_free+0xa3/0xc0 [ 31.446351] kfree+0xca/0x250 [ 31.449949] skb_free_head+0x74/0xb0 [ 31.453630] skb_release_data+0x58c/0x790 [ 31.457751] ? skb_tx_error+0x2c0/0x2c0 [ 31.461692] ? check_noncircular+0x20/0x20 [ 31.465894] ? __lock_is_held+0xb6/0x140 [ 31.469931] skb_release_all+0x4a/0x60 [ 31.473784] consume_skb+0x153/0x490 [ 31.477464] ? alloc_skb_with_frags+0x750/0x750 [ 31.482103] ? virtqueue_get_buf_ctx+0x3b1/0x8b0 [ 31.486829] ? detach_buf+0x6a0/0x6a0 [ 31.490607] __dev_kfree_skb_any+0x85/0xa0 [ 31.494812] free_old_xmit_skbs.isra.28+0x15a/0x2c0 [ 31.499799] ? virtnet_cpu_down_prep+0x80/0x80 [ 31.504346] ? packet_rcv_fanout+0x7d0/0x7d0 [ 31.508724] ? dev_queue_xmit_nit+0x8af/0xc40 [ 31.513191] start_xmit+0x1b9/0x1650 [ 31.516882] ? virtnet_xdp+0x12a0/0x12a0 [ 31.520924] dev_hard_start_xmit+0x248/0xac0 [ 31.525305] ? validate_xmit_skb_list+0x120/0x120 [ 31.530114] ? perf_trace_lock_acquire+0x570/0x980 [ 31.535793] ? lock_acquire+0x1d5/0x580 [ 31.539732] ? lock_acquire+0x1d5/0x580 [ 31.543670] ? sch_direct_xmit+0x280/0x6d0 [ 31.547871] ? skb_csum_hwoffload_help+0x57/0xa0 [ 31.552598] ? lock_release+0xa40/0xa40 [ 31.556540] ? netif_skb_features+0x8e0/0x8e0 [ 31.561011] ? do_raw_spin_trylock+0x190/0x190 [ 31.565568] ? lock_acquire+0x1d5/0x580 [ 31.569521] sch_direct_xmit+0x31d/0x6d0 [ 31.573552] ? dev_deactivate_queue.constprop.29+0x260/0x260 [ 31.579326] __dev_queue_xmit+0x16f4/0x2070 [ 31.583969] ? netdev_pick_tx+0x300/0x300 [ 31.588090] ? check_noncircular+0x20/0x20 [ 31.592299] ? __lock_acquire+0x664/0x3e00 [ 31.596500] ? print_irqtrace_events+0x270/0x270 [ 31.601226] ? numa_migrate_preferred+0x250/0x250 [ 31.606043] ? print_irqtrace_events+0x270/0x270 [ 31.610776] ? ip_finish_output+0x85e/0xd10 [ 31.615064] ? netlbl_catmap_setrng+0xb0/0xb0 [ 31.619536] ? mark_held_locks+0xaf/0x100 [ 31.623651] ? ip_finish_output2+0xca6/0x1460 [ 31.628115] dev_queue_xmit+0x17/0x20 [ 31.631882] ip_finish_output2+0xece/0x1460 [ 31.636176] ? dst_output+0x140/0x140 [ 31.639944] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 31.644924] ? ipt_do_table+0xd04/0x1330 [ 31.648950] ? trace_hardirqs_on+0xd/0x10 [ 31.653073] ? __local_bh_enable_ip+0x121/0x230 [ 31.657710] ? ipt_do_table+0xd6f/0x1330 [ 31.661734] ? __local_bh_enable_ip+0x121/0x230 [ 31.666372] ? ipv4_mtu+0x28c/0x3d0 [ 31.669970] ? __lock_is_held+0xb6/0x140 [ 31.674011] ip_finish_output+0x85e/0xd10 [ 31.678128] ? ip_finish_output+0x85e/0xd10 [ 31.682416] ? ip_fragment.constprop.49+0x200/0x200 [ 31.687401] ? iptable_mangle_hook+0xa9/0x550 [ 31.691875] ? nf_hook_slow+0xd3/0x1a0 [ 31.695732] ip_output+0x1cc/0x860 [ 31.699239] ? ip_mc_output+0x1350/0x1350 [ 31.703361] ? ip_fragment.constprop.49+0x200/0x200 [ 31.708349] ip_local_out+0x95/0x160 [ 31.712038] ip_queue_xmit+0x8c6/0x18e0 [ 31.715989] ? ip_build_and_send_pkt+0xc30/0xc30 [ 31.720714] ? refcount_dec_if_one+0x20/0x20 [ 31.725093] ? __tcp_v4_send_check+0x1b8/0x350 [ 31.729638] ? tcp_options_write+0x228/0x940 [ 31.734030] tcp_transmit_skb+0x1b12/0x38b0 [ 31.738330] ? __tcp_select_window+0x900/0x900 [ 31.742883] ? __kernel_text_address+0xd/0x40 [ 31.747348] ? __lock_acquire+0x664/0x3e00 [ 31.751556] ? depot_save_stack+0x12c/0x490 [ 31.755851] ? tcp_small_queue_check.isra.26+0x31c/0x450 [ 31.762813] ? tcp_tso_segs+0x240/0x240 [ 31.768055] ? pvclock_read_flags+0x160/0x160 [ 31.773994] ? inet_sendmsg+0x11f/0x5e0 [ 31.779240] ? sock_sendmsg+0xca/0x110 [ 31.784311] ? sock_write_iter+0x31a/0x5d0 [ 31.788510] ? __vfs_write+0x684/0x970 [ 31.792360] ? vfs_write+0x189/0x510 [ 31.796039] ? SyS_write+0xef/0x220 [ 31.799630] ? entry_SYSCALL_64_fastpath+0x1f/0x96 [ 31.804535] ? sched_clock_cpu+0x1b/0x170 [ 31.808647] ? tcp_init_tso_segs+0x114/0x1f0 [ 31.813031] tcp_write_xmit+0x680/0x5190 [ 31.817074] ? rcu_read_lock_sched_held+0xe8/0x120 [ 31.821976] ? tcp_transmit_skb+0x38b0/0x38b0 [ 31.826436] ? __asan_register_globals+0x60/0xa0 [ 31.831169] ? find_held_lock+0x35/0x1d0 [ 31.835205] ? __might_fault+0x110/0x1d0 [ 31.839232] ? iov_iter_advance+0x2a1/0x13f0 [ 31.843608] ? lock_release+0xa40/0xa40 [ 31.847553] ? tcp_v4_md5_lookup+0x22/0x30 [ 31.851758] ? tcp_established_options+0x2c5/0x420 [ 31.856660] ? iov_iter_copy_from_user_atomic+0xe30/0xe30 [ 31.862167] __tcp_push_pending_frames+0xa0/0x250 [ 31.866979] tcp_push+0x538/0x770 [ 31.870401] ? tcp_splice_data_recv+0x1a0/0x1a0 [ 31.875038] ? skb_entail+0x5f6/0x8a0 [ 31.878809] ? iov_iter_advance+0x13f0/0x13f0 [ 31.883279] ? tcp_tx_timestamp+0x62/0x2a0 [ 31.887482] tcp_sendmsg_locked+0x2663/0x3b30 [ 31.891970] ? tcp_sendpage+0x60/0x60 [ 31.895745] ? rcu_read_lock_sched_held+0x108/0x120 [ 31.900730] ? __mark_inode_dirty+0x262/0x1170 [ 31.905283] ? print_irqtrace_events+0x270/0x270 [ 31.910003] ? find_held_lock+0x35/0x1d0 [ 31.914045] ? lock_sock_nested+0xa3/0x110 [ 31.918243] ? lock_acquire+0x1d5/0x580 [ 31.922183] ? tcp_sendmsg+0x21/0x50 [ 31.925876] ? mark_held_locks+0xaf/0x100 [ 31.929991] ? do_raw_spin_trylock+0x190/0x190 [ 31.934548] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 31.939532] ? lock_sock_nested+0x91/0x110 [ 31.943737] ? trace_hardirqs_on+0xd/0x10 [ 31.947855] ? __local_bh_enable_ip+0x121/0x230 [ 31.952496] tcp_sendmsg+0x2f/0x50 [ 31.956007] inet_sendmsg+0x11f/0x5e0 [ 31.959787] ? inet_recvmsg+0x5f0/0x5f0 [ 31.963731] ? selinux_socket_sendmsg+0x36/0x40 [ 31.968365] ? security_socket_sendmsg+0x89/0xb0 [ 31.974043] ? inet_recvmsg+0x5f0/0x5f0 [ 31.979287] sock_sendmsg+0xca/0x110 [ 31.984098] sock_write_iter+0x31a/0x5d0 [ 31.988737] ? sock_sendmsg+0x110/0x110 [ 31.992690] ? iov_iter_init+0xaf/0x1d0 [ 31.996633] __vfs_write+0x684/0x970 [ 32.000315] ? kernel_read+0x120/0x120 [ 32.004170] ? bpf_fd_pass+0x280/0x280 [ 32.008037] ? _cond_resched+0x14/0x30 [ 32.011902] ? selinux_file_permission+0x82/0x460 [ 32.016719] ? rw_verify_area+0xe5/0x2b0 [ 32.020744] ? __fdget_raw+0x20/0x20 [ 32.024428] vfs_write+0x189/0x510 [ 32.027950] SyS_write+0xef/0x220 [ 32.031372] ? SyS_read+0x220/0x220 [ 32.034965] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.039957] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.044686] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.049409] RIP: 0033:0x7fcf462eb370 [ 32.053089] RSP: 002b:00007ffd2dbc56d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 32.060762] RAX: ffffffffffffffda RBX: 000000008a5122fe RCX: 00007fcf462eb370 [ 32.067997] RDX: 0000000000000038 RSI: 000055fa6bc4b460 RDI: 0000000000000003 [ 32.075237] RBP: 00000000e53d1be2 R08: 0000000000000001 R09: 0101010101010101 [ 32.082471] R10: 0000000000000008 R11: 0000000000000246 R12: 000000002c5b3216 [ 32.089708] R13: 0000000000160000 R14: 00007fcf473a6c00 R15: 000055fa6bc59e30 [ 32.096961] [ 32.098556] Allocated by task 3136: [ 32.102148] save_stack+0x43/0xd0 [ 32.105564] kasan_kmalloc+0xad/0xe0 [ 32.109242] __kmalloc_node_track_caller+0x47/0x70 [ 32.114137] __kmalloc_reserve.isra.41+0x41/0xd0 [ 32.118855] __alloc_skb+0x13b/0x780 [ 32.122533] sk_stream_alloc_skb+0x11d/0x900 [ 32.126906] tcp_sendmsg_locked+0x1341/0x3b30 [ 32.131362] tcp_sendmsg+0x2f/0x50 [ 32.136169] inet_sendmsg+0x11f/0x5e0 [ 32.140194] sock_sendmsg+0xca/0x110 [ 32.144221] sock_write_iter+0x31a/0x5d0 [ 32.149809] __vfs_write+0x684/0x970 [ 32.154527] vfs_write+0x189/0x510 [ 32.158037] SyS_write+0xef/0x220 [ 32.161457] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.166178] [ 32.167771] Freed by task 3136: [ 32.171023] save_stack+0x43/0xd0 [ 32.174442] kasan_slab_free+0x71/0xc0 [ 32.178292] kfree+0xca/0x250 [ 32.181366] skb_free_head+0x74/0xb0 [ 32.185048] skb_release_data+0x58c/0x790 [ 32.189159] skb_release_all+0x4a/0x60 [ 32.193015] consume_skb+0x153/0x490 [ 32.196707] __dev_kfree_skb_any+0x85/0xa0 [ 32.200908] free_old_xmit_skbs.isra.28+0x15a/0x2c0 [ 32.205889] start_xmit+0x1b9/0x1650 [ 32.209570] dev_hard_start_xmit+0x248/0xac0 [ 32.213943] sch_direct_xmit+0x31d/0x6d0 [ 32.217967] __dev_queue_xmit+0x16f4/0x2070 [ 32.222261] dev_queue_xmit+0x17/0x20 [ 32.226029] ip_finish_output2+0xece/0x1460 [ 32.230315] ip_finish_output+0x85e/0xd10 [ 32.234425] ip_output+0x1cc/0x860 [ 32.237930] ip_local_out+0x95/0x160 [ 32.241606] ip_queue_xmit+0x8c6/0x18e0 [ 32.245545] tcp_transmit_skb+0x1b12/0x38b0 [ 32.249829] tcp_write_xmit+0x680/0x5190 [ 32.253856] __tcp_push_pending_frames+0xa0/0x250 [ 32.258669] tcp_push+0x538/0x770 [ 32.262089] tcp_sendmsg_locked+0x2663/0x3b30 [ 32.266548] tcp_sendmsg+0x2f/0x50 [ 32.270054] inet_sendmsg+0x11f/0x5e0 [ 32.273825] sock_sendmsg+0xca/0x110 [ 32.277508] sock_write_iter+0x31a/0x5d0 [ 32.281534] __vfs_write+0x684/0x970 [ 32.285211] vfs_write+0x189/0x510 [ 32.288724] SyS_write+0xef/0x220 [ 32.292146] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.296862] [ 32.298460] The buggy address belongs to the object at ffff8801c1ff9b40 [ 32.298460] which belongs to the cache kmalloc-1024 of size 1024 [ 32.311252] The buggy address is located 0 bytes inside of [ 32.311252] 1024-byte region [ffff8801c1ff9b40, ffff8801c1ff9f40) [ 32.322999] The buggy address belongs to the page: [ 32.327898] page:00000000be6f3e55 count:1 mapcount:0 mapping:00000000e69fe620 index:0x0 compound_mapcount: 0 [ 32.337834] flags: 0x2fffc0000008100(slab|head) [ 32.342468] raw: 02fffc0000008100 ffff8801c1ff8040 0000000000000000 0000000100000007 [ 32.350318] raw: ffffea000707baa0 ffffea0007066920 ffff8801db000ac0 0000000000000000 [ 32.358369] page dumped because: kasan: bad access detected [ 32.364046] [ 32.365648] Memory state around the buggy address: [ 32.370553] ffff8801c1ff9a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.377886] ffff8801c1ff9a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.385213] >ffff8801c1ff9b00: fb fb fb fb fb fb fb fb fb fb fb fb 00 00 00 00 [ 32.392535] ^ [ 32.397949] ffff8801c1ff9b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.405278] ffff8801c1ff9c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.412612] ================================================================== [ 32.419934] Disabling lock debugging due to kernel taint [ 32.425347] Kernel panic - not syncing: panic_on_warn set ... [ 32.425347] [ 32.432672] CPU: 1 PID: 3136 Comm: sshd Tainted: G B 4.15.0-rc4+ #227 [ 32.440430] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.449749] Call Trace: [ 32.452826] dump_stack+0x194/0x257 [ 32.457895] ? arch_local_irq_restore+0x53/0x53 [ 32.462532] ? kasan_end_report+0x32/0x50 [ 32.466653] ? lock_downgrade+0x980/0x980 [ 32.470765] ? vsnprintf+0x1ed/0x1900 [ 32.474531] panic+0x1e4/0x41c [ 32.477687] ? refcount_error_report+0x214/0x214 [ 32.482408] ? add_taint+0x40/0x50 [ 32.485914] ? add_taint+0x1c/0x50 [ 32.489420] ? skb_free_head+0x74/0xb0 [ 32.493270] ? skb_free_head+0x74/0xb0 [ 32.497124] kasan_end_report+0x50/0x50 [ 32.501064] kasan_report_double_free+0x72/0x80 [ 32.505699] kasan_slab_free+0xa3/0xc0 [ 32.509552] kfree+0xca/0x250 [ 32.512622] skb_free_head+0x74/0xb0 [ 32.516301] skb_release_data+0x58c/0x790 [ 32.520415] ? skb_tx_error+0x2c0/0x2c0 [ 32.524359] ? check_noncircular+0x20/0x20 [ 32.528559] ? __lock_is_held+0xb6/0x140 [ 32.532591] skb_release_all+0x4a/0x60 [ 32.536445] consume_skb+0x153/0x490 [ 32.540122] ? alloc_skb_with_frags+0x750/0x750 [ 32.544773] ? virtqueue_get_buf_ctx+0x3b1/0x8b0 [ 32.549504] ? detach_buf+0x6a0/0x6a0 [ 32.553279] __dev_kfree_skb_any+0x85/0xa0 [ 32.557488] free_old_xmit_skbs.isra.28+0x15a/0x2c0 [ 32.562487] ? virtnet_cpu_down_prep+0x80/0x80 [ 32.567044] ? packet_rcv_fanout+0x7d0/0x7d0 [ 32.571426] ? dev_queue_xmit_nit+0x8af/0xc40 [ 32.575895] start_xmit+0x1b9/0x1650 [ 32.579590] ? virtnet_xdp+0x12a0/0x12a0 [ 32.583624] dev_hard_start_xmit+0x248/0xac0 [ 32.588000] ? validate_xmit_skb_list+0x120/0x120 [ 32.592813] ? perf_trace_lock_acquire+0x570/0x980 [ 32.597705] ? lock_acquire+0x1d5/0x580 [ 32.601644] ? lock_acquire+0x1d5/0x580 [ 32.605581] ? sch_direct_xmit+0x280/0x6d0 [ 32.609779] ? skb_csum_hwoffload_help+0x57/0xa0 [ 32.614501] ? lock_release+0xa40/0xa40 [ 32.618439] ? netif_skb_features+0x8e0/0x8e0 [ 32.622900] ? do_raw_spin_trylock+0x190/0x190 [ 32.627446] ? lock_acquire+0x1d5/0x580 [ 32.631391] sch_direct_xmit+0x31d/0x6d0 [ 32.635418] ? dev_deactivate_queue.constprop.29+0x260/0x260 [ 32.641182] __dev_queue_xmit+0x16f4/0x2070 [ 32.645471] ? netdev_pick_tx+0x300/0x300 [ 32.649584] ? check_noncircular+0x20/0x20 [ 32.653789] ? __lock_acquire+0x664/0x3e00 [ 32.657989] ? print_irqtrace_events+0x270/0x270 [ 32.662712] ? numa_migrate_preferred+0x250/0x250 [ 32.667521] ? print_irqtrace_events+0x270/0x270 [ 32.672243] ? ip_finish_output+0x85e/0xd10 [ 32.676531] ? netlbl_catmap_setrng+0xb0/0xb0 [ 32.680994] ? mark_held_locks+0xaf/0x100 [ 32.685114] ? ip_finish_output2+0xca6/0x1460 [ 32.689573] dev_queue_xmit+0x17/0x20 [ 32.693336] ip_finish_output2+0xece/0x1460 [ 32.697624] ? dst_output+0x140/0x140 [ 32.701387] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.706367] ? ipt_do_table+0xd04/0x1330 [ 32.710392] ? trace_hardirqs_on+0xd/0x10 [ 32.714502] ? __local_bh_enable_ip+0x121/0x230 [ 32.719135] ? ipt_do_table+0xd6f/0x1330 [ 32.723161] ? __local_bh_enable_ip+0x121/0x230 [ 32.727795] ? ipv4_mtu+0x28c/0x3d0 [ 32.731388] ? __lock_is_held+0xb6/0x140 [ 32.735417] ip_finish_output+0x85e/0xd10 [ 32.739527] ? ip_finish_output+0x85e/0xd10 [ 32.743813] ? ip_fragment.constprop.49+0x200/0x200 [ 32.748791] ? iptable_mangle_hook+0xa9/0x550 [ 32.753253] ? nf_hook_slow+0xd3/0x1a0 [ 32.757108] ip_output+0x1cc/0x860 [ 32.760614] ? ip_mc_output+0x1350/0x1350 [ 32.764729] ? ip_fragment.constprop.49+0x200/0x200 [ 32.769725] ip_local_out+0x95/0x160 [ 32.773410] ip_queue_xmit+0x8c6/0x18e0 [ 32.777352] ? ip_build_and_send_pkt+0xc30/0xc30 [ 32.782073] ? refcount_dec_if_one+0x20/0x20 [ 32.786450] ? __tcp_v4_send_check+0x1b8/0x350 [ 32.790993] ? tcp_options_write+0x228/0x940 [ 32.795372] tcp_transmit_skb+0x1b12/0x38b0 [ 32.799665] ? __tcp_select_window+0x900/0x900 [ 32.804212] ? __kernel_text_address+0xd/0x40 [ 32.808671] ? __lock_acquire+0x664/0x3e00 [ 32.812873] ? depot_save_stack+0x12c/0x490 [ 32.817164] ? tcp_small_queue_check.isra.26+0x31c/0x450 [ 32.822579] ? tcp_tso_segs+0x240/0x240 [ 32.826519] ? pvclock_read_flags+0x160/0x160 [ 32.830979] ? inet_sendmsg+0x11f/0x5e0 [ 32.834916] ? sock_sendmsg+0xca/0x110 [ 32.838766] ? sock_write_iter+0x31a/0x5d0 [ 32.842965] ? __vfs_write+0x684/0x970 [ 32.846813] ? vfs_write+0x189/0x510 [ 32.850488] ? SyS_write+0xef/0x220 [ 32.854078] ? entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.858976] ? sched_clock_cpu+0x1b/0x170 [ 32.863086] ? tcp_init_tso_segs+0x114/0x1f0 [ 32.867460] tcp_write_xmit+0x680/0x5190 [ 32.871493] ? rcu_read_lock_sched_held+0xe8/0x120 [ 32.876391] ? tcp_transmit_skb+0x38b0/0x38b0 [ 32.880850] ? __asan_register_globals+0x60/0xa0 [ 32.885576] ? find_held_lock+0x35/0x1d0 [ 32.889606] ? __might_fault+0x110/0x1d0 [ 32.893631] ? iov_iter_advance+0x2a1/0x13f0 [ 32.898612] ? lock_release+0xa40/0xa40 [ 32.902548] ? tcp_v4_md5_lookup+0x22/0x30 [ 32.906746] ? tcp_established_options+0x2c5/0x420 [ 32.911640] ? iov_iter_copy_from_user_atomic+0xe30/0xe30 [ 32.917142] __tcp_push_pending_frames+0xa0/0x250 [ 32.921947] tcp_push+0x538/0x770 [ 32.925367] ? tcp_splice_data_recv+0x1a0/0x1a0 [ 32.929998] ? skb_entail+0x5f6/0x8a0 [ 32.933766] ? iov_iter_advance+0x13f0/0x13f0 [ 32.938226] ? tcp_tx_timestamp+0x62/0x2a0 [ 32.942426] tcp_sendmsg_locked+0x2663/0x3b30 [ 32.946896] ? tcp_sendpage+0x60/0x60 [ 32.950666] ? rcu_read_lock_sched_held+0x108/0x120 [ 32.955647] ? __mark_inode_dirty+0x262/0x1170 [ 32.960197] ? print_irqtrace_events+0x270/0x270 [ 32.964917] ? find_held_lock+0x35/0x1d0 [ 32.968947] ? lock_sock_nested+0xa3/0x110 [ 32.973143] ? lock_acquire+0x1d5/0x580 [ 32.977080] ? tcp_sendmsg+0x21/0x50 [ 32.980762] ? mark_held_locks+0xaf/0x100 [ 32.984878] ? do_raw_spin_trylock+0x190/0x190 [ 32.989424] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.994408] ? lock_sock_nested+0x91/0x110 [ 32.998605] ? trace_hardirqs_on+0xd/0x10 [ 33.002717] ? __local_bh_enable_ip+0x121/0x230 [ 33.007354] tcp_sendmsg+0x2f/0x50 [ 33.010864] inet_sendmsg+0x11f/0x5e0 [ 33.014637] ? inet_recvmsg+0x5f0/0x5f0 [ 33.018581] ? selinux_socket_sendmsg+0x36/0x40 [ 33.023217] ? security_socket_sendmsg+0x89/0xb0 [ 33.027936] ? inet_recvmsg+0x5f0/0x5f0 [ 33.031966] sock_sendmsg+0xca/0x110 [ 33.037126] sock_write_iter+0x31a/0x5d0 [ 33.042108] ? sock_sendmsg+0x110/0x110 [ 33.046052] ? iov_iter_init+0xaf/0x1d0 [ 33.049992] __vfs_write+0x684/0x970 [ 33.053671] ? kernel_read+0x120/0x120 [ 33.057520] ? bpf_fd_pass+0x280/0x280 [ 33.061374] ? _cond_resched+0x14/0x30 [ 33.066721] ? selinux_file_permission+0x82/0x460 [ 33.071531] ? rw_verify_area+0xe5/0x2b0 [ 33.075555] ? __fdget_raw+0x20/0x20 [ 33.079233] vfs_write+0x189/0x510 [ 33.082740] SyS_write+0xef/0x220 [ 33.086157] ? SyS_read+0x220/0x220 [ 33.089748] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 33.094729] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 33.099450] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 33.104171] RIP: 0033:0x7fcf462eb370 [ 33.107844] RSP: 002b:00007ffd2dbc56d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 33.115516] RAX: ffffffffffffffda RBX: 000000008a5122fe RCX: 00007fcf462eb370 [ 33.122749] RDX: 0000000000000038 RSI: 000055fa6bc4b460 RDI: 0000000000000003 [ 33.129981] RBP: 00000000e53d1be2 R08: 0000000000000001 R09: 0101010101010101 [ 33.137214] R10: 0000000000000008 R11: 0000000000000246 R12: 000000002c5b3216 [ 33.144447] R13: 0000000000160000 R14: 00007fcf473a6c00 R15: 000055fa6bc59e30 [ 33.152114] Dumping ftrace buffer: [ 33.155621] (ftrace buffer empty) [ 33.159294] Kernel Offset: disabled [ 33.162887] Rebooting in 86400 seconds..