Warning: Permanently added '10.128.1.24' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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: [ 34.582891] ================================================================== [ 34.591246] BUG: KASAN: use-after-free in vgem_gem_dumb_create+0x200/0x210 [ 34.598898] Read of size 8 at addr ffff88809ace6440 by task syz-executor402/9303 [ 34.606804] [ 34.608626] CPU: 1 PID: 9303 Comm: syz-executor402 Not tainted 4.14.228-syzkaller #0 [ 34.616605] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.626561] Call Trace: [ 34.629322] dump_stack+0x1b2/0x281 [ 34.633196] print_address_description.cold+0x54/0x1d3 [ 34.639170] kasan_report_error.cold+0x8a/0x191 [ 34.646062] ? vgem_gem_dumb_create+0x200/0x210 [ 34.651206] __asan_report_load8_noabort+0x68/0x70 [ 34.656248] ? vgem_gem_dumb_create+0x200/0x210 [ 34.661431] vgem_gem_dumb_create+0x200/0x210 [ 34.666070] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 34.671287] ? __drm_printfn_debug+0x70/0x70 [ 34.675688] drm_ioctl_kernel+0x14c/0x200 [ 34.680257] drm_ioctl+0x419/0x870 [ 34.684051] ? __drm_printfn_debug+0x70/0x70 [ 34.688648] ? drm_getstats+0x20/0x20 [ 34.693172] ? futex_exit_release+0x220/0x220 [ 34.697751] ? __fget+0x1fe/0x360 [ 34.701194] ? drm_getstats+0x20/0x20 [ 34.705238] do_vfs_ioctl+0x75a/0xff0 [ 34.709195] ? ioctl_preallocate+0x1a0/0x1a0 [ 34.713757] ? lock_downgrade+0x740/0x740 [ 34.717976] ? __fget+0x225/0x360 [ 34.722632] ? do_vfs_ioctl+0xff0/0xff0 [ 34.726818] ? security_file_ioctl+0x83/0xb0 [ 34.731479] SyS_ioctl+0x7f/0xb0 [ 34.734921] ? do_vfs_ioctl+0xff0/0xff0 [ 34.739096] do_syscall_64+0x1d5/0x640 [ 34.743005] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 34.748541] RIP: 0033:0x44a3c9 [ 34.751797] RSP: 002b:00007f3fa77491f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 34.760080] RAX: ffffffffffffffda RBX: 00000000004cb428 RCX: 000000000044a3c9 [ 34.767418] RDX: 00000000200001c0 RSI: 00000000c02064b2 RDI: 0000000000000004 [ 34.774932] RBP: 00000000004cb420 R08: 0000000000000000 R09: 0000000000000000 [ 34.782539] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb42c [ 34.789996] R13: 00007ffe4568c06f R14: 00007f3fa7749300 R15: 0000000000022000 [ 34.797460] [ 34.799158] Allocated by task 9303: [ 34.803012] kasan_kmalloc+0xeb/0x160 [ 34.807314] kmem_cache_alloc_trace+0x131/0x3d0 [ 34.812097] __vgem_gem_create+0x44/0xe0 [ 34.816312] vgem_gem_dumb_create+0xc5/0x210 [ 34.820797] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 34.825892] drm_ioctl_kernel+0x14c/0x200 [ 34.830113] drm_ioctl+0x419/0x870 [ 34.833906] do_vfs_ioctl+0x75a/0xff0 [ 34.837693] SyS_ioctl+0x7f/0xb0 [ 34.841048] do_syscall_64+0x1d5/0x640 [ 34.844945] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 34.850212] [ 34.851823] Freed by task 9303: [ 34.855300] kasan_slab_free+0xc3/0x1a0 [ 34.859338] kfree+0xc9/0x250 [ 34.862714] drm_gem_object_free+0x8f/0x150 [ 34.867118] drm_gem_object_put_unlocked+0xc3/0x160 [ 34.872633] vgem_gem_dumb_create+0xf2/0x210 [ 34.877074] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 34.882160] drm_ioctl_kernel+0x14c/0x200 [ 34.886286] drm_ioctl+0x419/0x870 [ 34.889996] do_vfs_ioctl+0x75a/0xff0 [ 34.893775] SyS_ioctl+0x7f/0xb0 [ 34.897122] do_syscall_64+0x1d5/0x640 [ 34.901004] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 34.906170] [ 34.907803] The buggy address belongs to the object at ffff88809ace6340 [ 34.907803] which belongs to the cache kmalloc-512 of size 512 [ 34.921437] The buggy address is located 256 bytes inside of [ 34.921437] 512-byte region [ffff88809ace6340, ffff88809ace6540) [ 34.933561] The buggy address belongs to the page: [ 34.938556] page:ffffea00026b3980 count:1 mapcount:0 mapping:ffff88809ace60c0 index:0x0 [ 34.947001] flags: 0xfff00000000100(slab) [ 34.951825] raw: 00fff00000000100 ffff88809ace60c0 0000000000000000 0000000100000006 [ 34.960037] raw: ffffea00028c66e0 ffffea0002864d20 ffff88813fe80940 0000000000000000 [ 34.967997] page dumped because: kasan: bad access detected [ 34.973844] [ 34.975460] Memory state around the buggy address: [ 34.980649] ffff88809ace6300: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 34.988083] ffff88809ace6380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 34.996475] >ffff88809ace6400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.004080] ^ [ 35.010094] ffff88809ace6480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.017441] ffff88809ace6500: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 35.025138] ================================================================== [ 35.032705] Disabling lock debugging due to kernel taint [ 35.039172] Kernel panic - not syncing: panic_on_warn set ... [ 35.039172] [ 35.046551] CPU: 1 PID: 9303 Comm: syz-executor402 Tainted: G B 4.14.228-syzkaller #0 [ 35.055858] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.065778] Call Trace: [ 35.068447] dump_stack+0x1b2/0x281 [ 35.072439] panic+0x1f9/0x42d [ 35.075907] ? add_taint.cold+0x16/0x16 [ 35.079970] ? ___preempt_schedule+0x16/0x18 [ 35.084451] kasan_end_report+0x43/0x49 [ 35.088679] kasan_report_error.cold+0xa7/0x191 [ 35.093703] ? vgem_gem_dumb_create+0x200/0x210 [ 35.098465] __asan_report_load8_noabort+0x68/0x70 [ 35.103718] ? vgem_gem_dumb_create+0x200/0x210 [ 35.109058] vgem_gem_dumb_create+0x200/0x210 [ 35.113707] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 35.118719] ? __drm_printfn_debug+0x70/0x70 [ 35.123619] drm_ioctl_kernel+0x14c/0x200 [ 35.127853] drm_ioctl+0x419/0x870 [ 35.131554] ? __drm_printfn_debug+0x70/0x70 [ 35.136071] ? drm_getstats+0x20/0x20 [ 35.140133] ? futex_exit_release+0x220/0x220 [ 35.144894] ? __fget+0x1fe/0x360 [ 35.148671] ? drm_getstats+0x20/0x20 [ 35.152676] do_vfs_ioctl+0x75a/0xff0 [ 35.156527] ? ioctl_preallocate+0x1a0/0x1a0 [ 35.160920] ? lock_downgrade+0x740/0x740 [ 35.165054] ? __fget+0x225/0x360 [ 35.168497] ? do_vfs_ioctl+0xff0/0xff0 [ 35.172487] ? security_file_ioctl+0x83/0xb0 [ 35.176908] SyS_ioctl+0x7f/0xb0 [ 35.180351] ? do_vfs_ioctl+0xff0/0xff0 [ 35.184379] do_syscall_64+0x1d5/0x640 [ 35.188264] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 35.193628] RIP: 0033:0x44a3c9 [ 35.197002] RSP: 002b:00007f3fa77491f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 35.205188] RAX: ffffffffffffffda RBX: 00000000004cb428 RCX: 000000000044a3c9 [ 35.212616] RDX: 00000000200001c0 RSI: 00000000c02064b2 RDI: 0000000000000004 [ 35.219998] RBP: 00000000004cb420 R08: 0000000000000000 R09: 0000000000000000 [ 35.227552] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb42c [ 35.235460] R13: 00007ffe4568c06f R14: 00007f3fa7749300 R15: 0000000000022000 [ 35.244551] Kernel Offset: disabled [ 35.248500] Rebooting in 86400 seconds..