Warning: Permanently added '10.128.0.32' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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: [ 32.053483] ================================================================== [ 32.061047] BUG: KASAN: use-after-free in vgem_gem_dumb_create+0x200/0x210 [ 32.068055] Read of size 8 at addr ffff8880a9c4c1c0 by task syz-executor088/8591 [ 32.075568] [ 32.077193] CPU: 1 PID: 8591 Comm: syz-executor088 Not tainted 4.14.232-syzkaller #0 [ 32.085089] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.094436] Call Trace: [ 32.097011] dump_stack+0x1b2/0x281 [ 32.100625] print_address_description.cold+0x54/0x1d3 [ 32.105906] kasan_report_error.cold+0x8a/0x191 [ 32.110585] ? vgem_gem_dumb_create+0x200/0x210 [ 32.115246] __asan_report_load8_noabort+0x68/0x70 [ 32.120164] ? vgem_gem_dumb_create+0x200/0x210 [ 32.124814] vgem_gem_dumb_create+0x200/0x210 [ 32.129395] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 32.134391] ? __drm_printfn_debug+0x70/0x70 [ 32.138837] drm_ioctl_kernel+0x14c/0x200 [ 32.147767] drm_ioctl+0x419/0x870 [ 32.151290] ? __drm_printfn_debug+0x70/0x70 [ 32.155695] ? drm_getstats+0x20/0x20 [ 32.159494] ? futex_exit_release+0x220/0x220 [ 32.163972] ? debug_check_no_obj_freed+0x2c0/0x680 [ 32.168979] ? drm_getstats+0x20/0x20 [ 32.172770] do_vfs_ioctl+0x75a/0xff0 [ 32.176562] ? ioctl_preallocate+0x1a0/0x1a0 [ 32.180959] ? lock_downgrade+0x740/0x740 [ 32.185115] ? __fget+0x225/0x360 [ 32.188577] ? do_vfs_ioctl+0xff0/0xff0 [ 32.192541] ? security_file_ioctl+0x83/0xb0 [ 32.196942] SyS_ioctl+0x7f/0xb0 [ 32.200296] ? do_vfs_ioctl+0xff0/0xff0 [ 32.204264] do_syscall_64+0x1d5/0x640 [ 32.208150] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 32.213330] RIP: 0033:0x449ee9 [ 32.216508] RSP: 002b:00007fc5766a3308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 32.224204] RAX: ffffffffffffffda RBX: 00000000004ca428 RCX: 0000000000449ee9 [ 32.231468] RDX: 00000000200000c0 RSI: 00000000c02064b2 RDI: 0000000000000004 [ 32.238915] RBP: 00000000004ca420 R08: 0000000000000000 R09: 0000000000000000 [ 32.246182] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004ca42c [ 32.253457] R13: 000000000049a074 R14: 6972642f7665642f R15: 0000000000022000 [ 32.260732] [ 32.262351] Allocated by task 8591: [ 32.266127] kasan_kmalloc+0xeb/0x160 [ 32.269924] kmem_cache_alloc_trace+0x131/0x3d0 [ 32.274586] __vgem_gem_create+0x44/0xe0 [ 32.278640] vgem_gem_dumb_create+0xc5/0x210 [ 32.283064] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 32.288078] drm_ioctl_kernel+0x14c/0x200 [ 32.292238] drm_ioctl+0x419/0x870 [ 32.295787] do_vfs_ioctl+0x75a/0xff0 [ 32.299576] SyS_ioctl+0x7f/0xb0 [ 32.302949] do_syscall_64+0x1d5/0x640 [ 32.306829] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 32.312001] [ 32.313614] Freed by task 8591: [ 32.316883] kasan_slab_free+0xc3/0x1a0 [ 32.320863] kfree+0xc9/0x250 [ 32.323978] drm_gem_object_free+0x8f/0x150 [ 32.328298] drm_gem_object_put_unlocked+0xc3/0x160 [ 32.333302] vgem_gem_dumb_create+0xf2/0x210 [ 32.337744] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 32.342762] drm_ioctl_kernel+0x14c/0x200 [ 32.346929] drm_ioctl+0x419/0x870 [ 32.350457] do_vfs_ioctl+0x75a/0xff0 [ 32.354244] SyS_ioctl+0x7f/0xb0 [ 32.357595] do_syscall_64+0x1d5/0x640 [ 32.361470] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 32.366641] [ 32.368281] The buggy address belongs to the object at ffff8880a9c4c0c0 [ 32.368281] which belongs to the cache kmalloc-512 of size 512 [ 32.380948] The buggy address is located 256 bytes inside of [ 32.380948] 512-byte region [ffff8880a9c4c0c0, ffff8880a9c4c2c0) [ 32.392826] The buggy address belongs to the page: [ 32.397775] page:ffffea0002a71300 count:1 mapcount:0 mapping:ffff8880a9c4c0c0 index:0x0 [ 32.405919] flags: 0xfff00000000100(slab) [ 32.410076] raw: 00fff00000000100 ffff8880a9c4c0c0 0000000000000000 0000000100000006 [ 32.417954] raw: ffffea0002c667a0 ffffea00028d6a60 ffff88813fe80940 0000000000000000 [ 32.425824] page dumped because: kasan: bad access detected [ 32.431535] [ 32.433158] Memory state around the buggy address: [ 32.438077] ffff8880a9c4c080: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 32.445431] ffff8880a9c4c100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.452785] >ffff8880a9c4c180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.460132] ^ [ 32.465572] ffff8880a9c4c200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.473008] ffff8880a9c4c280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 32.480355] ================================================================== [ 32.487712] Disabling lock debugging due to kernel taint [ 32.497629] Kernel panic - not syncing: panic_on_warn set ... [ 32.497629] [ 32.505002] CPU: 1 PID: 8591 Comm: syz-executor088 Tainted: G B 4.14.232-syzkaller #0 [ 32.514094] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.523447] Call Trace: [ 32.526035] dump_stack+0x1b2/0x281 [ 32.529775] panic+0x1f9/0x42d [ 32.532947] ? add_taint.cold+0x16/0x16 [ 32.536921] ? ___preempt_schedule+0x16/0x18 [ 32.541324] kasan_end_report+0x43/0x49 [ 32.545280] kasan_report_error.cold+0xa7/0x191 [ 32.549929] ? vgem_gem_dumb_create+0x200/0x210 [ 32.554592] __asan_report_load8_noabort+0x68/0x70 [ 32.559499] ? vgem_gem_dumb_create+0x200/0x210 [ 32.564145] vgem_gem_dumb_create+0x200/0x210 [ 32.568619] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 32.573631] ? __drm_printfn_debug+0x70/0x70 [ 32.578095] drm_ioctl_kernel+0x14c/0x200 [ 32.582234] drm_ioctl+0x419/0x870 [ 32.585775] ? __drm_printfn_debug+0x70/0x70 [ 32.590163] ? drm_getstats+0x20/0x20 [ 32.593946] ? futex_exit_release+0x220/0x220 [ 32.598451] ? debug_check_no_obj_freed+0x2c0/0x680 [ 32.603488] ? drm_getstats+0x20/0x20 [ 32.607270] do_vfs_ioctl+0x75a/0xff0 [ 32.611068] ? ioctl_preallocate+0x1a0/0x1a0 [ 32.615482] ? lock_downgrade+0x740/0x740 [ 32.619612] ? __fget+0x225/0x360 [ 32.623044] ? do_vfs_ioctl+0xff0/0xff0 [ 32.627000] ? security_file_ioctl+0x83/0xb0 [ 32.631401] SyS_ioctl+0x7f/0xb0 [ 32.634759] ? do_vfs_ioctl+0xff0/0xff0 [ 32.638710] do_syscall_64+0x1d5/0x640 [ 32.642576] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 32.647899] RIP: 0033:0x449ee9 [ 32.651069] RSP: 002b:00007fc5766a3308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 32.658931] RAX: ffffffffffffffda RBX: 00000000004ca428 RCX: 0000000000449ee9 [ 32.666244] RDX: 00000000200000c0 RSI: 00000000c02064b2 RDI: 0000000000000004 [ 32.673514] RBP: 00000000004ca420 R08: 0000000000000000 R09: 0000000000000000 [ 32.680775] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004ca42c [ 32.688047] R13: 000000000049a074 R14: 6972642f7665642f R15: 0000000000022000 [ 32.695826] Kernel Offset: disabled [ 32.699435] Rebooting in 86400 seconds..