Warning: Permanently added '10.128.0.200' (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 [ 29.809181] ================================================================== [ 29.816924] BUG: KASAN: use-after-free in vgem_gem_dumb_create+0x200/0x210 [ 29.823919] Read of size 8 at addr ffff8880a51b8b40 by task syz-executor673/8541 [ 29.831565] [ 29.833249] CPU: 0 PID: 8541 Comm: syz-executor673 Not tainted 4.14.237-syzkaller #0 [ 29.841104] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.850554] Call Trace: [ 29.853302] dump_stack+0x1b2/0x281 [ 29.856921] print_address_description.cold+0x54/0x1d3 [ 29.862346] kasan_report_error.cold+0x8a/0x191 [ 29.867016] ? vgem_gem_dumb_create+0x200/0x210 [ 29.871773] __asan_report_load8_noabort+0x68/0x70 [ 29.876699] ? vgem_gem_dumb_create+0x200/0x210 [ 29.881348] vgem_gem_dumb_create+0x200/0x210 [ 29.885840] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 29.890872] ? __drm_printfn_debug+0x70/0x70 [ 29.895261] drm_ioctl_kernel+0x14c/0x200 [ 29.899390] drm_ioctl+0x419/0x870 [ 29.902910] ? __drm_printfn_debug+0x70/0x70 [ 29.907644] ? drm_getstats+0x20/0x20 [ 29.911549] ? futex_exit_release+0x220/0x220 [ 29.916025] ? dentry_free+0xc6/0x120 [ 29.919811] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 29.924811] ? kmem_cache_free+0x23a/0x2b0 [ 29.929028] ? __fget+0x1fe/0x360 [ 29.932476] ? drm_getstats+0x20/0x20 [ 29.936256] do_vfs_ioctl+0x75a/0xff0 [ 29.940037] ? ioctl_preallocate+0x1a0/0x1a0 [ 29.944426] ? lock_downgrade+0x740/0x740 [ 29.948554] ? __fget+0x225/0x360 [ 29.952005] ? do_vfs_ioctl+0xff0/0xff0 [ 29.955956] ? security_file_ioctl+0x83/0xb0 [ 29.960363] SyS_ioctl+0x7f/0xb0 [ 29.963708] ? do_vfs_ioctl+0xff0/0xff0 [ 29.967747] do_syscall_64+0x1d5/0x640 [ 29.971615] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.976780] RIP: 0033:0x449e79 [ 29.979947] RSP: 002b:00007f39be473308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 29.987719] RAX: ffffffffffffffda RBX: 00000000004ca428 RCX: 0000000000449e79 [ 29.994965] RDX: 00000000200000c0 RSI: 00000000c02064b2 RDI: 0000000000000004 [ 30.002232] RBP: 00000000004ca420 R08: 0000000000000000 R09: 0000000000000000 [ 30.009481] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004ca42c [ 30.017096] R13: 000000000049a074 R14: 6972642f7665642f R15: 0000000000022000 [ 30.024349] [ 30.025951] Allocated by task 8541: [ 30.029562] kasan_kmalloc+0xeb/0x160 [ 30.033338] kmem_cache_alloc_trace+0x131/0x3d0 [ 30.037985] __vgem_gem_create+0x44/0xe0 [ 30.042022] vgem_gem_dumb_create+0xc5/0x210 [ 30.046511] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 30.051504] drm_ioctl_kernel+0x14c/0x200 [ 30.055636] drm_ioctl+0x419/0x870 [ 30.059153] do_vfs_ioctl+0x75a/0xff0 [ 30.062946] SyS_ioctl+0x7f/0xb0 [ 30.066290] do_syscall_64+0x1d5/0x640 [ 30.070167] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.075338] [ 30.076940] Freed by task 8541: [ 30.080193] kasan_slab_free+0xc3/0x1a0 [ 30.084140] kfree+0xc9/0x250 [ 30.087223] drm_gem_object_free+0x8f/0x150 [ 30.091527] drm_gem_object_put_unlocked+0xc3/0x160 [ 30.096614] vgem_gem_dumb_create+0xf2/0x210 [ 30.101003] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 30.105995] drm_ioctl_kernel+0x14c/0x200 [ 30.110117] drm_ioctl+0x419/0x870 [ 30.113632] do_vfs_ioctl+0x75a/0xff0 [ 30.117409] SyS_ioctl+0x7f/0xb0 [ 30.120769] do_syscall_64+0x1d5/0x640 [ 30.124640] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.129806] [ 30.131411] The buggy address belongs to the object at ffff8880a51b8a40 [ 30.131411] which belongs to the cache kmalloc-512 of size 512 [ 30.144049] The buggy address is located 256 bytes inside of [ 30.144049] 512-byte region [ffff8880a51b8a40, ffff8880a51b8c40) [ 30.155902] The buggy address belongs to the page: [ 30.160822] page:ffffea0002946e00 count:1 mapcount:0 mapping:ffff8880a51b8040 index:0x0 [ 30.169038] flags: 0xfff00000000100(slab) [ 30.173164] raw: 00fff00000000100 ffff8880a51b8040 0000000000000000 0000000100000006 [ 30.181021] raw: ffffea000294a3e0 ffffea000293cfa0 ffff88813fe80940 0000000000000000 [ 30.188876] page dumped because: kasan: bad access detected [ 30.194564] [ 30.196164] Memory state around the buggy address: [ 30.201162] ffff8880a51b8a00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 30.208505] ffff8880a51b8a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.215863] >ffff8880a51b8b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.223380] ^ [ 30.228808] ffff8880a51b8b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.236365] ffff8880a51b8c00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 30.243704] ================================================================== [ 30.251050] Disabling lock debugging due to kernel taint [ 30.260036] Kernel panic - not syncing: panic_on_warn set ... [ 30.260036] [ 30.267402] CPU: 0 PID: 8541 Comm: syz-executor673 Tainted: G B 4.14.237-syzkaller #0 [ 30.276485] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.285825] Call Trace: [ 30.288398] dump_stack+0x1b2/0x281 [ 30.291999] panic+0x1f9/0x42d [ 30.295380] ? add_taint.cold+0x16/0x16 [ 30.299404] ? ___preempt_schedule+0x16/0x18 [ 30.303788] kasan_end_report+0x43/0x49 [ 30.307739] kasan_report_error.cold+0xa7/0x191 [ 30.312395] ? vgem_gem_dumb_create+0x200/0x210 [ 30.317404] __asan_report_load8_noabort+0x68/0x70 [ 30.322315] ? vgem_gem_dumb_create+0x200/0x210 [ 30.326962] vgem_gem_dumb_create+0x200/0x210 [ 30.331648] drm_mode_create_dumb_ioctl+0x221/0x2b0 [ 30.336713] ? __drm_printfn_debug+0x70/0x70 [ 30.341182] drm_ioctl_kernel+0x14c/0x200 [ 30.345303] drm_ioctl+0x419/0x870 [ 30.348817] ? __drm_printfn_debug+0x70/0x70 [ 30.353197] ? drm_getstats+0x20/0x20 [ 30.357075] ? futex_exit_release+0x220/0x220 [ 30.361544] ? dentry_free+0xc6/0x120 [ 30.365329] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 30.370316] ? kmem_cache_free+0x23a/0x2b0 [ 30.374521] ? __fget+0x1fe/0x360 [ 30.377947] ? drm_getstats+0x20/0x20 [ 30.381723] do_vfs_ioctl+0x75a/0xff0 [ 30.385522] ? ioctl_preallocate+0x1a0/0x1a0 [ 30.389905] ? lock_downgrade+0x740/0x740 [ 30.394026] ? __fget+0x225/0x360 [ 30.397452] ? do_vfs_ioctl+0xff0/0xff0 [ 30.401493] ? security_file_ioctl+0x83/0xb0 [ 30.405938] SyS_ioctl+0x7f/0xb0 [ 30.409293] ? do_vfs_ioctl+0xff0/0xff0 [ 30.413255] do_syscall_64+0x1d5/0x640 [ 30.417125] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.422289] RIP: 0033:0x449e79 [ 30.425550] RSP: 002b:00007f39be473308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 30.433233] RAX: ffffffffffffffda RBX: 00000000004ca428 RCX: 0000000000449e79 [ 30.440490] RDX: 00000000200000c0 RSI: 00000000c02064b2 RDI: 0000000000000004 [ 30.447768] RBP: 00000000004ca420 R08: 0000000000000000 R09: 0000000000000000 [ 30.455139] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004ca42c [ 30.462687] R13: 000000000049a074 R14: 6972642f7665642f R15: 0000000000022000 [ 30.471817] Kernel Offset: disabled [ 30.475563] Rebooting in 86400 seconds..