[?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. [ 12.975833] audit: type=1400 audit(1513475050.423:6): avc: denied { map } for pid=3125 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added 'ci-upstream-kasan-gce-386-3,10.128.15.199' (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 syzkaller login: [ 24.408700] audit: type=1400 audit(1513475061.856:7): avc: denied { map } for pid=3141 comm="syzkaller220670" path="/root/syzkaller220670573" 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 [ 31.178613] ================================================================== [ 31.186034] BUG: KASAN: double-free or invalid-free in skb_free_head+0x74/0xb0 [ 31.193356] [ 31.194951] CPU: 1 PID: 3139 Comm: sshd Not tainted 4.15.0-rc3+ #135 [ 31.201404] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.210725] Call Trace: [ 31.213279] dump_stack+0x194/0x257 [ 31.216875] ? arch_local_irq_restore+0x53/0x53 [ 31.221513] ? show_regs_print_info+0x18/0x18 [ 31.225976] ? check_noncircular+0x20/0x20 [ 31.230176] ? print_irqtrace_events+0x270/0x270 [ 31.234901] ? skb_free_head+0x74/0xb0 [ 31.238760] print_address_description+0x73/0x250 [ 31.243567] ? skb_free_head+0x74/0xb0 [ 31.247419] ? skb_free_head+0x74/0xb0 [ 31.251272] kasan_report_double_free+0x55/0x80 [ 31.255918] kasan_slab_free+0xa3/0xc0 [ 31.259775] kfree+0xca/0x250 [ 31.262855] skb_free_head+0x74/0xb0 [ 31.266537] skb_release_data+0x58c/0x790 [ 31.270659] ? skb_tx_error+0x2c0/0x2c0 [ 31.274599] ? check_noncircular+0x20/0x20 [ 31.278805] ? __lock_is_held+0xb6/0x140 [ 31.282850] skb_release_all+0x4a/0x60 [ 31.286710] consume_skb+0x153/0x490 [ 31.290394] ? alloc_skb_with_frags+0x750/0x750 [ 31.295036] ? virtqueue_get_buf_ctx+0x3b1/0x8b0 [ 31.299763] ? detach_buf+0x6a0/0x6a0 [ 31.303542] __dev_kfree_skb_any+0x85/0xa0 [ 31.307749] free_old_xmit_skbs.isra.28+0x15a/0x2c0 [ 31.312737] ? virtnet_cpu_down_prep+0x80/0x80 [ 31.317285] ? packet_rcv_fanout+0x7d0/0x7d0 [ 31.321663] ? dev_queue_xmit_nit+0x8af/0xc40 [ 31.326131] start_xmit+0x1b9/0x1650 [ 31.329825] ? virtnet_xdp+0x12a0/0x12a0 [ 31.333866] dev_hard_start_xmit+0x248/0xac0 [ 31.338265] ? validate_xmit_skb_list+0x120/0x120 [ 31.343077] ? perf_trace_lock_acquire+0x570/0x980 [ 31.347980] ? lock_acquire+0x1d5/0x580 [ 31.351919] ? lock_acquire+0x1d5/0x580 [ 31.355866] ? sch_direct_xmit+0x280/0x6d0 [ 31.360068] ? skb_csum_hwoffload_help+0x57/0xa0 [ 31.364792] ? lock_release+0xa40/0xa40 [ 31.368734] ? netif_skb_features+0x8e0/0x8e0 [ 31.373199] ? do_raw_spin_trylock+0x190/0x190 [ 31.377747] ? lock_acquire+0x1d5/0x580 [ 31.381694] sch_direct_xmit+0x31d/0x6d0 [ 31.385725] ? dev_deactivate_queue.constprop.29+0x260/0x260 [ 31.391496] __dev_queue_xmit+0x16f4/0x2070 [ 31.395796] ? netdev_pick_tx+0x300/0x300 [ 31.399918] ? check_noncircular+0x20/0x20 [ 31.404131] ? __lock_acquire+0x664/0x3e00 [ 31.408333] ? print_irqtrace_events+0x270/0x270 [ 31.413059] ? numa_migrate_preferred+0x250/0x250 [ 31.417881] ? print_irqtrace_events+0x270/0x270 [ 31.422614] ? ip_finish_output+0x85e/0xd10 [ 31.426906] ? netlbl_catmap_setrng+0xb0/0xb0 [ 31.431386] ? mark_held_locks+0xaf/0x100 [ 31.435506] ? ip_finish_output2+0xca6/0x1460 [ 31.439971] dev_queue_xmit+0x17/0x20 [ 31.443743] ip_finish_output2+0xece/0x1460 [ 31.448040] ? dst_output+0x140/0x140 [ 31.451808] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 31.456789] ? ipt_do_table+0xd04/0x1330 [ 31.460815] ? trace_hardirqs_on+0xd/0x10 [ 31.464931] ? __local_bh_enable_ip+0x121/0x230 [ 31.469567] ? ipt_do_table+0xd6f/0x1330 [ 31.473601] ? __local_bh_enable_ip+0x121/0x230 [ 31.478240] ? ipv4_mtu+0x28c/0x3d0 [ 31.481839] ? __lock_is_held+0xb6/0x140 [ 31.485879] ip_finish_output+0x85e/0xd10 [ 31.489997] ? ip_finish_output+0x85e/0xd10 [ 31.494290] ? ip_fragment.constprop.49+0x200/0x200 [ 31.499281] ? iptable_mangle_hook+0xa9/0x550 [ 31.503754] ? nf_hook_slow+0xd3/0x1a0 [ 31.507612] ip_output+0x1cc/0x860 [ 31.511121] ? ip_mc_output+0x1350/0x1350 [ 31.515249] ? ip_fragment.constprop.49+0x200/0x200 [ 31.520244] ip_local_out+0x95/0x160 [ 31.523930] ip_queue_xmit+0x8c6/0x18e0 [ 31.527883] ? ip_build_and_send_pkt+0xc30/0xc30 [ 31.532609] ? refcount_dec_if_one+0x20/0x20 [ 31.536993] ? __tcp_v4_send_check+0x1b8/0x350 [ 31.541542] ? tcp_options_write+0x228/0x940 [ 31.545925] tcp_transmit_skb+0x1b12/0x38b0 [ 31.550224] ? bictcp_cong_avoid+0xf20/0xf20 [ 31.554599] ? __tcp_select_window+0x900/0x900 [ 31.559149] ? __kernel_text_address+0xd/0x40 [ 31.563620] ? __lock_acquire+0x664/0x3e00 [ 31.567825] ? depot_save_stack+0x12c/0x490 [ 31.572122] ? tcp_small_queue_check.isra.26+0x31c/0x450 [ 31.577538] ? tcp_tso_segs+0x240/0x240 [ 31.581480] ? pvclock_read_flags+0x160/0x160 [ 31.585941] ? inet_sendmsg+0x11f/0x5e0 [ 31.589883] ? sock_sendmsg+0xca/0x110 [ 31.593734] ? sock_write_iter+0x31a/0x5d0 [ 31.597938] ? __vfs_write+0x684/0x970 [ 31.601792] ? vfs_write+0x189/0x510 [ 31.605469] ? SyS_write+0xef/0x220 [ 31.609064] ? entry_SYSCALL_64_fastpath+0x1f/0x96 [ 31.613967] ? sched_clock_cpu+0x1b/0x170 [ 31.618081] ? tcp_init_tso_segs+0x114/0x1f0 [ 31.622458] tcp_write_xmit+0x680/0x5190 [ 31.626497] ? rcu_read_lock_sched_held+0xe8/0x120 [ 31.631399] ? tcp_transmit_skb+0x38b0/0x38b0 [ 31.635857] ? kasan_kmalloc+0x50/0xe0 [ 31.639726] ? find_held_lock+0x35/0x1d0 [ 31.643760] ? __might_fault+0x110/0x1d0 [ 31.647788] ? iov_iter_advance+0x2a1/0x13f0 [ 31.652165] ? lock_release+0xa40/0xa40 [ 31.656106] ? tcp_v4_md5_lookup+0x22/0x30 [ 31.660306] ? tcp_established_options+0x2c5/0x420 [ 31.665204] ? iov_iter_copy_from_user_atomic+0xe30/0xe30 [ 31.670714] __tcp_push_pending_frames+0xa0/0x250 [ 31.675525] tcp_push+0x538/0x770 [ 31.678948] ? tcp_splice_data_recv+0x1a0/0x1a0 [ 31.683584] ? skb_entail+0x5f6/0x8a0 [ 31.687351] ? iov_iter_advance+0x13f0/0x13f0 [ 31.691818] ? tcp_tx_timestamp+0x62/0x2a0 [ 31.696029] tcp_sendmsg_locked+0x2663/0x3b30 [ 31.700515] ? tcp_sendpage+0x60/0x60 [ 31.704288] ? rcu_read_lock_sched_held+0x108/0x120 [ 31.709270] ? __mark_inode_dirty+0x262/0x1170 [ 31.713820] ? print_irqtrace_events+0x270/0x270 [ 31.718539] ? find_held_lock+0x35/0x1d0 [ 31.722572] ? lock_sock_nested+0xa3/0x110 [ 31.726770] ? lock_acquire+0x1d5/0x580 [ 31.730708] ? tcp_sendmsg+0x21/0x50 [ 31.734398] ? mark_held_locks+0xaf/0x100 [ 31.738509] ? do_raw_spin_trylock+0x190/0x190 [ 31.743060] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 31.748043] ? lock_sock_nested+0x91/0x110 [ 31.752242] ? trace_hardirqs_on+0xd/0x10 [ 31.756358] ? __local_bh_enable_ip+0x121/0x230 [ 31.760998] tcp_sendmsg+0x2f/0x50 [ 31.764512] inet_sendmsg+0x11f/0x5e0 [ 31.768283] ? inet_recvmsg+0x5f0/0x5f0 [ 31.772228] ? selinux_socket_sendmsg+0x36/0x40 [ 31.776863] ? security_socket_sendmsg+0x89/0xb0 [ 31.781584] ? inet_recvmsg+0x5f0/0x5f0 [ 31.785526] sock_sendmsg+0xca/0x110 [ 31.789209] sock_write_iter+0x31a/0x5d0 [ 31.793239] ? sock_sendmsg+0x110/0x110 [ 31.797189] ? iov_iter_init+0xaf/0x1d0 [ 31.801134] __vfs_write+0x684/0x970 [ 31.804825] ? kernel_read+0x120/0x120 [ 31.808681] ? bpf_fd_pass+0x280/0x280 [ 31.812540] ? _cond_resched+0x14/0x30 [ 31.816398] ? selinux_file_permission+0x82/0x460 [ 31.821222] ? rw_verify_area+0xe5/0x2b0 [ 31.825248] ? __fdget_raw+0x20/0x20 [ 31.828929] vfs_write+0x189/0x510 [ 31.832439] SyS_write+0xef/0x220 [ 31.835864] ? SyS_read+0x220/0x220 [ 31.839457] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 31.844442] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 31.849169] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 31.853890] RIP: 0033:0x7fe456d75370 [ 31.857567] RSP: 002b:00007ffcc70d9238 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 31.865240] RAX: ffffffffffffffda RBX: 000055c723b9af80 RCX: 00007fe456d75370 [ 31.872478] RDX: 0000000000000038 RSI: 000055c723b8c460 RDI: 0000000000000003 [ 31.879713] RBP: 000055c723b99b20 R08: 0000000000000001 R09: 0101010101010101 [ 31.886952] R10: 0000000000000008 R11: 0000000000000246 R12: 000055c723b99b00 [ 31.894188] R13: 000055c723b99b20 R14: 000055c723b99b00 R15: 0000000000000050 [ 31.901438] [ 31.903033] Allocated by task 3139: [ 31.906628] save_stack+0x43/0xd0 [ 31.910046] kasan_kmalloc+0xad/0xe0 [ 31.913727] __kmalloc_node_track_caller+0x47/0x70 [ 31.918628] __kmalloc_reserve.isra.41+0x41/0xd0 [ 31.923349] __alloc_skb+0x13b/0x780 [ 31.927031] sk_stream_alloc_skb+0x11d/0x900 [ 31.931408] tcp_sendmsg_locked+0x1341/0x3b30 [ 31.935867] tcp_sendmsg+0x2f/0x50 [ 31.939377] inet_sendmsg+0x11f/0x5e0 [ 31.943142] sock_sendmsg+0xca/0x110 [ 31.946822] sock_write_iter+0x31a/0x5d0 [ 31.950849] __vfs_write+0x684/0x970 [ 31.954526] vfs_write+0x189/0x510 [ 31.958032] SyS_write+0xef/0x220 [ 31.961449] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 31.966181] [ 31.967773] Freed by task 3139: [ 31.971021] save_stack+0x43/0xd0 [ 31.974440] kasan_slab_free+0x71/0xc0 [ 31.978290] kfree+0xca/0x250 [ 31.981361] skb_free_head+0x74/0xb0 [ 31.985038] skb_release_data+0x58c/0x790 [ 31.989149] skb_release_all+0x4a/0x60 [ 31.993000] consume_skb+0x153/0x490 [ 31.996687] __dev_kfree_skb_any+0x85/0xa0 [ 32.000886] free_old_xmit_skbs.isra.28+0x15a/0x2c0 [ 32.005867] start_xmit+0x1b9/0x1650 [ 32.009547] dev_hard_start_xmit+0x248/0xac0 [ 32.013920] sch_direct_xmit+0x31d/0x6d0 [ 32.017946] __dev_queue_xmit+0x16f4/0x2070 [ 32.022233] dev_queue_xmit+0x17/0x20 [ 32.025997] ip_finish_output2+0xece/0x1460 [ 32.030286] ip_finish_output+0x85e/0xd10 [ 32.034399] ip_output+0x1cc/0x860 [ 32.037904] ip_local_out+0x95/0x160 [ 32.041585] ip_queue_xmit+0x8c6/0x18e0 [ 32.045523] tcp_transmit_skb+0x1b12/0x38b0 [ 32.049806] tcp_write_xmit+0x680/0x5190 [ 32.053829] __tcp_push_pending_frames+0xa0/0x250 [ 32.058639] tcp_push+0x538/0x770 [ 32.062058] tcp_sendmsg_locked+0x2663/0x3b30 [ 32.066519] tcp_sendmsg+0x2f/0x50 [ 32.070026] inet_sendmsg+0x11f/0x5e0 [ 32.073791] sock_sendmsg+0xca/0x110 [ 32.077468] sock_write_iter+0x31a/0x5d0 [ 32.081493] __vfs_write+0x684/0x970 [ 32.085170] vfs_write+0x189/0x510 [ 32.088673] SyS_write+0xef/0x220 [ 32.092090] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.096806] [ 32.098399] The buggy address belongs to the object at ffff8801c6df8480 [ 32.098399] which belongs to the cache kmalloc-1024 of size 1024 [ 32.111192] The buggy address is located 0 bytes inside of [ 32.111192] 1024-byte region [ffff8801c6df8480, ffff8801c6df8880) [ 32.122940] The buggy address belongs to the page: [ 32.127835] page:00000000ff46f489 count:1 mapcount:0 mapping:000000009dec9491 index:0x0 compound_mapcount: 0 [ 32.137768] flags: 0x2fffc0000008100(slab|head) [ 32.142401] raw: 02fffc0000008100 ffff8801c6df8000 0000000000000000 0000000100000007 [ 32.150248] raw: ffffea00071dce20 ffffea00071bada0 ffff8801db000ac0 0000000000000000 [ 32.158090] page dumped because: kasan: bad access detected [ 32.163761] [ 32.165353] Memory state around the buggy address: [ 32.170247] ffff8801c6df8380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.177569] ffff8801c6df8400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.184891] >ffff8801c6df8480: fb fb fb fb 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.192214] ^ [ 32.195543] ffff8801c6df8500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.202866] ffff8801c6df8580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.210188] ================================================================== [ 32.217508] Disabling lock debugging due to kernel taint [ 32.222919] Kernel panic - not syncing: panic_on_warn set ... [ 32.222919] [ 32.230244] CPU: 1 PID: 3139 Comm: sshd Tainted: G B 4.15.0-rc3+ #135 [ 32.238006] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.247327] Call Trace: [ 32.249883] dump_stack+0x194/0x257 [ 32.253502] ? arch_local_irq_restore+0x53/0x53 [ 32.258136] ? kasan_end_report+0x32/0x50 [ 32.262248] ? lock_downgrade+0x980/0x980 [ 32.266367] ? vsnprintf+0x1ed/0x1900 [ 32.270133] panic+0x1e4/0x41c [ 32.273290] ? refcount_error_report+0x214/0x214 [ 32.278015] ? add_taint+0x40/0x50 [ 32.281520] ? add_taint+0x1c/0x50 [ 32.285027] ? skb_free_head+0x74/0xb0 [ 32.288880] ? skb_free_head+0x74/0xb0 [ 32.292730] kasan_end_report+0x50/0x50 [ 32.296669] kasan_report_double_free+0x72/0x80 [ 32.301304] kasan_slab_free+0xa3/0xc0 [ 32.305159] kfree+0xca/0x250 [ 32.308231] skb_free_head+0x74/0xb0 [ 32.311909] skb_release_data+0x58c/0x790 [ 32.316028] ? skb_tx_error+0x2c0/0x2c0 [ 32.319974] ? check_noncircular+0x20/0x20 [ 32.324180] ? __lock_is_held+0xb6/0x140 [ 32.328212] skb_release_all+0x4a/0x60 [ 32.332068] consume_skb+0x153/0x490 [ 32.335746] ? alloc_skb_with_frags+0x750/0x750 [ 32.340383] ? virtqueue_get_buf_ctx+0x3b1/0x8b0 [ 32.345105] ? detach_buf+0x6a0/0x6a0 [ 32.348877] __dev_kfree_skb_any+0x85/0xa0 [ 32.353078] free_old_xmit_skbs.isra.28+0x15a/0x2c0 [ 32.358062] ? virtnet_cpu_down_prep+0x80/0x80 [ 32.362607] ? packet_rcv_fanout+0x7d0/0x7d0 [ 32.366980] ? dev_queue_xmit_nit+0x8af/0xc40 [ 32.371440] start_xmit+0x1b9/0x1650 [ 32.375123] ? virtnet_xdp+0x12a0/0x12a0 [ 32.379158] dev_hard_start_xmit+0x248/0xac0 [ 32.383536] ? validate_xmit_skb_list+0x120/0x120 [ 32.388343] ? perf_trace_lock_acquire+0x570/0x980 [ 32.393244] ? lock_acquire+0x1d5/0x580 [ 32.397184] ? lock_acquire+0x1d5/0x580 [ 32.401122] ? sch_direct_xmit+0x280/0x6d0 [ 32.405324] ? skb_csum_hwoffload_help+0x57/0xa0 [ 32.410051] ? lock_release+0xa40/0xa40 [ 32.413993] ? netif_skb_features+0x8e0/0x8e0 [ 32.418459] ? do_raw_spin_trylock+0x190/0x190 [ 32.423009] ? lock_acquire+0x1d5/0x580 [ 32.426955] sch_direct_xmit+0x31d/0x6d0 [ 32.430983] ? dev_deactivate_queue.constprop.29+0x260/0x260 [ 32.436750] __dev_queue_xmit+0x16f4/0x2070 [ 32.441039] ? netdev_pick_tx+0x300/0x300 [ 32.445154] ? check_noncircular+0x20/0x20 [ 32.449357] ? __lock_acquire+0x664/0x3e00 [ 32.453554] ? print_irqtrace_events+0x270/0x270 [ 32.458276] ? numa_migrate_preferred+0x250/0x250 [ 32.463088] ? print_irqtrace_events+0x270/0x270 [ 32.467813] ? ip_finish_output+0x85e/0xd10 [ 32.472104] ? netlbl_catmap_setrng+0xb0/0xb0 [ 32.476569] ? mark_held_locks+0xaf/0x100 [ 32.480681] ? ip_finish_output2+0xca6/0x1460 [ 32.485141] dev_queue_xmit+0x17/0x20 [ 32.488904] ip_finish_output2+0xece/0x1460 [ 32.493200] ? dst_output+0x140/0x140 [ 32.496964] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.501950] ? ipt_do_table+0xd04/0x1330 [ 32.505979] ? trace_hardirqs_on+0xd/0x10 [ 32.510090] ? __local_bh_enable_ip+0x121/0x230 [ 32.514722] ? ipt_do_table+0xd6f/0x1330 [ 32.518745] ? __local_bh_enable_ip+0x121/0x230 [ 32.523379] ? ipv4_mtu+0x28c/0x3d0 [ 32.526974] ? __lock_is_held+0xb6/0x140 [ 32.531005] ip_finish_output+0x85e/0xd10 [ 32.535120] ? ip_finish_output+0x85e/0xd10 [ 32.539405] ? ip_fragment.constprop.49+0x200/0x200 [ 32.544385] ? iptable_mangle_hook+0xa9/0x550 [ 32.548849] ? nf_hook_slow+0xd3/0x1a0 [ 32.552706] ip_output+0x1cc/0x860 [ 32.556210] ? ip_mc_output+0x1350/0x1350 [ 32.560327] ? ip_fragment.constprop.49+0x200/0x200 [ 32.565312] ip_local_out+0x95/0x160 [ 32.568991] ip_queue_xmit+0x8c6/0x18e0 [ 32.572933] ? ip_build_and_send_pkt+0xc30/0xc30 [ 32.577655] ? refcount_dec_if_one+0x20/0x20 [ 32.582030] ? __tcp_v4_send_check+0x1b8/0x350 [ 32.586574] ? tcp_options_write+0x228/0x940 [ 32.590950] tcp_transmit_skb+0x1b12/0x38b0 [ 32.595241] ? bictcp_cong_avoid+0xf20/0xf20 [ 32.599614] ? __tcp_select_window+0x900/0x900 [ 32.604163] ? __kernel_text_address+0xd/0x40 [ 32.608627] ? __lock_acquire+0x664/0x3e00 [ 32.612835] ? depot_save_stack+0x12c/0x490 [ 32.617124] ? tcp_small_queue_check.isra.26+0x31c/0x450 [ 32.622537] ? tcp_tso_segs+0x240/0x240 [ 32.626474] ? pvclock_read_flags+0x160/0x160 [ 32.630935] ? inet_sendmsg+0x11f/0x5e0 [ 32.634875] ? sock_sendmsg+0xca/0x110 [ 32.638725] ? sock_write_iter+0x31a/0x5d0 [ 32.642928] ? __vfs_write+0x684/0x970 [ 32.646778] ? vfs_write+0x189/0x510 [ 32.650461] ? SyS_write+0xef/0x220 [ 32.654058] ? entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.658956] ? sched_clock_cpu+0x1b/0x170 [ 32.663072] ? tcp_init_tso_segs+0x114/0x1f0 [ 32.667446] tcp_write_xmit+0x680/0x5190 [ 32.671478] ? rcu_read_lock_sched_held+0xe8/0x120 [ 32.676374] ? tcp_transmit_skb+0x38b0/0x38b0 [ 32.680833] ? kasan_kmalloc+0x50/0xe0 [ 32.684690] ? find_held_lock+0x35/0x1d0 [ 32.688723] ? __might_fault+0x110/0x1d0 [ 32.692750] ? iov_iter_advance+0x2a1/0x13f0 [ 32.697123] ? lock_release+0xa40/0xa40 [ 32.701062] ? tcp_v4_md5_lookup+0x22/0x30 [ 32.705259] ? tcp_established_options+0x2c5/0x420 [ 32.710153] ? iov_iter_copy_from_user_atomic+0xe30/0xe30 [ 32.715656] __tcp_push_pending_frames+0xa0/0x250 [ 32.720464] tcp_push+0x538/0x770 [ 32.723886] ? tcp_splice_data_recv+0x1a0/0x1a0 [ 32.728519] ? skb_entail+0x5f6/0x8a0 [ 32.732283] ? iov_iter_advance+0x13f0/0x13f0 [ 32.736745] ? tcp_tx_timestamp+0x62/0x2a0 [ 32.740946] tcp_sendmsg_locked+0x2663/0x3b30 [ 32.745420] ? tcp_sendpage+0x60/0x60 [ 32.749189] ? rcu_read_lock_sched_held+0x108/0x120 [ 32.754170] ? __mark_inode_dirty+0x262/0x1170 [ 32.758717] ? print_irqtrace_events+0x270/0x270 [ 32.763437] ? find_held_lock+0x35/0x1d0 [ 32.767468] ? lock_sock_nested+0xa3/0x110 [ 32.771667] ? lock_acquire+0x1d5/0x580 [ 32.775606] ? tcp_sendmsg+0x21/0x50 [ 32.779288] ? mark_held_locks+0xaf/0x100 [ 32.783400] ? do_raw_spin_trylock+0x190/0x190 [ 32.787946] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.792924] ? lock_sock_nested+0x91/0x110 [ 32.797122] ? trace_hardirqs_on+0xd/0x10 [ 32.801242] ? __local_bh_enable_ip+0x121/0x230 [ 32.805880] tcp_sendmsg+0x2f/0x50 [ 32.809391] inet_sendmsg+0x11f/0x5e0 [ 32.813166] ? inet_recvmsg+0x5f0/0x5f0 [ 32.817108] ? selinux_socket_sendmsg+0x36/0x40 [ 32.821741] ? security_socket_sendmsg+0x89/0xb0 [ 32.826462] ? inet_recvmsg+0x5f0/0x5f0 [ 32.830404] sock_sendmsg+0xca/0x110 [ 32.834084] sock_write_iter+0x31a/0x5d0 [ 32.838110] ? sock_sendmsg+0x110/0x110 [ 32.842055] ? iov_iter_init+0xaf/0x1d0 [ 32.845995] __vfs_write+0x684/0x970 [ 32.849684] ? kernel_read+0x120/0x120 [ 32.853534] ? bpf_fd_pass+0x280/0x280 [ 32.857388] ? _cond_resched+0x14/0x30 [ 32.861241] ? selinux_file_permission+0x82/0x460 [ 32.866054] ? rw_verify_area+0xe5/0x2b0 [ 32.870079] ? __fdget_raw+0x20/0x20 [ 32.873760] vfs_write+0x189/0x510 [ 32.877268] SyS_write+0xef/0x220 [ 32.880685] ? SyS_read+0x220/0x220 [ 32.884275] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.889255] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.893979] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.898697] RIP: 0033:0x7fe456d75370 [ 32.902372] RSP: 002b:00007ffcc70d9238 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 32.910044] RAX: ffffffffffffffda RBX: 000055c723b9af80 RCX: 00007fe456d75370 [ 32.917279] RDX: 0000000000000038 RSI: 000055c723b8c460 RDI: 0000000000000003 [ 32.924512] RBP: 000055c723b99b20 R08: 0000000000000001 R09: 0101010101010101 [ 32.931744] R10: 0000000000000008 R11: 0000000000000246 R12: 000055c723b99b00 [ 32.939232] R13: 000055c723b99b20 R14: 000055c723b99b00 R15: 0000000000000050 [ 32.947070] Dumping ftrace buffer: [ 32.950576] (ftrace buffer empty) [ 32.954252] Kernel Offset: disabled [ 32.957844] Rebooting in 86400 seconds..