Warning: Permanently added '10.128.0.38' (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 syzkaller login: [ 36.211008] ================================================================== [ 36.218578] BUG: KASAN: use-after-free in vgem_gem_dumb_create+0x22c/0x240 [ 36.225603] Read of size 8 at addr ffff8880b346c940 by task syz-executor895/8672 [ 36.233131] [ 36.234769] CPU: 0 PID: 8672 Comm: syz-executor895 Not tainted 4.19.180-syzkaller #0 [ 36.242648] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.252011] Call Trace: [ 36.254618] dump_stack+0x1fc/0x2ef executing program executing program [ 36.258263] print_address_description.cold+0x54/0x219 [ 36.263550] kasan_report_error.cold+0x8a/0x1b9 [ 36.268306] ? vgem_gem_dumb_create+0x22c/0x240 [ 36.273097] __asan_report_load8_noabort+0x88/0x90 [ 36.278043] ? drm_gem_object_put_unlocked+0x40/0x180 [ 36.283361] ? vgem_gem_dumb_create+0x22c/0x240 [ 36.288043] vgem_gem_dumb_create+0x22c/0x240 [ 36.292546] drm_mode_create_dumb+0x27c/0x300 [ 36.297051] drm_ioctl_kernel+0x208/0x2a0 [ 36.301207] ? drm_mode_create_dumb+0x300/0x300 [ 36.305882] ? drm_ioctl_permit+0x210/0x210 [ 36.310228] ? __might_fault+0x192/0x1d0 [ 36.314308] drm_ioctl+0x507/0x9c0 [ 36.317861] ? drm_mode_create_dumb+0x300/0x300 [ 36.322535] ? drm_getstats+0x20/0x20 [ 36.326339] ? cmp_ex_sort+0xc0/0xc0 [ 36.330062] ? __do_page_fault+0x180/0xd60 [ 36.334300] ? retint_kernel+0x2d/0x2d [ 36.338183] ? futex_exit_release+0x220/0x220 [ 36.342669] ? drm_getstats+0x20/0x20 [ 36.346460] do_vfs_ioctl+0xcdb/0x12e0 [ 36.350360] ? lock_downgrade+0x720/0x720 [ 36.354499] ? check_preemption_disabled+0x41/0x280 [ 36.359505] ? ioctl_preallocate+0x200/0x200 [ 36.363921] ? __fget+0x356/0x510 [ 36.367367] ? do_dup2+0x450/0x450 [ 36.370893] ? __se_sys_futex+0x298/0x3b0 [ 36.375045] ksys_ioctl+0x9b/0xc0 [ 36.378488] __x64_sys_ioctl+0x6f/0xb0 [ 36.382477] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 36.387063] do_syscall_64+0xf9/0x620 [ 36.390855] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.396042] RIP: 0033:0x449f19 [ 36.399249] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 36.418142] RSP: 002b:00007fe791895308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 36.425839] RAX: ffffffffffffffda RBX: 00000000004ca428 RCX: 0000000000449f19 [ 36.433102] RDX: 00000000200001c0 RSI: 00000000c02064b2 RDI: 0000000000000004 [ 36.440458] RBP: 00000000004ca420 R08: 0000000000000000 R09: 0000000000000000 [ 36.447728] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004ca42c [ 36.455505] R13: 000000000049a074 R14: 6972642f7665642f R15: 0000000000022000 [ 36.462783] [ 36.464394] Allocated by task 8672: [ 36.468009] kmem_cache_alloc_trace+0x12f/0x380 [ 36.472666] __vgem_gem_create+0x44/0xf0 [ 36.476710] vgem_gem_dumb_create+0xcf/0x240 [ 36.481103] drm_mode_create_dumb+0x27c/0x300 [ 36.485589] drm_ioctl_kernel+0x208/0x2a0 [ 36.489734] drm_ioctl+0x507/0x9c0 [ 36.493255] do_vfs_ioctl+0xcdb/0x12e0 [ 36.497136] ksys_ioctl+0x9b/0xc0 [ 36.500576] __x64_sys_ioctl+0x6f/0xb0 [ 36.504450] do_syscall_64+0xf9/0x620 [ 36.508240] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.513411] [ 36.515023] Freed by task 8672: [ 36.518287] kfree+0xcc/0x210 [ 36.522332] drm_gem_object_free+0x91/0x1c0 [ 36.526650] drm_gem_object_put_unlocked+0xd1/0x180 [ 36.531651] vgem_gem_dumb_create+0x10c/0x240 [ 36.536145] drm_mode_create_dumb+0x27c/0x300 [ 36.540640] drm_ioctl_kernel+0x208/0x2a0 [ 36.544773] drm_ioctl+0x507/0x9c0 [ 36.548308] do_vfs_ioctl+0xcdb/0x12e0 [ 36.552181] ksys_ioctl+0x9b/0xc0 [ 36.555618] __x64_sys_ioctl+0x6f/0xb0 [ 36.559489] do_syscall_64+0xf9/0x620 [ 36.563275] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.568446] [ 36.570077] The buggy address belongs to the object at ffff8880b346c840 [ 36.570077] which belongs to the cache kmalloc-512 of size 512 [ 36.582730] The buggy address is located 256 bytes inside of [ 36.582730] 512-byte region [ffff8880b346c840, ffff8880b346ca40) [ 36.594590] The buggy address belongs to the page: [ 36.599508] page:ffffea0002cd1b00 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 36.607634] flags: 0xfff00000000100(slab) [ 36.611857] raw: 00fff00000000100 ffffea0002a84348 ffffea0002890848 ffff88813bff0940 [ 36.619726] raw: 0000000000000000 ffff8880b346c0c0 0000000100000006 0000000000000000 [ 36.627589] page dumped because: kasan: bad access detected [ 36.633280] [ 36.634890] Memory state around the buggy address: [ 36.639803] ffff8880b346c800: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 36.647277] ffff8880b346c880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.654621] >ffff8880b346c900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 36.661961] ^ [ 36.667393] ffff8880b346c980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.674746] ffff8880b346ca00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 36.682090] ================================================================== [ 36.689548] Disabling lock debugging due to kernel taint executing program executing program executing program executing program executing program executing program [ 36.713563] Kernel panic - not syncing: panic_on_warn set ... [ 36.713563] [ 36.720964] CPU: 1 PID: 8672 Comm: syz-executor895 Tainted: G B 4.19.180-syzkaller #0 [ 36.730234] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.739692] Call Trace: [ 36.742320] dump_stack+0x1fc/0x2ef [ 36.745937] panic+0x26a/0x50e [ 36.749124] ? __warn_printk+0xf3/0xf3 [ 36.753014] ? preempt_schedule_common+0x45/0xc0 [ 36.757773] ? ___preempt_schedule+0x16/0x18 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 36.762184] ? trace_hardirqs_on+0x55/0x210 [ 36.766511] kasan_end_report+0x43/0x49 [ 36.770487] kasan_report_error.cold+0xa7/0x1b9 [ 36.775162] ? vgem_gem_dumb_create+0x22c/0x240 [ 36.779829] __asan_report_load8_noabort+0x88/0x90 [ 36.784752] ? drm_gem_object_put_unlocked+0x40/0x180 [ 36.789950] ? vgem_gem_dumb_create+0x22c/0x240 [ 36.794655] vgem_gem_dumb_create+0x22c/0x240 [ 36.799146] drm_mode_create_dumb+0x27c/0x300 [ 36.803647] drm_ioctl_kernel+0x208/0x2a0 [ 36.807796] ? drm_mode_create_dumb+0x300/0x300 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 36.812468] ? drm_ioctl_permit+0x210/0x210 [ 36.816796] ? __might_fault+0x192/0x1d0 [ 36.820981] drm_ioctl+0x507/0x9c0 [ 36.824517] ? drm_mode_create_dumb+0x300/0x300 [ 36.829186] ? drm_getstats+0x20/0x20 [ 36.832992] ? cmp_ex_sort+0xc0/0xc0 [ 36.836703] ? __do_page_fault+0x180/0xd60 [ 36.840929] ? retint_kernel+0x2d/0x2d [ 36.844816] ? futex_exit_release+0x220/0x220 [ 36.849418] ? drm_getstats+0x20/0x20 [ 36.853206] do_vfs_ioctl+0xcdb/0x12e0 [ 36.857088] ? lock_downgrade+0x720/0x720 executing program executing program executing program executing program executing program executing program executing program executing program [ 36.861340] ? check_preemption_disabled+0x41/0x280 [ 36.866647] ? ioctl_preallocate+0x200/0x200 [ 36.871065] ? __fget+0x356/0x510 [ 36.874524] ? do_dup2+0x450/0x450 [ 36.878084] ? __se_sys_futex+0x298/0x3b0 [ 36.882373] ksys_ioctl+0x9b/0xc0 [ 36.885829] __x64_sys_ioctl+0x6f/0xb0 [ 36.889719] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 36.894349] do_syscall_64+0xf9/0x620 [ 36.898150] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.903341] RIP: 0033:0x449f19 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 36.906540] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 36.925441] RSP: 002b:00007fe791895308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 36.933240] RAX: ffffffffffffffda RBX: 00000000004ca428 RCX: 0000000000449f19 [ 36.940507] RDX: 00000000200001c0 RSI: 00000000c02064b2 RDI: 0000000000000004 [ 36.947779] RBP: 00000000004ca420 R08: 0000000000000000 R09: 0000000000000000 [ 36.955046] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004ca42c [ 36.962315] R13: 000000000049a074 R14: 6972642f7665642f R15: 0000000000022000 [ 36.969640] Kernel Offset: disabled [ 36.973257] Rebooting in 86400 seconds..