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-next-kasan-gce-7,10.128.15.200' (ECDSA) to the list of known hosts. net.ipv6.conf.syz7.accept_dad = 0 net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz5.accept_dad = 0 net.ipv6.conf.syz3.accept_dad = 0 net.ipv6.conf.syz4.accept_dad = 0 net.ipv6.conf.syz6.accept_dad = 0 net.ipv6.conf.syz2.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 net.ipv6.conf.syz7.router_solicitations = 0 net.ipv6.conf.syz1.accept_dad = 0 net.ipv6.conf.syz5.router_solicitations = 0 net.ipv6.conf.syz3.router_solicitations = 0 net.ipv6.conf.syz4.router_solicitations = 0 net.ipv6.conf.syz6.router_solicitations = 0 net.ipv6.conf.syz2.router_solicitations = 0 net.ipv6.conf.syz1.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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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: [ 83.942395] ================================================================== [ 83.949816] BUG: KASAN: wild-memory-access in skb_copy_ubufs+0xc51/0x1940 [ 83.956718] Read of size 4096 at addr 29f997dd42ad3b56 by task syzkaller656520/25772 [ 83.964569] [ 83.966167] CPU: 1 PID: 25772 Comm: syzkaller656520 Not tainted 4.13.0-rc5-next-20170816+ #4 [ 83.974705] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 83.984027] Call Trace: [ 83.986590] dump_stack+0x194/0x257 [ 83.990198] ? arch_local_irq_restore+0x53/0x53 [ 83.994854] ? skb_copy_ubufs+0xc51/0x1940 [ 83.999059] kasan_report+0x12e/0x340 [ 84.002854] check_memory_region+0x137/0x190 [ 84.007232] memcpy+0x23/0x50 [ 84.010307] skb_copy_ubufs+0xc51/0x1940 [ 84.014352] ? skb_release_data+0x790/0x790 [ 84.018644] ? __is_insn_slot_addr+0x1fc/0x330 [ 84.023199] ? __lock_acquire+0x6aa/0x3bc0 [ 84.027416] ? check_noncircular+0x20/0x20 [ 84.031639] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 84.036800] ? __lock_acquire+0x6aa/0x3bc0 [ 84.041005] ? __free_insn_slot+0x5c0/0x5c0 [ 84.045304] ? __lock_is_held+0xb6/0x140 [ 84.049348] __netif_receive_skb_core+0x24a2/0x33d0 [ 84.054333] ? unwind_get_return_address+0x61/0xa0 [ 84.059239] ? nf_ingress+0x9f0/0x9f0 [ 84.063017] ? save_stack+0xa3/0xd0 [ 84.066621] ? save_stack_trace+0x16/0x20 [ 84.070743] ? save_stack+0x43/0xd0 [ 84.074344] ? kasan_kmalloc+0xad/0xe0 [ 84.078211] ? kasan_slab_alloc+0x12/0x20 [ 84.082333] ? kmem_cache_alloc+0x12e/0x760 [ 84.086619] ? __build_skb+0x9d/0x450 [ 84.090390] ? build_skb+0x6f/0x260 [ 84.093993] ? tun_get_user+0x1db7/0x2150 [ 84.098114] ? tun_chr_write_iter+0xd8/0x190 [ 84.102496] ? __vfs_write+0x684/0x970 [ 84.106362] ? vfs_write+0x189/0x510 [ 84.110048] ? SyS_write+0xef/0x220 [ 84.113645] ? entry_SYSCALL_64_fastpath+0x1f/0xbe [ 84.118557] ? check_noncircular+0x20/0x20 [ 84.122775] ? check_noncircular+0x20/0x20 [ 84.126988] ? __skb_flow_dissect+0xfa6/0x3ad0 [ 84.131550] ? __skb_flow_get_ports+0x400/0x400 [ 84.136193] ? find_held_lock+0x35/0x1d0 [ 84.140242] ? netif_receive_skb_internal+0x1d7/0x5e0 [ 84.145415] ? lock_downgrade+0x990/0x990 [ 84.149548] ? pvclock_read_flags+0x160/0x160 [ 84.154028] ? lock_acquire+0x1d5/0x580 [ 84.157981] ? lock_acquire+0x1d5/0x580 [ 84.161939] ? netif_receive_skb_internal+0x93/0x5e0 [ 84.167029] ? ktime_get_with_offset+0x2c1/0x420 [ 84.171767] ? lock_release+0xa40/0xa40 [ 84.175708] ? do_gettimeofday+0x190/0x190 [ 84.179934] __netif_receive_skb+0x2c/0x1b0 [ 84.184239] ? __netif_receive_skb+0x2c/0x1b0 [ 84.188722] netif_receive_skb_internal+0x10b/0x5e0 [ 84.193758] ? dev_cpu_dead+0xb00/0xb00 [ 84.197713] ? tun_device_event+0xca0/0xca0 [ 84.202011] ? rcu_pm_notify+0xc0/0xc0 [ 84.205890] netif_receive_skb+0xae/0x390 [ 84.210013] ? netif_receive_skb_internal+0x5e0/0x5e0 [ 84.215202] ? __lock_acquire+0x6aa/0x3bc0 [ 84.219426] ? tun_rx_batched.isra.43+0x5bd/0x860 [ 84.224254] tun_rx_batched.isra.43+0x5e7/0x860 [ 84.228896] ? skb_get_hash_perturb+0x9d0/0x9d0 [ 84.233536] ? tun_sock_write_space+0x370/0x370 [ 84.238179] ? tun_free_netdev+0x1b0/0x1b0 [ 84.242390] ? check_noncircular+0x20/0x20 [ 84.246599] tun_get_user+0x11dd/0x2150 [ 84.250574] ? tun_flow_update+0xf70/0xf70 [ 84.254794] ? __tun_get+0x1ab/0x2e0 [ 84.258485] ? lock_downgrade+0x990/0x990 [ 84.262614] ? lock_release+0xa40/0xa40 [ 84.266567] ? __lock_is_held+0xb6/0x140 [ 84.270624] ? __tun_get+0x1d4/0x2e0 [ 84.274307] ? tun_chr_close+0x60/0x60 [ 84.278187] tun_chr_write_iter+0xd8/0x190 [ 84.282410] __vfs_write+0x684/0x970 [ 84.286099] ? default_llseek+0x290/0x290 [ 84.290299] ? _cond_resched+0x14/0x30 [ 84.294168] ? avc_policy_seqno+0x9/0x20 [ 84.298214] ? selinux_file_permission+0x82/0x460 [ 84.303047] ? rw_verify_area+0xe5/0x2b0 [ 84.307078] ? __fdget_raw+0x20/0x20 [ 84.310769] vfs_write+0x189/0x510 [ 84.314292] SyS_write+0xef/0x220 [ 84.317726] ? SyS_read+0x220/0x220 [ 84.321329] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 84.326331] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 84.331085] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 84.335808] RIP: 0033:0x406811 [ 84.338969] RSP: 002b:00007fbe734f8dc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 [ 84.346661] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000406811 [ 84.353919] RDX: 000000000000002e RSI: 00000000209cbfd2 RDI: 0000000000000003 [ 84.361165] RBP: 0000000000000086 R08: 00007fbe734f9700 R09: 00007fbe734f9700 [ 84.368404] R10: 00007fbe734f99d0 R11: 0000000000000293 R12: 0000000000000000 [ 84.375643] R13: 00007ffe2760349f R14: 00007fbe734f99c0 R15: 0000000000000000 [ 84.382909] ================================================================== [ 84.390240] Disabling lock debugging due to kernel taint [ 84.395698] Kernel panic - not syncing: panic_on_warn set ... [ 84.395698] [ 84.403039] CPU: 1 PID: 25772 Comm: syzkaller656520 Tainted: G B 4.13.0-rc5-next-20170816+ #4 [ 84.412792] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 84.422110] Call Trace: [ 84.424672] dump_stack+0x194/0x257 [ 84.428267] ? arch_local_irq_restore+0x53/0x53 [ 84.432905] ? kasan_end_report+0x32/0x50 [ 84.437036] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 84.441772] ? skb_copy_ubufs+0xb90/0x1940 [ 84.445977] panic+0x1e4/0x417 [ 84.449138] ? __warn+0x1d9/0x1d9 [ 84.452575] ? skb_copy_ubufs+0xc51/0x1940 [ 84.456791] kasan_end_report+0x50/0x50 [ 84.460731] kasan_report+0x137/0x340 [ 84.464501] check_memory_region+0x137/0x190 [ 84.468874] memcpy+0x23/0x50 [ 84.471946] skb_copy_ubufs+0xc51/0x1940 [ 84.475986] ? skb_release_data+0x790/0x790 [ 84.480274] ? __is_insn_slot_addr+0x1fc/0x330 [ 84.484825] ? __lock_acquire+0x6aa/0x3bc0 [ 84.489035] ? check_noncircular+0x20/0x20 [ 84.493257] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 84.498420] ? __lock_acquire+0x6aa/0x3bc0 [ 84.502631] ? __free_insn_slot+0x5c0/0x5c0 [ 84.506917] ? __lock_is_held+0xb6/0x140 [ 84.510952] __netif_receive_skb_core+0x24a2/0x33d0 [ 84.515935] ? unwind_get_return_address+0x61/0xa0 [ 84.520835] ? nf_ingress+0x9f0/0x9f0 [ 84.524610] ? save_stack+0xa3/0xd0 [ 84.528212] ? save_stack_trace+0x16/0x20 [ 84.532324] ? save_stack+0x43/0xd0 [ 84.535913] ? kasan_kmalloc+0xad/0xe0 [ 84.539763] ? kasan_slab_alloc+0x12/0x20 [ 84.543878] ? kmem_cache_alloc+0x12e/0x760 [ 84.548167] ? __build_skb+0x9d/0x450 [ 84.551936] ? build_skb+0x6f/0x260 [ 84.555541] ? tun_get_user+0x1db7/0x2150 [ 84.559661] ? tun_chr_write_iter+0xd8/0x190 [ 84.564050] ? __vfs_write+0x684/0x970 [ 84.567902] ? vfs_write+0x189/0x510 [ 84.571585] ? SyS_write+0xef/0x220 [ 84.575198] ? entry_SYSCALL_64_fastpath+0x1f/0xbe [ 84.580098] ? check_noncircular+0x20/0x20 [ 84.584297] ? check_noncircular+0x20/0x20 [ 84.588504] ? __skb_flow_dissect+0xfa6/0x3ad0 [ 84.593073] ? __skb_flow_get_ports+0x400/0x400 [ 84.597717] ? find_held_lock+0x35/0x1d0 [ 84.601760] ? netif_receive_skb_internal+0x1d7/0x5e0 [ 84.606920] ? lock_downgrade+0x990/0x990 [ 84.611048] ? pvclock_read_flags+0x160/0x160 [ 84.615514] ? lock_acquire+0x1d5/0x580 [ 84.619456] ? lock_acquire+0x1d5/0x580 [ 84.623406] ? netif_receive_skb_internal+0x93/0x5e0 [ 84.628480] ? ktime_get_with_offset+0x2c1/0x420 [ 84.633217] ? lock_release+0xa40/0xa40 [ 84.637163] ? do_gettimeofday+0x190/0x190 [ 84.641380] __netif_receive_skb+0x2c/0x1b0 [ 84.645685] ? __netif_receive_skb+0x2c/0x1b0 [ 84.650157] netif_receive_skb_internal+0x10b/0x5e0 [ 84.655143] ? dev_cpu_dead+0xb00/0xb00 [ 84.659087] ? tun_device_event+0xca0/0xca0 [ 84.663416] ? rcu_pm_notify+0xc0/0xc0 [ 84.667277] netif_receive_skb+0xae/0x390 [ 84.671396] ? netif_receive_skb_internal+0x5e0/0x5e0 [ 84.676556] ? __lock_acquire+0x6aa/0x3bc0 [ 84.680762] ? tun_rx_batched.isra.43+0x5bd/0x860 [ 84.685579] tun_rx_batched.isra.43+0x5e7/0x860 [ 84.690218] ? skb_get_hash_perturb+0x9d0/0x9d0 [ 84.694865] ? tun_sock_write_space+0x370/0x370 [ 84.699511] ? tun_free_netdev+0x1b0/0x1b0 [ 84.703717] ? check_noncircular+0x20/0x20 [ 84.707921] tun_get_user+0x11dd/0x2150 [ 84.711880] ? tun_flow_update+0xf70/0xf70 [ 84.716089] ? __tun_get+0x1ab/0x2e0 [ 84.719771] ? lock_downgrade+0x990/0x990 [ 84.723889] ? lock_release+0xa40/0xa40 [ 84.727831] ? __lock_is_held+0xb6/0x140 [ 84.731868] ? __tun_get+0x1d4/0x2e0 [ 84.735548] ? tun_chr_close+0x60/0x60 [ 84.739408] tun_chr_write_iter+0xd8/0x190 [ 84.743613] __vfs_write+0x684/0x970 [ 84.747298] ? default_llseek+0x290/0x290 [ 84.751416] ? _cond_resched+0x14/0x30 [ 84.755271] ? avc_policy_seqno+0x9/0x20 [ 84.759303] ? selinux_file_permission+0x82/0x460 [ 84.764126] ? rw_verify_area+0xe5/0x2b0 [ 84.768157] ? __fdget_raw+0x20/0x20 [ 84.771838] vfs_write+0x189/0x510 [ 84.775346] SyS_write+0xef/0x220 [ 84.778765] ? SyS_read+0x220/0x220 [ 84.782358] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 84.787347] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 84.792084] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 84.796805] RIP: 0033:0x406811 [ 84.799960] RSP: 002b:00007fbe734f8dc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 [ 84.807634] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000406811 [ 84.814874] RDX: 000000000000002e RSI: 00000000209cbfd2 RDI: 0000000000000003 [ 84.822109] RBP: 0000000000000086 R08: 00007fbe734f9700 R09: 00007fbe734f9700 [ 84.829344] R10: 00007fbe734f99d0 R11: 0000000000000293 R12: 0000000000000000 [ 84.836583] R13: 00007ffe2760349f R14: 00007fbe734f99c0 R15: 0000000000000000 [ 84.844139] Dumping ftrace buffer: [ 84.847645] (ftrace buffer empty) [ 84.851317] Kernel Offset: disabled [ 84.854907] Rebooting in 86400 seconds..