INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added 'ci-upstream-mmots-kasan-gce-8,10.128.0.62' (ECDSA) to the list of known hosts. net.ipv6.conf.syz1.accept_dad = 0 net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz6.accept_dad = 0 net.ipv6.conf.syz7.accept_dad = 0 net.ipv6.conf.syz2.accept_dad = 0 net.ipv6.conf.syz4.accept_dad = 0 net.ipv6.conf.syz3.accept_dad = 0 net.ipv6.conf.syz5.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 net.ipv6.conf.syz1.router_solicitations = 0 net.ipv6.conf.syz6.router_solicitations = 0 net.ipv6.conf.syz7.router_solicitations = 0 net.ipv6.conf.syz3.router_solicitations = 0 net.ipv6.conf.syz4.router_solicitations = 0 net.ipv6.conf.syz5.router_solicitations = 0 net.ipv6.conf.syz2.router_solicitations = 0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 38.112902] dev_remove_pack: ffff8801d911dc80 not found executing program executing program executing program executing program executing program executing program [ 38.217260] ================================================================== [ 38.224720] BUG: KASAN: use-after-free in __netif_receive_skb_core+0x2be3/0x33d0 [ 38.232251] Read of size 2 at addr ffff8801d93c2c40 by task swapper/0/0 [ 38.238997] [ 38.240631] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.13.0-mm1+ #7 [ 38.247118] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.256470] Call Trace: [ 38.259045] [ 38.261192] dump_stack+0x194/0x257 [ 38.264825] ? arch_local_irq_restore+0x53/0x53 [ 38.269490] ? show_regs_print_info+0x65/0x65 [ 38.274005] ? __netif_receive_skb_core+0x2be3/0x33d0 [ 38.279198] print_address_description+0x73/0x250 [ 38.284033] ? __netif_receive_skb_core+0x2be3/0x33d0 [ 38.289213] kasan_report+0x24e/0x340 [ 38.293000] __asan_report_load2_noabort+0x14/0x20 [ 38.297917] __netif_receive_skb_core+0x2be3/0x33d0 [ 38.302912] ? __bpf_address_lookup+0x2b0/0x2b0 [ 38.307574] ? nf_ingress+0x9f0/0x9f0 [ 38.311353] ? unwind_dump+0x4c0/0x4c0 [ 38.315232] ? x86_64_start_kernel+0x77/0x7a [ 38.319618] ? x86_64_start_kernel+0x51/0x7a [ 38.324029] ? check_noncircular+0x20/0x20 [ 38.328251] ? __save_stack_trace+0x6e/0xd0 [ 38.332556] ? depot_save_stack+0x12c/0x490 [ 38.336881] ? smp_reschedule_interrupt+0xf2/0x670 [ 38.341813] ? smp_thermal_interrupt+0x710/0x710 [ 38.346581] ? lock_downgrade+0x990/0x990 [ 38.350717] ? default_idle_call+0x36/0x90 [ 38.354933] ? retint_kernel+0x10/0x10 [ 38.358815] ? trace_hardirqs_on_caller+0x19e/0x5c0 [ 38.363832] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 38.368580] ? retint_kernel+0x10/0x10 [ 38.372462] ? lock_acquire+0x256/0x580 [ 38.376447] ? ktime_get_with_offset+0x2c1/0x420 [ 38.381188] ? lock_release+0xd70/0xd70 [ 38.385144] ? ktime_get+0x3a0/0x3a0 [ 38.388853] __netif_receive_skb+0x2c/0x1b0 [ 38.393152] ? __netif_receive_skb+0x2c/0x1b0 [ 38.397631] netif_receive_skb_internal+0x10b/0x670 [ 38.402626] ? dev_cpu_dead+0xb00/0xb00 [ 38.406579] ? __alloc_pages_nodemask+0xd80/0xd80 [ 38.411435] ? net_rx_action+0x1910/0x1910 [ 38.415651] ? rcu_pm_notify+0xc0/0xc0 [ 38.419543] ? skb_gro_reset_offset+0x17b/0x300 [ 38.424286] napi_gro_receive+0x3d0/0x500 [ 38.428431] ? dev_gro_receive+0x19b0/0x19b0 [ 38.432837] ? eth_type_trans+0x2a3/0x650 [ 38.436977] ? eth_gro_receive+0x810/0x810 [ 38.441204] receive_buf+0xcc5/0x51f0 [ 38.444999] ? virtnet_set_rx_mode+0x9f0/0x9f0 [ 38.449581] ? print_usage_bug+0x480/0x480 [ 38.453794] ? __lock_acquire+0x732/0x4620 [ 38.458020] ? __lock_acquire+0x732/0x4620 [ 38.462256] ? __lock_acquire+0x732/0x4620 [ 38.466472] ? debug_check_no_locks_freed+0x3d0/0x3d0 [ 38.471655] ? debug_check_no_locks_freed+0x3d0/0x3d0 [ 38.476827] ? __lock_acquire+0x732/0x4620 [ 38.481053] ? debug_check_no_locks_freed+0x3d0/0x3d0 [ 38.486251] ? debug_check_no_locks_freed+0x3d0/0x3d0 [ 38.491436] ? __read_once_size_nocheck.constprop.8+0x10/0x10 [ 38.497305] ? hrtimer_interrupt+0x1d4/0x5f0 [ 38.501709] ? hrtimer_interrupt+0x1d4/0x5f0 [ 38.506108] ? debug_check_no_locks_freed+0x3d0/0x3d0 [ 38.511297] ? __unwind_start+0x169/0x330 [ 38.515436] ? unwind_next_frame.part.6+0x1ae/0xc70 [ 38.520435] ? unwind_next_frame.part.6+0x1ae/0xc70 [ 38.525437] ? unwind_dump+0x4c0/0x4c0 [ 38.529307] ? unwind_dump+0x4c0/0x4c0 [ 38.533189] ? __unwind_start+0x169/0x330 [ 38.537331] ? unwind_get_return_address+0x61/0xa0 [ 38.542248] ? __save_stack_trace+0x61/0xd0 [ 38.546554] ? get_stack_info+0x37/0x150 [ 38.550610] ? update_stack_state+0x225/0x700 [ 38.555116] ? __read_once_size_nocheck.constprop.8+0x10/0x10 [ 38.560991] ? native_safe_halt+0x6/0x10 [ 38.565055] ? find_held_lock+0x39/0x1d0 [ 38.569110] ? unwind_next_frame.part.6+0x1ae/0xc70 [ 38.574108] ? unwind_next_frame.part.6+0x1ae/0xc70 [ 38.579109] ? unwind_dump+0x4c0/0x4c0 [ 38.583070] ? unwind_dump+0x4c0/0x4c0 [ 38.586960] ? __unwind_start+0x169/0x330 [ 38.591095] ? print_usage_bug+0x480/0x480 [ 38.595311] ? unwind_get_return_address+0x61/0xa0 [ 38.600226] ? __save_stack_trace+0x61/0xd0 [ 38.604537] ? native_safe_halt+0x6/0x10 [ 38.608583] ? save_stack_trace+0x16/0x20 [ 38.612711] ? __lock_acquire+0x20fd/0x4620 [ 38.617035] ? vring_use_dma_api+0x7f/0xa0 [ 38.621255] ? vring_unmap_one+0x49/0x3d0 [ 38.625386] ? detach_buf+0x463/0x6a0 [ 38.629186] ? virtqueue_get_buf_ctx+0x3b1/0x8b0 [ 38.633931] ? common_interrupt+0x9d/0x9d [ 38.638073] ? detach_buf+0x6a0/0x6a0 [ 38.641858] ? unwind_next_frame.part.6+0x1ae/0xc70 [ 38.646863] virtnet_poll+0x304/0xad0 [ 38.650679] ? receive_buf+0x51f0/0x51f0 [ 38.654725] ? unwind_dump+0x4c0/0x4c0 [ 38.658601] ? net_rx_action+0x49b/0x1910 [ 38.662736] net_rx_action+0x792/0x1910 [ 38.666704] ? napi_complete_done+0x6c0/0x6c0 [ 38.671175] ? save_stack_trace+0x16/0x20 [ 38.675303] ? __lock_acquire+0x20fd/0x4620 [ 38.679622] ? debug_check_no_locks_freed+0x3d0/0x3d0 [ 38.684794] ? debug_check_no_locks_freed+0x3d0/0x3d0 [ 38.689967] ? lock_downgrade+0x990/0x990 [ 38.694095] ? check_noncircular+0x20/0x20 [ 38.698318] ? rcu_pm_notify+0xc0/0xc0 [ 38.702198] ? rcu_read_lock_sched_held+0x108/0x120 [ 38.707196] ? __raise_softirq_irqoff+0x21c/0x2c0 [ 38.712028] ? raise_softirq+0x490/0x490 [ 38.716072] ? lock_downgrade+0x990/0x990 [ 38.720206] ? lock_acquire+0x1d5/0x580 [ 38.724168] ? trace_hardirqs_off+0xd/0x10 [ 38.728398] ? __napi_schedule+0x25e/0x370 [ 38.732625] ? netdev_info+0x170/0x170 [ 38.736491] ? check_noncircular+0x20/0x20 [ 38.740710] ? check_noncircular+0x20/0x20 [ 38.744926] ? rcu_pm_notify+0xc0/0xc0 [ 38.748806] ? rcu_read_lock_sched_held+0x108/0x120 [ 38.753802] ? __handle_irq_event_percpu+0x308/0x9d0 [ 38.758890] ? rcu_pm_notify+0xc0/0xc0 [ 38.762773] __do_softirq+0x2bb/0xbd0 [ 38.766567] ? __softirqentry_text_start+0x8/0x8 [ 38.771304] ? do_raw_spin_trylock+0x190/0x190 [ 38.775862] ? handle_irq_event_percpu+0x141/0x1b0 [ 38.780772] ? __handle_irq_event_percpu+0x9d0/0x9d0 [ 38.785862] ? _raw_spin_lock+0x32/0x40 [ 38.789816] ? _raw_spin_unlock+0x22/0x30 [ 38.793953] ? handle_edge_irq+0x2b4/0x7c0 [ 38.798191] irq_exit+0x1d3/0x210 [ 38.801622] do_IRQ+0xf6/0x190 [ 38.804797] common_interrupt+0x9d/0x9d [ 38.808744] [ 38.810960] RIP: 0010:native_safe_halt+0x6/0x10 [ 38.815613] RSP: 0018:ffffffff85a07d10 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff6e [ 38.823302] RAX: dffffc0000000000 RBX: 1ffffffff0b40fa5 RCX: 0000000000000000 [ 38.830550] RDX: 1ffffffff0b59300 RSI: 0000000000000001 RDI: ffffffff85ac9800 [ 38.837802] RBP: ffffffff85a07d10 R08: ffffffff8161a609 R09: 0000000000000000 [ 38.845056] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff85ac97f0 [ 38.852311] R13: ffffffff85a07dc8 R14: 0000000000000000 R15: ffffffff85a2f380 [ 38.859579] ? tick_nohz_idle_enter+0xd9/0x160 [ 38.864152] default_idle+0xbf/0x460 [ 38.867858] ? __sched_text_end+0x4/0x4 [ 38.871823] ? tick_nohz_idle_enter+0xde/0x160 [ 38.876396] arch_cpu_idle+0xa/0x10 [ 38.880001] default_idle_call+0x36/0x90 [ 38.884054] do_idle+0x256/0x3b0 [ 38.887408] cpu_startup_entry+0x18/0x20 [ 38.891446] rest_init+0xed/0xf0 [ 38.894795] start_kernel+0x72e/0x754 [ 38.898579] ? mem_encrypt_init+0xb/0xb [ 38.902542] ? memcpy_orig+0x54/0x110 [ 38.906327] x86_64_start_reservations+0x2a/0x2c [ 38.911063] x86_64_start_kernel+0x77/0x7a [ 38.915279] secondary_startup_64+0xa5/0xa5 [ 38.919593] [ 38.921201] Allocated by task 7689: [ 38.924809] save_stack_trace+0x16/0x20 [ 38.928763] save_stack+0x43/0xd0 [ 38.932193] kasan_kmalloc+0xad/0xe0 [ 38.935892] kmem_cache_alloc_trace+0x136/0x750 [ 38.940546] fanout_add+0xa50/0x1190 [ 38.944236] packet_setsockopt+0xfdc/0x1e80 [ 38.948535] SyS_setsockopt+0x189/0x360 [ 38.952499] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 38.957233] [ 38.958837] Freed by task 7619: [ 38.962094] save_stack_trace+0x16/0x20 [ 38.966047] save_stack+0x43/0xd0 [ 38.969478] kasan_slab_free+0x71/0xc0 [ 38.973359] kfree+0xca/0x250 [ 38.976452] packet_release+0xa8f/0xd70 [ 38.980415] sock_release+0x8d/0x1e0 [ 38.984121] sock_close+0x16/0x20 [ 38.987560] __fput+0x333/0x7f0 [ 38.990819] ____fput+0x15/0x20 [ 38.994079] task_work_run+0x199/0x270 [ 38.997944] do_exit+0xa52/0x1b40 [ 39.001376] do_group_exit+0x149/0x400 [ 39.005237] SyS_exit_group+0x1d/0x20 [ 39.009026] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 39.013761] [ 39.015371] The buggy address belongs to the object at ffff8801d93c23c0 [ 39.015371] which belongs to the cache kmalloc-4096 of size 4096 [ 39.028179] The buggy address is located 2176 bytes inside of [ 39.028179] 4096-byte region [ffff8801d93c23c0, ffff8801d93c33c0) [ 39.040202] The buggy address belongs to the page: [ 39.045107] page:ffffea000764f080 count:1 mapcount:0 mapping:ffff8801d93c23c0 index:0x0 compound_mapcount: 0 [ 39.055068] flags: 0x200000000008100(slab|head) [ 39.059743] raw: 0200000000008100 ffff8801d93c23c0 0000000000000000 0000000100000001 [ 39.067614] raw: ffffea0007646020 ffffea000764faa0 ffff8801dac00dc0 0000000000000000 [ 39.075474] page dumped because: kasan: bad access detected [ 39.081169] [ 39.082772] Memory state around the buggy address: [ 39.087685] ffff8801d93c2b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.095034] ffff8801d93c2b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.102379] >ffff8801d93c2c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.109715] ^ [ 39.115142] ffff8801d93c2c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.122481] ffff8801d93c2d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.129817] ================================================================== [ 39.137149] Disabling lock debugging due to kernel taint [ 39.142649] Kernel panic - not syncing: panic_on_warn set ... [ 39.142649] [ 39.150003] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G B 4.13.0-mm1+ #7 [ 39.157693] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.167028] Call Trace: [ 39.169588] [ 39.171725] dump_stack+0x194/0x257 [ 39.175344] ? arch_local_irq_restore+0x53/0x53 [ 39.180006] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 39.184753] ? __netif_receive_skb_core+0x2b90/0x33d0 [ 39.189924] panic+0x1e4/0x417 [ 39.193092] ? __warn+0x1d9/0x1d9 [ 39.196550] ? __netif_receive_skb_core+0x2be3/0x33d0 [ 39.201715] kasan_end_report+0x50/0x50 [ 39.205662] kasan_report+0x137/0x340 [ 39.209436] __asan_report_load2_noabort+0x14/0x20 [ 39.214338] __netif_receive_skb_core+0x2be3/0x33d0