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-6,10.128.0.10' (ECDSA) to the list of known hosts.
executing program
executing program
syzkaller login: [   29.740958] ==================================================================
[   29.748405] BUG: KASAN: use-after-free in __internal_add_timer+0x275/0x2d0
[   29.755394] Write of size 8 at addr ffff8801ce673688 by task syzkaller229260/2985
[   29.762982] 
[   29.764588] CPU: 1 PID: 2985 Comm: syzkaller229260 Not tainted 4.13.0-mm1+ #7
[   29.771830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
[   29.781153] Call Trace:
[   29.783720]  dump_stack+0x194/0x257
[   29.787326]  ? arch_local_irq_restore+0x53/0x53
[   29.791972]  ? show_regs_print_info+0x65/0x65
[   29.796446]  ? __internal_add_timer+0x275/0x2d0
[   29.801087]  print_address_description+0x73/0x250
[   29.805902]  ? __internal_add_timer+0x275/0x2d0
[   29.810546]  kasan_report+0x24e/0x340
[   29.814325]  __asan_report_store8_noabort+0x17/0x20
[   29.819316]  __internal_add_timer+0x275/0x2d0
[   29.823786]  ? calc_wheel_index+0x200/0x200
[   29.828090]  mod_timer+0x622/0x15b0
[   29.831700]  ? mod_timer_pending+0x14e0/0x14e0
[   29.836257]  ? trace_hardirqs_on_caller+0x421/0x5c0
[   29.841249]  ? trace_hardirqs_on+0xd/0x10
[   29.845379]  ? _crng_backtrack_protect+0xd9/0x130
[   29.850202]  ? __lock_is_held+0xbc/0x140
[   29.854239]  ? __lockdep_init_map+0xe4/0x650
[   29.858627]  ? lockdep_init_map+0x3d/0x70
[   29.862752]  ? rcu_read_lock_sched_held+0x108/0x120
[   29.867747]  ? init_timer_key+0x126/0x3b0
[   29.871871]  ? try_to_del_timer_sync+0x120/0x120
[   29.876603]  ? round_jiffies_up+0xce/0x100
[   29.880808]  ? __round_jiffies_up_relative+0x150/0x150
[   29.886057]  ? debug_lockdep_rcu_enabled+0x77/0x90
[   29.890969]  __tun_chr_ioctl+0x1b23/0x3d20
[   29.895188]  ? tun_chr_read_iter+0x1e0/0x1e0
[   29.899582]  ? lock_downgrade+0x990/0x990
[   29.903730]  ? check_same_owner+0x320/0x320
[   29.908027]  ? __handle_mm_fault+0x39c0/0x39c0
[   29.912580]  ? vmacache_find+0x61/0x270
[   29.916531]  ? tun_chr_compat_ioctl+0x30/0x30
[   29.920999]  tun_chr_ioctl+0x2a/0x40
[   29.924685]  ? tun_chr_ioctl+0x2a/0x40
[   29.928554]  do_vfs_ioctl+0x1b1/0x1530
[   29.932426]  ? ioctl_preallocate+0x2b0/0x2b0
[   29.936810]  ? selinux_capable+0x40/0x40
[   29.940846]  ? putname+0xf3/0x130
[   29.944276]  ? do_sys_open+0x320/0x6d0
[   29.948146]  ? security_file_ioctl+0x7d/0xb0
[   29.952524]  ? security_file_ioctl+0x89/0xb0
[   29.956909]  SyS_ioctl+0x8f/0xc0
[   29.960257]  entry_SYSCALL_64_fastpath+0x1f/0xbe
[   29.964983] RIP: 0033:0x443db9
[   29.968144] RSP: 002b:00007fff03cbd438 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
[   29.975829] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000443db9
[   29.983075] RDX: 0000000020906fd8 RSI: 00000000400454ca RDI: 0000000000000004
[   29.990318] RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000
[   29.997559] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000401aa0
[   30.004800] R13: 0000000000401b30 R14: 0000000000000000 R15: 0000000000000000
[   30.012062] 
[   30.013663] Allocated by task 2985:
[   30.017268]  save_stack_trace+0x16/0x20
[   30.021215]  save_stack+0x43/0xd0
[   30.024642]  kasan_kmalloc+0xad/0xe0
[   30.028325]  __kmalloc_node+0x47/0x70
[   30.032095]  kvmalloc_node+0x64/0xd0
[   30.035780]  alloc_netdev_mqs+0x16e/0xed0
[   30.039900]  __tun_chr_ioctl+0x12be/0x3d20
[   30.044117]  tun_chr_ioctl+0x2a/0x40
[   30.047804]  do_vfs_ioctl+0x1b1/0x1530
[   30.051661]  SyS_ioctl+0x8f/0xc0
[   30.054999]  entry_SYSCALL_64_fastpath+0x1f/0xbe
[   30.059725] 
[   30.061326] Freed by task 2985:
[   30.064578]  save_stack_trace+0x16/0x20
[   30.068525]  save_stack+0x43/0xd0
[   30.071947]  kasan_slab_free+0x71/0xc0
[   30.075807]  kfree+0xca/0x250
[   30.078886]  kvfree+0x36/0x60
[   30.081961]  free_netdev+0x2cf/0x360
[   30.085659]  __tun_chr_ioctl+0x2cf6/0x3d20
[   30.089863]  tun_chr_ioctl+0x2a/0x40
[   30.093548]  do_vfs_ioctl+0x1b1/0x1530
[   30.097408]  SyS_ioctl+0x8f/0xc0
[   30.100750]  entry_SYSCALL_64_fastpath+0x1f/0xbe
[   30.105475] 
[   30.107079] The buggy address belongs to the object at ffff8801ce670280
[   30.107079]  which belongs to the cache kmalloc-16384 of size 16384
[   30.120054] The buggy address is located 13320 bytes inside of
[   30.120054]  16384-byte region [ffff8801ce670280, ffff8801ce674280)
[   30.132247] The buggy address belongs to the page:
[   30.137151] page:ffffea0007399c00 count:1 mapcount:0 mapping:ffff8801ce670280 index:0x0 compound_mapcount: 0
[   30.147099] flags: 0x200000000008100(slab|head)
[   30.151746] raw: 0200000000008100 ffff8801ce670280 0000000000000000 0000000100000001
[   30.159601] raw: ffffea0007558220 ffffea0007399220 ffff8801dac02200 0000000000000000
[   30.167453] page dumped because: kasan: bad access detected
[   30.173130] 
[   30.174729] Memory state around the buggy address:
[   30.179632]  ffff8801ce673580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   30.186961]  ffff8801ce673600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   30.194291] >ffff8801ce673680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   30.201620]                       ^
[   30.205217]  ffff8801ce673700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   30.212547]  ffff8801ce673780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[   30.219874] ==================================================================
[   30.227204] Disabling lock debugging due to kernel taint
[   30.232621] Kernel panic - not syncing: panic_on_warn set ...
[   30.232621] 
[   30.239952] CPU: 1 PID: 2985 Comm: syzkaller229260 Tainted: G    B           4.13.0-mm1+ #7
[   30.248404] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
[   30.257723] Call Trace:
[   30.260288]  dump_stack+0x194/0x257
[   30.263886]  ? arch_local_irq_restore+0x53/0x53
[   30.268523]  ? vprintk_default+0x28/0x30
[   30.272553]  ? __internal_add_timer+0x200/0x2d0
[   30.277190]  panic+0x1e4/0x417
[   30.280350]  ? __warn+0x1d9/0x1d9
[   30.283774]  ? __internal_add_timer+0x275/0x2d0
[   30.288409]  kasan_end_report+0x50/0x50
[   30.292346]  kasan_report+0x137/0x340
[   30.296124]  __asan_report_store8_noabort+0x17/0x20
[   30.301106]  __internal_add_timer+0x275/0x2d0
[   30.305569]  ? calc_wheel_index+0x200/0x200
[   30.309861]  mod_timer+0x622/0x15b0
[   30.313460]  ? mod_timer_pending+0x14e0/0x14e0
[   30.318010]  ? trace_hardirqs_on_caller+0x421/0x5c0
[   30.322994]  ? trace_hardirqs_on+0xd/0x10
[   30.327111]  ? _crng_backtrack_protect+0xd9/0x130
[   30.331924]  ? __lock_is_held+0xbc/0x140
[   30.335954]  ? __lockdep_init_map+0xe4/0x650
[   30.340327]  ? lockdep_init_map+0x3d/0x70
[   30.344442]  ? rcu_read_lock_sched_held+0x108/0x120
[   30.349426]  ? init_timer_key+0x126/0x3b0
[   30.353541]  ? try_to_del_timer_sync+0x120/0x120
[   30.358266]  ? round_jiffies_up+0xce/0x100
[   30.362468]  ? __round_jiffies_up_relative+0x150/0x150
[   30.367712]  ? debug_lockdep_rcu_enabled+0x77/0x90
[   30.372618]  __tun_chr_ioctl+0x1b23/0x3d20
[   30.376826]  ? tun_chr_read_iter+0x1e0/0x1e0
[   30.381209]  ? lock_downgrade+0x990/0x990
[   30.385338]  ? check_same_owner+0x320/0x320
[   30.389625]  ? __handle_mm_fault+0x39c0/0x39c0
[   30.394176]  ? vmacache_find+0x61/0x270
[   30.398119]  ? tun_chr_compat_ioctl+0x30/0x30
[   30.402579]  tun_chr_ioctl+0x2a/0x40
[   30.406259]  ? tun_chr_ioctl+0x2a/0x40
[   30.410116]  do_vfs_ioctl+0x1b1/0x1530
[   30.413975]  ? ioctl_preallocate+0x2b0/0x2b0
[   30.418353]  ? selinux_capable+0x40/0x40
[   30.422381]  ? putname+0xf3/0x130
[   30.425802]  ? do_sys_open+0x320/0x6d0
[   30.429659]  ? security_file_ioctl+0x7d/0xb0
[   30.434032]  ? security_file_ioctl+0x89/0xb0
[   30.438409]  SyS_ioctl+0x8f/0xc0
[   30.441747]  entry_SYSCALL_64_fastpath+0x1f/0xbe
[   30.446469] RIP: 0033:0x443db9
[   30.449626] RSP: 002b:00007fff03cbd438 EFLAGS: 00000202 ORIG_RAX: 0000000000000010
[   30.457299] RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000443db9
[   30.464535] RDX: 0000000020906fd8 RSI: 00000000400454ca RDI: 0000000000000004
[   30.471769] RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000
[   30.479006] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000401aa0
[   30.486242] R13: 0000000000401b30 R14: 0000000000000000 R15: 0000000000000000
[   30.493531] Dumping ftrace buffer:
[   30.497035]    (ftrace buffer empty)
[   30.500717] Kernel Offset: disabled
[   30.504312] Rebooting in 86400 seconds..