[ OK ] Started Daily apt upgrade and clean activities. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. [ OK ] Started System Logging Service. [ OK ] Started Permit User Sessions. [ OK ] Found device /dev/ttyS0. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Started Getty on tty6. [ OK ] Started Getty on tty5. [ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.63' (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 syzkaller login: [ 36.942750] ================================================================== [ 36.950530] BUG: KASAN: use-after-free in vgem_gem_dumb_create+0x22c/0x240 [ 36.957718] Read of size 8 at addr ffff8880b2450b00 by task syz-executor400/8175 [ 36.965320] [ 36.966945] CPU: 0 PID: 8175 Comm: syz-executor400 Not tainted 4.19.192-syzkaller #0 [ 36.974869] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.984415] Call Trace: [ 36.986997] dump_stack+0x1fc/0x2ef [ 36.990615] print_address_description.cold+0x54/0x219 [ 36.995880] kasan_report_error.cold+0x8a/0x1b9 [ 37.000537] ? vgem_gem_dumb_create+0x22c/0x240 [ 37.005197] __asan_report_load8_noabort+0x88/0x90 [ 37.010125] ? drm_gem_object_put_unlocked+0x10/0x180 [ 37.015326] ? vgem_gem_dumb_create+0x22c/0x240 [ 37.019999] vgem_gem_dumb_create+0x22c/0x240 [ 37.024512] drm_mode_create_dumb+0x27c/0x300 [ 37.029018] drm_ioctl_kernel+0x208/0x2a0 [ 37.033158] ? drm_mode_create_dumb+0x300/0x300 [ 37.038421] ? drm_ioctl_permit+0x210/0x210 [ 37.042934] ? __might_fault+0x192/0x1d0 [ 37.047095] drm_ioctl+0x507/0x9c0 [ 37.050917] ? drm_mode_create_dumb+0x300/0x300 [ 37.057417] ? drm_getstats+0x20/0x20 [ 37.061441] ? lock_downgrade+0x720/0x720 [ 37.065868] ? lock_acquire+0x170/0x3c0 [ 37.069937] ? debug_object_active_state+0x104/0x330 [ 37.075054] ? futex_exit_release+0x220/0x220 [ 37.079747] ? mark_held_locks+0xf0/0xf0 [ 37.084056] ? drm_getstats+0x20/0x20 [ 37.088398] do_vfs_ioctl+0xcdb/0x12e0 [ 37.092320] ? lock_downgrade+0x720/0x720 [ 37.096566] ? check_preemption_disabled+0x41/0x280 [ 37.101866] ? ioctl_preallocate+0x200/0x200 [ 37.106298] ? __fget+0x356/0x510 [ 37.109770] ? do_dup2+0x450/0x450 [ 37.113586] ? __se_sys_futex+0x298/0x3b0 [ 37.117740] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 37.122510] ksys_ioctl+0x9b/0xc0 [ 37.125968] __x64_sys_ioctl+0x6f/0xb0 [ 37.129861] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 37.134465] do_syscall_64+0xf9/0x620 [ 37.138271] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.143662] RIP: 0033:0x44a499 [ 37.146898] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 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 [ 37.165799] RSP: 002b:00007f41f19a7308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 37.173520] RAX: ffffffffffffffda RBX: 00000000004cb428 RCX: 000000000044a499 [ 37.180881] RDX: 00000000200000c0 RSI: 00000000c02064b2 RDI: 0000000000000004 [ 37.188240] RBP: 00000000004cb420 R08: 0000000000000000 R09: 0000000000000000 [ 37.195535] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb42c [ 37.202889] R13: 000000000049b07c R14: 6972642f7665642f R15: 0000000000022000 [ 37.210265] [ 37.211894] Allocated by task 8175: [ 37.215532] kmem_cache_alloc_trace+0x12f/0x380 [ 37.220207] __vgem_gem_create+0x44/0xf0 [ 37.224708] vgem_gem_dumb_create+0xcf/0x240 [ 37.229114] drm_mode_create_dumb+0x27c/0x300 [ 37.233626] drm_ioctl_kernel+0x208/0x2a0 [ 37.237772] drm_ioctl+0x507/0x9c0 [ 37.241322] do_vfs_ioctl+0xcdb/0x12e0 [ 37.245483] ksys_ioctl+0x9b/0xc0 [ 37.249111] __x64_sys_ioctl+0x6f/0xb0 [ 37.252997] do_syscall_64+0xf9/0x620 [ 37.256803] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.262012] [ 37.263635] Freed by task 8175: [ 37.267010] kfree+0xcc/0x210 [ 37.270117] drm_gem_object_free+0x91/0x1c0 [ 37.274522] drm_gem_object_put_unlocked+0xd1/0x180 [ 37.279557] vgem_gem_dumb_create+0x10c/0x240 [ 37.284063] drm_mode_create_dumb+0x27c/0x300 [ 37.288568] drm_ioctl_kernel+0x208/0x2a0 [ 37.292724] drm_ioctl+0x507/0x9c0 [ 37.296295] do_vfs_ioctl+0xcdb/0x12e0 [ 37.300192] ksys_ioctl+0x9b/0xc0 [ 37.303645] __x64_sys_ioctl+0x6f/0xb0 [ 37.307616] do_syscall_64+0xf9/0x620 [ 37.311451] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.316641] [ 37.318279] The buggy address belongs to the object at ffff8880b2450a00 [ 37.318279] which belongs to the cache kmalloc-512 of size 512 [ 37.330945] The buggy address is located 256 bytes inside of [ 37.330945] 512-byte region [ffff8880b2450a00, ffff8880b2450c00) [ 37.342915] The buggy address belongs to the page: [ 37.347845] page:ffffea0002c91400 count:1 mapcount:0 mapping:ffff88813bff0940 index:0xffff8880b2450280 [ 37.357286] flags: 0xfff00000000100(slab) [ 37.361524] raw: 00fff00000000100 ffffea0002d435c8 ffffea0002859b08 ffff88813bff0940 [ 37.369409] raw: ffff8880b2450280 ffff8880b2450000 0000000100000003 0000000000000000 [ 37.377372] page dumped because: kasan: bad access detected [ 37.383072] [ 37.384692] Memory state around the buggy address: [ 37.389618] ffff8880b2450a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 37.397003] ffff8880b2450a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 37.404407] >ffff8880b2450b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 37.412008] ^ [ 37.415545] ffff8880b2450b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 37.423090] ffff8880b2450c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 37.430450] ================================================================== [ 37.437894] Disabling lock debugging due to kernel taint [ 37.450411] Kernel panic - not syncing: panic_on_warn set ... [ 37.450411] [ 37.457837] CPU: 0 PID: 8175 Comm: syz-executor400 Tainted: G B 4.19.192-syzkaller #0 [ 37.467191] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.476566] Call Trace: [ 37.479164] dump_stack+0x1fc/0x2ef [ 37.482801] panic+0x26a/0x50e [ 37.486094] ? __warn_printk+0xf3/0xf3 [ 37.490019] ? preempt_schedule_common+0x45/0xc0 [ 37.495044] ? ___preempt_schedule+0x16/0x18 [ 37.499535] ? trace_hardirqs_on+0x55/0x210 [ 37.503869] kasan_end_report+0x43/0x49 [ 37.507854] kasan_report_error.cold+0xa7/0x1b9 [ 37.512902] ? vgem_gem_dumb_create+0x22c/0x240 [ 37.518094] __asan_report_load8_noabort+0x88/0x90 [ 37.523553] ? drm_gem_object_put_unlocked+0x10/0x180 [ 37.529043] ? vgem_gem_dumb_create+0x22c/0x240 [ 37.533881] vgem_gem_dumb_create+0x22c/0x240 [ 37.538470] drm_mode_create_dumb+0x27c/0x300 [ 37.542957] drm_ioctl_kernel+0x208/0x2a0 [ 37.547440] ? drm_mode_create_dumb+0x300/0x300 [ 37.552114] ? drm_ioctl_permit+0x210/0x210 [ 37.556449] ? __might_fault+0x192/0x1d0 [ 37.560511] drm_ioctl+0x507/0x9c0 [ 37.564042] ? drm_mode_create_dumb+0x300/0x300 [ 37.568783] ? drm_getstats+0x20/0x20 [ 37.572579] ? lock_downgrade+0x720/0x720 [ 37.577077] ? lock_acquire+0x170/0x3c0 [ 37.581041] ? debug_object_active_state+0x104/0x330 [ 37.586131] ? futex_exit_release+0x220/0x220 [ 37.590609] ? mark_held_locks+0xf0/0xf0 [ 37.594758] ? drm_getstats+0x20/0x20 [ 37.598543] do_vfs_ioctl+0xcdb/0x12e0 [ 37.602422] ? lock_downgrade+0x720/0x720 [ 37.606556] ? check_preemption_disabled+0x41/0x280 [ 37.611554] ? ioctl_preallocate+0x200/0x200 [ 37.615979] ? __fget+0x356/0x510 [ 37.619526] ? do_dup2+0x450/0x450 [ 37.623080] ? __se_sys_futex+0x298/0x3b0 [ 37.627316] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 37.631953] ksys_ioctl+0x9b/0xc0 [ 37.635405] __x64_sys_ioctl+0x6f/0xb0 [ 37.639286] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 37.643864] do_syscall_64+0xf9/0x620 [ 37.647661] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.652929] RIP: 0033:0x44a499 [ 37.656222] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 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 [ 37.675793] RSP: 002b:00007f41f19a7308 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 37.683494] RAX: ffffffffffffffda RBX: 00000000004cb428 RCX: 000000000044a499 [ 37.690755] RDX: 00000000200000c0 RSI: 00000000c02064b2 RDI: 0000000000000004 [ 37.698021] RBP: 00000000004cb420 R08: 0000000000000000 R09: 0000000000000000 [ 37.705375] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb42c [ 37.712638] R13: 000000000049b07c R14: 6972642f7665642f R15: 0000000000022000 [ 37.720871] Kernel Offset: disabled [ 37.724499] Rebooting in 86400 seconds..