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-android-49-kasan-gce-3,10.128.0.35' (ECDSA) to the list of known hosts. 2017/09/07 23:12:00 parsed 1 programs 2017/09/07 23:12:00 executed programs: 0 syzkaller login: [ 51.805214] dev_remove_pack: ffff8801cbb25c80 not found [ 55.842617] dev_remove_pack: ffff8801c7493200 not found 2017/09/07 23:12:05 executed programs: 186 [ 59.846060] dev_remove_pack: ffff8801caa25c80 not found 2017/09/07 23:12:10 executed programs: 372 [ 61.090872] ================================================================== [ 61.098310] BUG: KASAN: use-after-free in do_raw_spin_lock+0x1ac/0x1e0 at addr ffff8801c7492bcc [ 61.107357] Read of size 4 by task swapper/0/0 [ 61.111916] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.48-g9983305 #42 [ 61.118805] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.128129] ffff8801db207760 ffffffff81d93009 ffff8801da002000 ffff8801c7492a80 [ 61.136081] ffff8801c7493280 ffffed0038e92579 ffff8801c7492bcc ffff8801db207788 [ 61.144038] ffffffff8153cbcc ffffed0038e92579 ffff8801da002000 0000000000000000 [ 61.152019] Call Trace: [ 61.154912] [ 61.156969] [] dump_stack+0xc1/0x128 [ 61.162356] [] kasan_object_err+0x1c/0x70 [ 61.168125] [] kasan_report.part.1+0x21c/0x500 [ 61.174328] [] ? do_raw_spin_lock+0x1ac/0x1e0 [ 61.180441] [] __asan_report_load4_noabort+0x29/0x30 [ 61.187159] [] do_raw_spin_lock+0x1ac/0x1e0 [ 61.193117] [] _raw_spin_lock_bh+0x42/0x50 [ 61.198970] [] ? packet_rcv_has_room+0x25/0xb0 [ 61.205172] [] packet_rcv_has_room+0x25/0xb0 [ 61.211205] [] fanout_demux_rollover+0x26f/0x4d0 [ 61.218357] [] packet_rcv_fanout+0x4ce/0x620 [ 61.224411] [] __netif_receive_skb_core+0x887/0x29e0 [ 61.231152] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 61.238139] [] ? netif_wake_subqueue+0x210/0x210 [ 61.244513] [] ? netif_receive_skb_internal+0x92/0x390 [ 61.251404] [] __netif_receive_skb+0x5b/0x1c0 [ 61.257516] [] netif_receive_skb_internal+0xff/0x390 [ 61.264234] [] ? netif_receive_skb_internal+0x92/0x390 [ 61.271128] [] ? dev_cpu_callback+0x680/0x680 [ 61.277238] [] ? dev_gro_receive+0x1d6/0x16f0 [ 61.283356] [] ? dev_gro_receive+0x67a/0x16f0 [ 61.289469] [] ? eth_type_trans+0x2a8/0x5d0 [ 61.296401] [] napi_gro_receive+0x1fb/0x400 [ 61.302345] [] virtnet_receive+0xe1c/0x1cf0 [ 61.308280] [] ? virtnet_open+0x250/0x250 [ 61.314050] [] ? check_preemption_disabled+0x3b/0x200 [ 61.320857] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 61.327834] [] ? check_preemption_disabled+0x3b/0x200 [ 61.334659] [] ? debug_smp_processor_id+0x1c/0x20 [ 61.341121] [] virtnet_poll+0x26/0x140 [ 61.346624] [] net_rx_action+0x396/0xe00 [ 61.352301] [] ? sk_busy_loop+0xca0/0xca0 [ 61.358079] [] ? handle_edge_irq+0x417/0x8e0 [ 61.364106] [] ? _raw_spin_lock+0x3e/0x50 [ 61.369868] [] ? check_preemption_disabled+0x3b/0x200 [ 61.376680] [] __do_softirq+0x22d/0x964 [ 61.382271] [] irq_exit+0x165/0x190 [ 61.387514] [] do_IRQ+0x107/0x1b0 [ 61.392584] [] common_interrupt+0x8c/0x8c [ 61.398346] [ 61.400378] [] ? native_safe_halt+0x6/0x10 [ 61.406244] [] ? trace_hardirqs_on+0xd/0x10 [ 61.412181] [] default_idle+0x55/0x360 [ 61.417684] [] arch_cpu_idle+0xa/0x10 [ 61.423100] [] default_idle_call+0x36/0x60 [ 61.428951] [] cpu_startup_entry+0x30c/0x3d0 [ 61.434984] [] ? cpu_in_idle+0x20/0x20 [ 61.440484] [] rest_init+0x184/0x190 [ 61.445815] [] start_kernel+0x679/0x6ae [ 61.451405] [] ? thread_stack_cache_init+0xb/0xb [ 61.457777] [] ? early_idt_handler_array+0x120/0x120 [ 61.464497] [] x86_64_start_reservations+0x2a/0x2c [ 61.471049] [] x86_64_start_kernel+0x140/0x163 [ 61.477247] Object at ffff8801c7492a80, in cache kmalloc-2048 size: 2048 [ 61.484050] Allocated: [ 61.486510] PID = 3977 [ 61.488976] save_stack_trace+0x16/0x20 [ 61.492917] save_stack+0x43/0xd0 [ 61.496346] kasan_kmalloc+0xad/0xe0 [ 61.500022] __kmalloc+0x11d/0x310 [ 61.503526] sk_prot_alloc+0x101/0x2a0 [ 61.507377] sk_alloc+0x3a/0x3a0 [ 61.510709] packet_create+0xf0/0x8e0 [ 61.514474] __sock_create+0x3ab/0x640 [ 61.518324] SyS_socket+0xf0/0x1b0 [ 61.521831] entry_SYSCALL_64_fastpath+0x23/0xc6 [ 61.526548] Freed: [ 61.528659] PID = 3977 [ 61.531124] save_stack_trace+0x16/0x20 [ 61.535062] save_stack+0x43/0xd0 [ 61.538479] kasan_slab_free+0x73/0xc0 [ 61.542330] kfree+0xf0/0x2f0 [ 61.545399] __sk_destruct+0x47f/0x570 [ 61.549250] sk_destruct+0x47/0x80 [ 61.552752] __sk_free+0x57/0x230 [ 61.556180] sk_free+0x23/0x30 [ 61.559339] packet_release+0x732/0xa20 [ 61.563284] sock_release+0x8d/0x1e0 [ 61.566960] sock_close+0x16/0x20 [ 61.570380] __fput+0x28c/0x6e0 [ 61.573624] ____fput+0x15/0x20 [ 61.576880] task_work_run+0x115/0x190 [ 61.580734] do_exit+0x82e/0x2a50 [ 61.584151] do_group_exit+0x108/0x320 [ 61.588020] get_signal+0x55c/0x1600 [ 61.591707] do_signal+0x87/0x1960 [ 61.595213] exit_to_usermode_loop+0xe5/0x130 [ 61.599671] syscall_return_slowpath+0x1a0/0x1e0 [ 61.604403] entry_SYSCALL_64_fastpath+0xc4/0xc6 [ 61.609123] Memory state around the buggy address: [ 61.614020] ffff8801c7492a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.621350] ffff8801c7492b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.628687] >ffff8801c7492b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.636013] ^ [ 61.641689] ffff8801c7492c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.649015] ffff8801c7492c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.656338] ================================================================== [ 61.663753] ================================================================== [ 61.671108] BUG: KASAN: use-after-free in do_raw_spin_lock+0x1d3/0x1e0 at addr ffff8801c7492bd8 [ 61.679907] Read of size 8 by task swapper/0/0 [ 61.684456] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G B 4.9.48-g9983305 #42 [ 61.692559] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.701894] ffff8801db207760 ffffffff81d93009 ffff8801da002000 ffff8801c7492a80 [ 61.709841] ffff8801c7493280 ffffed0038e9257b ffff8801c7492bd8 ffff8801db207788 [ 61.717785] ffffffff8153cbcc ffffed0038e9257b ffff8801da002000 0000000000000000 [ 61.725738] Call Trace: [ 61.728289] [ 61.730323] [] dump_stack+0xc1/0x128 [ 61.735671] [] kasan_object_err+0x1c/0x70 [ 61.741437] [] kasan_report.part.1+0x21c/0x500 [ 61.747634] [] ? do_raw_spin_lock+0x1d3/0x1e0 [ 61.753744] [] __asan_report_load8_noabort+0x29/0x30 [ 61.760463] [] do_raw_spin_lock+0x1d3/0x1e0 [ 61.766402] [] _raw_spin_lock_bh+0x42/0x50 [ 61.772256] [] ? packet_rcv_has_room+0x25/0xb0 [ 61.778453] [] packet_rcv_has_room+0x25/0xb0 [ 61.784477] [] fanout_demux_rollover+0x26f/0x4d0 [ 61.790848] [] packet_rcv_fanout+0x4ce/0x620 [ 61.796872] [] __netif_receive_skb_core+0x887/0x29e0 [ 61.803591] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 61.810572] [] ? netif_wake_subqueue+0x210/0x210 [ 61.816954] [] ? netif_receive_skb_internal+0x92/0x390 [ 61.823859] [] __netif_receive_skb+0x5b/0x1c0 [ 61.829970] [] netif_receive_skb_internal+0xff/0x390 [ 61.836687] [] ? netif_receive_skb_internal+0x92/0x390 [ 61.843586] [] ? dev_cpu_callback+0x680/0x680 [ 61.849696] [] ? dev_gro_receive+0x1d6/0x16f0 [ 61.855816] [] ? dev_gro_receive+0x67a/0x16f0 [ 61.861928] [] ? eth_type_trans+0x2a8/0x5d0 [ 61.867864] [] napi_gro_receive+0x1fb/0x400 [ 61.873822] [] virtnet_receive+0xe1c/0x1cf0 [ 61.879758] [] ? virtnet_open+0x250/0x250 [ 61.885524] [] ? check_preemption_disabled+0x3b/0x200 [ 61.892331] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 61.899311] [] ? check_preemption_disabled+0x3b/0x200 [ 61.906115] [] ? debug_smp_processor_id+0x1c/0x20 [ 61.912574] [] virtnet_poll+0x26/0x140 [ 61.918078] [] net_rx_action+0x396/0xe00 [ 61.923755] [] ? sk_busy_loop+0xca0/0xca0 [ 61.929523] [] ? handle_edge_irq+0x417/0x8e0 [ 61.935549] [] ? _raw_spin_lock+0x3e/0x50 [ 61.941312] [] ? check_preemption_disabled+0x3b/0x200 [ 61.948119] [] __do_softirq+0x22d/0x964 [ 61.953712] [] irq_exit+0x165/0x190 [ 61.958954] [] do_IRQ+0x107/0x1b0 [ 61.964028] [] common_interrupt+0x8c/0x8c [ 61.969788] [ 61.971818] [] ? native_safe_halt+0x6/0x10 [ 61.977685] [] ? trace_hardirqs_on+0xd/0x10 [ 61.983621] [] default_idle+0x55/0x360 [ 61.989127] [] arch_cpu_idle+0xa/0x10 [ 61.994544] [] default_idle_call+0x36/0x60 [ 62.000396] [] cpu_startup_entry+0x30c/0x3d0 [ 62.006420] [] ? cpu_in_idle+0x20/0x20 [ 62.011927] [] rest_init+0x184/0x190 [ 62.017271] [] start_kernel+0x679/0x6ae [ 62.022861] [] ? thread_stack_cache_init+0xb/0xb [ 62.029233] [] ? early_idt_handler_array+0x120/0x120 [ 62.035951] [] x86_64_start_reservations+0x2a/0x2c [ 62.042496] [] x86_64_start_kernel+0x140/0x163 [ 62.048693] Object at ffff8801c7492a80, in cache kmalloc-2048 size: 2048 [ 62.055495] Allocated: [ 62.057957] PID = 3977 [ 62.060424] save_stack_trace+0x16/0x20 [ 62.064365] save_stack+0x43/0xd0 [ 62.067784] kasan_kmalloc+0xad/0xe0 [ 62.071460] __kmalloc+0x11d/0x310 [ 62.074970] sk_prot_alloc+0x101/0x2a0 [ 62.078820] sk_alloc+0x3a/0x3a0 [ 62.082152] packet_create+0xf0/0x8e0 [ 62.085916] __sock_create+0x3ab/0x640 [ 62.089768] SyS_socket+0xf0/0x1b0