[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.212' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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: [ 40.113243] ================================================================== [ 40.120724] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 40.127406] Read of size 8 at addr ffff8880a6320fd8 by task syz-executor912/10535 [ 40.135115] [ 40.136751] CPU: 1 PID: 10535 Comm: syz-executor912 Not tainted 4.19.160-syzkaller #0 [ 40.144758] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.154243] Call Trace: [ 40.156938] dump_stack+0x1fc/0x2fe executing program executing program executing program executing program executing program executing program [ 40.160584] print_address_description.cold+0x54/0x219 [ 40.165884] kasan_report_error.cold+0x8a/0x1c7 [ 40.170574] ? __lock_acquire+0x2cb4/0x3ff0 [ 40.175001] __asan_report_load8_noabort+0x88/0x90 [ 40.179949] ? __lock_acquire+0x2cb4/0x3ff0 [ 40.184328] __lock_acquire+0x2cb4/0x3ff0 [ 40.188523] ? _raw_spin_unlock_irq+0x24/0x80 [ 40.193033] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 40.197715] ? _raw_spin_unlock_irq+0x5a/0x80 [ 40.202229] ? finish_task_switch+0x146/0x780 [ 40.206740] ? finish_task_switch+0x118/0x780 executing program executing program executing program executing program [ 40.211255] ? switch_mm_irqs_off+0x764/0x1340 [ 40.215857] ? mark_held_locks+0xf0/0xf0 [ 40.219936] ? __schedule+0x88f/0x2040 [ 40.223944] ? io_schedule_timeout+0x140/0x140 [ 40.228543] ? ___preempt_schedule_notrace+0x16/0x2f [ 40.233691] lock_acquire+0x170/0x3c0 [ 40.237509] ? vgem_fence_attach_ioctl+0x2c6/0x640 [ 40.242489] reservation_object_test_signaled_rcu+0x194/0xdb0 [ 40.248833] ? vgem_fence_attach_ioctl+0x2c6/0x640 [ 40.254072] ? reservation_object_get_fences_rcu+0x1010/0x1010 [ 40.260064] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 40.265103] ? init_timer_key+0x88/0x350 [ 40.269220] ? vgem_fence_enable_signaling+0x10/0x10 [ 40.274358] vgem_fence_attach_ioctl+0x2c6/0x640 [ 40.279171] drm_ioctl_kernel+0x208/0x2a0 [ 40.283601] ? __vgem_fence_idr_fini+0x60/0x60 [ 40.288205] ? drm_ioctl_permit+0x210/0x210 [ 40.292547] ? __might_fault+0x192/0x1d0 [ 40.296645] drm_ioctl+0x507/0x9c0 [ 40.300232] ? __vgem_fence_idr_fini+0x60/0x60 [ 40.304922] ? drm_getstats+0x20/0x20 [ 40.321426] ? debug_check_no_obj_freed+0x201/0x482 [ 40.326521] ? exit_robust_list+0x2e0/0x2e0 [ 40.330875] ? lock_acquire+0x170/0x3c0 [ 40.334867] ? debug_check_no_obj_freed+0xb5/0x482 [ 40.339844] ? drm_getstats+0x20/0x20 [ 40.343752] do_vfs_ioctl+0xcdb/0x12e0 [ 40.347664] ? lock_downgrade+0x720/0x720 [ 40.351854] ? check_preemption_disabled+0x41/0x280 [ 40.356888] ? ioctl_preallocate+0x200/0x200 [ 40.361311] ? __fget+0x356/0x510 [ 40.364780] ? do_dup2+0x450/0x450 [ 40.368360] ? __se_sys_futex+0x298/0x3b0 [ 40.372659] ksys_ioctl+0x9b/0xc0 [ 40.376128] __x64_sys_ioctl+0x6f/0xb0 [ 40.380034] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 40.384637] do_syscall_64+0xf9/0x620 [ 40.388455] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.394379] RIP: 0033:0x44a6d9 [ 40.397596] Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0f 83 fb ca fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 40.417234] RSP: 002b:00007ff3c3e7cdb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 40.424954] RAX: ffffffffffffffda RBX: 00000000006dbc48 RCX: 000000000044a6d9 [ 40.432253] RDX: 0000000020000140 RSI: 00000000c10c5541 RDI: 0000000000000005 [ 40.439538] RBP: 00000000006dbc40 R08: 0000000000000000 R09: 0000000000000000 [ 40.446853] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc4c [ 40.454305] R13: 00007ffc07db75bf R14: 00007ff3c3e7d9c0 R15: 0000000000000000 [ 40.461598] [ 40.464821] Allocated by task 10535: [ 40.468935] __kmalloc+0x15a/0x3c0 [ 40.472500] dma_buf_export+0x1f1/0xa20 [ 40.476598] drm_gem_dmabuf_export+0x17/0x80 [ 40.481030] drm_gem_prime_export+0x182/0x200 [ 40.485566] vgem_fence_attach_ioctl+0x395/0x640 [ 40.490517] drm_ioctl_kernel+0x208/0x2a0 [ 40.494682] drm_ioctl+0x507/0x9c0 [ 40.498933] do_vfs_ioctl+0xcdb/0x12e0 [ 40.502836] ksys_ioctl+0x9b/0xc0 [ 40.506305] __x64_sys_ioctl+0x6f/0xb0 [ 40.510207] do_syscall_64+0xf9/0x620 [ 40.514027] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.519267] [ 40.520898] Freed by task 10544: [ 40.524287] kfree+0xcc/0x210 [ 40.527408] dma_buf_release+0x329/0x630 [ 40.531483] __fput+0x2ce/0x890 [ 40.534776] task_work_run+0x148/0x1c0 [ 40.538677] exit_to_usermode_loop+0x251/0x2a0 [ 40.543364] do_syscall_64+0x538/0x620 [ 40.547272] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.552464] [ 40.554101] The buggy address belongs to the object at ffff8880a6320dc0 [ 40.554101] which belongs to the cache kmalloc-1024 of size 1024 [ 40.566948] The buggy address is located 536 bytes inside of [ 40.566948] 1024-byte region [ffff8880a6320dc0, ffff8880a63211c0) [ 40.578920] The buggy address belongs to the page: [ 40.583864] page:ffffea000298c800 count:1 mapcount:0 mapping:ffff88813bff0ac0 index:0x0 compound_mapcount: 0 [ 40.594028] flags: 0xfff00000008100(slab|head) [ 40.598713] raw: 00fff00000008100 ffffea0002999188 ffffea0002999788 ffff88813bff0ac0 [ 40.606613] raw: 0000000000000000 ffff8880a6320040 0000000100000007 0000000000000000 [ 40.614503] page dumped because: kasan: bad access detected [ 40.620225] [ 40.621867] Memory state around the buggy address: [ 40.626805] ffff8880a6320e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.634179] ffff8880a6320f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.641551] >ffff8880a6320f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.648920] ^ [ 40.655168] ffff8880a6321000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.662540] ffff8880a6321080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.669911] ================================================================== [ 40.677281] Disabling lock debugging due to kernel taint [ 40.682749] Kernel panic - not syncing: panic_on_warn set ... [ 40.682749] [ 40.690132] CPU: 1 PID: 10535 Comm: syz-executor912 Tainted: G B 4.19.160-syzkaller #0 [ 40.699589] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.708955] Call Trace: [ 40.711562] dump_stack+0x1fc/0x2fe [ 40.715216] panic+0x26a/0x50e [ 40.718438] ? __warn_printk+0xf3/0xf3 [ 40.722368] ? lock_downgrade+0x720/0x720 [ 40.726577] ? print_shadow_for_address+0xb8/0x114 [ 40.731556] ? trace_hardirqs_off+0x64/0x200 [ 40.735985] kasan_end_report+0x43/0x49 [ 40.739981] kasan_report_error.cold+0xa7/0x1c7 [ 40.744668] ? __lock_acquire+0x2cb4/0x3ff0 [ 40.749011] __asan_report_load8_noabort+0x88/0x90 [ 40.753977] ? __lock_acquire+0x2cb4/0x3ff0 [ 40.758315] __lock_acquire+0x2cb4/0x3ff0 [ 40.762477] ? _raw_spin_unlock_irq+0x24/0x80 [ 40.766992] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 40.771589] ? _raw_spin_unlock_irq+0x5a/0x80 [ 40.776104] ? finish_task_switch+0x146/0x780 [ 40.780616] ? finish_task_switch+0x118/0x780 [ 40.785126] ? switch_mm_irqs_off+0x764/0x1340 [ 40.789729] ? mark_held_locks+0xf0/0xf0 [ 40.793817] ? __schedule+0x88f/0x2040 [ 40.797935] ? io_schedule_timeout+0x140/0x140 [ 40.802551] ? ___preempt_schedule_notrace+0x16/0x2f [ 40.807676] lock_acquire+0x170/0x3c0 [ 40.811498] ? vgem_fence_attach_ioctl+0x2c6/0x640 [ 40.816453] reservation_object_test_signaled_rcu+0x194/0xdb0 [ 40.822357] ? vgem_fence_attach_ioctl+0x2c6/0x640 [ 40.827487] ? reservation_object_get_fences_rcu+0x1010/0x1010 [ 40.833481] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 40.838517] ? init_timer_key+0x88/0x350 [ 40.842594] ? vgem_fence_enable_signaling+0x10/0x10 [ 40.847713] vgem_fence_attach_ioctl+0x2c6/0x640 [ 40.852497] drm_ioctl_kernel+0x208/0x2a0 [ 40.856670] ? __vgem_fence_idr_fini+0x60/0x60 [ 40.861272] ? drm_ioctl_permit+0x210/0x210 [ 40.865639] ? __might_fault+0x192/0x1d0 [ 40.869724] drm_ioctl+0x507/0x9c0 [ 40.873295] ? __vgem_fence_idr_fini+0x60/0x60 [ 40.877900] ? drm_getstats+0x20/0x20 [ 40.881728] ? debug_check_no_obj_freed+0x201/0x482 [ 40.886788] ? exit_robust_list+0x2e0/0x2e0 [ 40.891136] ? lock_acquire+0x170/0x3c0 [ 40.895132] ? debug_check_no_obj_freed+0xb5/0x482 [ 40.900078] ? drm_getstats+0x20/0x20 [ 40.903901] do_vfs_ioctl+0xcdb/0x12e0 [ 40.907814] ? lock_downgrade+0x720/0x720 [ 40.911983] ? check_preemption_disabled+0x41/0x280 [ 40.917020] ? ioctl_preallocate+0x200/0x200 [ 40.921460] ? __fget+0x356/0x510 [ 40.924938] ? do_dup2+0x450/0x450 [ 40.928497] ? __se_sys_futex+0x298/0x3b0 [ 40.932665] ksys_ioctl+0x9b/0xc0 [ 40.936140] __x64_sys_ioctl+0x6f/0xb0 [ 40.940052] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 40.944651] do_syscall_64+0xf9/0x620 [ 40.948496] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.953704] RIP: 0033:0x44a6d9 [ 40.956909] Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0f 83 fb ca fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 40.975827] RSP: 002b:00007ff3c3e7cdb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 40.983596] RAX: ffffffffffffffda RBX: 00000000006dbc48 RCX: 000000000044a6d9 [ 40.990878] RDX: 0000000020000140 RSI: 00000000c10c5541 RDI: 0000000000000005 [ 40.998193] RBP: 00000000006dbc40 R08: 0000000000000000 R09: 0000000000000000 [ 41.005577] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc4c [ 41.012870] R13: 00007ffc07db75bf R14: 00007ff3c3e7d9c0 R15: 0000000000000000 [ 41.020801] Kernel Offset: disabled [ 41.024565] Rebooting in 86400 seconds..