Warning: Permanently added '10.128.10.27' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 55.803576] ================================================================== [ 55.811046] BUG: KASAN: null-ptr-deref in refcount_sub_and_test_checked+0x9d/0x310 [ 55.818752] Read of size 4 at addr 0000000000000020 by task syz-executor487/6051 [ 55.826263] [ 55.827882] CPU: 0 PID: 6051 Comm: syz-executor487 Not tainted 4.20.0-rc2+ #333 [ 55.835318] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 55.844659] Call Trace: [ 55.847239] dump_stack+0x244/0x39d [ 55.850855] ? dump_stack_print_info.cold.1+0x20/0x20 [ 55.856044] ? do_group_exit+0x177/0x440 [ 55.860092] ? __x64_sys_exit_group+0x3e/0x50 [ 55.864575] ? vprintk_func+0x85/0x181 [ 55.868450] kasan_report.cold.8+0x6d/0x309 [ 55.872760] ? refcount_sub_and_test_checked+0x9d/0x310 [ 55.878115] check_memory_region+0x13e/0x1b0 [ 55.882511] kasan_check_read+0x11/0x20 [ 55.886472] refcount_sub_and_test_checked+0x9d/0x310 [ 55.891661] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 55.896227] ? refcount_inc_not_zero_checked+0x2f0/0x2f0 [ 55.901677] ? vb2_vmalloc_put+0x5f/0x80 [ 55.905752] ? trace_hardirqs_off_caller+0x310/0x310 [ 55.910847] ? __kasan_slab_free+0x119/0x150 [ 55.915256] refcount_dec_and_test_checked+0x1a/0x20 [ 55.920370] vb2_vmalloc_put+0x19/0x80 [ 55.924270] __vb2_buf_mem_free+0x112/0x210 [ 55.928576] ? vb2_vmalloc_get_dmabuf+0x300/0x300 [ 55.933409] __vb2_queue_free+0x830/0xa30 [ 55.937548] ? trace_hardirqs_off_caller+0x310/0x310 [ 55.942639] ? __vb2_plane_dmabuf_put.isra.5+0x310/0x310 [ 55.948082] vb2_core_queue_release+0x62/0x80 [ 55.952566] _vb2_fop_release+0x1d2/0x2b0 [ 55.956699] vb2_fop_release+0x77/0xc0 [ 55.960575] vivid_fop_release+0x18e/0x440 [ 55.964815] ? vivid_remove+0x460/0x460 [ 55.968777] v4l2_release+0x224/0x3a0 [ 55.972566] ? dev_debug_store+0x140/0x140 [ 55.976786] __fput+0x385/0xa30 [ 55.980053] ? get_max_files+0x20/0x20 [ 55.983942] ? trace_hardirqs_on+0xbd/0x310 [ 55.988246] ? kasan_check_read+0x11/0x20 [ 55.992378] ? task_work_run+0x1af/0x2a0 [ 55.996431] ? trace_hardirqs_off_caller+0x310/0x310 [ 56.001525] ____fput+0x15/0x20 [ 56.004788] task_work_run+0x1e8/0x2a0 [ 56.008664] ? task_work_cancel+0x240/0x240 [ 56.012977] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 56.018497] ? switch_task_namespaces+0x9d/0xd0 [ 56.023157] do_exit+0x1ad6/0x26d0 [ 56.026717] ? mm_update_next_owner+0x990/0x990 [ 56.031390] ? kvfree+0x66/0x70 [ 56.034671] ? video_usercopy+0x79b/0x1760 [ 56.038898] ? v4l_s_fmt+0x990/0x990 [ 56.042600] ? v4l_enumstd+0x70/0x70 [ 56.046297] ? rcu_softirq_qs+0x20/0x20 [ 56.050263] ? is_bpf_text_address+0xd3/0x170 [ 56.054746] ? __kernel_text_address+0xd/0x40 [ 56.059225] ? unwind_get_return_address+0x61/0xa0 [ 56.064161] ? __save_stack_trace+0x8d/0xf0 [ 56.068477] ? save_stack+0x43/0xd0 [ 56.072089] ? __kasan_slab_free+0x102/0x150 [ 56.076496] ? kasan_slab_free+0xe/0x10 [ 56.080452] ? kmem_cache_free+0x83/0x290 [ 56.084606] ? do_sys_open+0x54d/0x700 [ 56.088481] ? __x64_sys_open+0x7e/0xc0 [ 56.092439] ? do_syscall_64+0x1b9/0x820 [ 56.096486] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 56.101843] ? trace_hardirqs_off+0xb8/0x310 [ 56.106239] ? kasan_check_read+0x11/0x20 [ 56.110392] ? do_raw_spin_unlock+0xa7/0x330 [ 56.114789] ? trace_hardirqs_on+0x310/0x310 [ 56.119214] ? video_usercopy+0x1760/0x1760 [ 56.123523] ? video_ioctl2+0x2c/0x33 [ 56.127315] ? v4l2_ioctl+0x15c/0x1b0 [ 56.131139] ? video_devdata+0xa0/0xa0 [ 56.135033] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 56.140554] ? do_vfs_ioctl+0x201/0x1790 [ 56.144603] ? rcu_lockdep_current_cpu_online+0x1a4/0x210 [ 56.150127] ? ioctl_preallocate+0x300/0x300 [ 56.154522] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 56.160042] ? __fget_light+0x2e9/0x430 [ 56.164002] ? fget_raw+0x20/0x20 [ 56.167443] ? rcu_read_lock_sched_held+0x14f/0x180 [ 56.172446] ? kmem_cache_free+0x24f/0x290 [ 56.176666] ? putname+0xf7/0x130 [ 56.180106] do_group_exit+0x177/0x440 [ 56.183983] ? trace_hardirqs_on+0xbd/0x310 [ 56.188290] ? __ia32_sys_exit+0x50/0x50 [ 56.192347] ? trace_hardirqs_off_caller+0x310/0x310 [ 56.197435] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 56.202963] ? ksys_ioctl+0x81/0xd0 [ 56.206580] __x64_sys_exit_group+0x3e/0x50 [ 56.210920] do_syscall_64+0x1b9/0x820 [ 56.214796] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 56.220146] ? syscall_return_slowpath+0x5e0/0x5e0 [ 56.225059] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 56.229900] ? trace_hardirqs_on_caller+0x310/0x310 [ 56.234909] ? prepare_exit_to_usermode+0x291/0x3b0 [ 56.239924] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 56.244759] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 56.249996] RIP: 0033:0x442c78 [ 56.253185] Code: Bad RIP value. [ 56.256533] RSP: 002b:00007fff4ac5a278 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 56.264234] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442c78 [ 56.271493] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 56.278751] RBP: 00000000004c2848 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 56.286021] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 56.293283] R13: 00000000006d4180 R14: 0000000000000000 R15: 0000000000000000 [ 56.300554] ================================================================== [ 56.307908] Disabling lock debugging due to kernel taint [ 56.313489] Kernel panic - not syncing: panic_on_warn set ... [ 56.319390] CPU: 0 PID: 6051 Comm: syz-executor487 Tainted: G B 4.20.0-rc2+ #333 [ 56.328210] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 56.337551] Call Trace: [ 56.340129] dump_stack+0x244/0x39d [ 56.343742] ? dump_stack_print_info.cold.1+0x20/0x20 [ 56.348934] panic+0x2ad/0x55c [ 56.352111] ? add_taint.cold.5+0x16/0x16 [ 56.356243] ? preempt_schedule+0x4d/0x60 [ 56.360379] ? ___preempt_schedule+0x16/0x18 [ 56.364777] ? trace_hardirqs_on+0xb4/0x310 [ 56.369087] kasan_end_report+0x47/0x4f [ 56.373056] kasan_report.cold.8+0x76/0x309 [ 56.377367] ? refcount_sub_and_test_checked+0x9d/0x310 [ 56.382728] check_memory_region+0x13e/0x1b0 [ 56.387127] kasan_check_read+0x11/0x20 [ 56.391099] refcount_sub_and_test_checked+0x9d/0x310 [ 56.396297] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 56.400881] ? refcount_inc_not_zero_checked+0x2f0/0x2f0 [ 56.406325] ? vb2_vmalloc_put+0x5f/0x80 [ 56.410376] ? trace_hardirqs_off_caller+0x310/0x310 [ 56.415473] ? __kasan_slab_free+0x119/0x150 [ 56.419881] refcount_dec_and_test_checked+0x1a/0x20 [ 56.425016] vb2_vmalloc_put+0x19/0x80 [ 56.428914] __vb2_buf_mem_free+0x112/0x210 [ 56.433238] ? vb2_vmalloc_get_dmabuf+0x300/0x300 [ 56.438074] __vb2_queue_free+0x830/0xa30 [ 56.442212] ? trace_hardirqs_off_caller+0x310/0x310 [ 56.447308] ? __vb2_plane_dmabuf_put.isra.5+0x310/0x310 [ 56.452776] vb2_core_queue_release+0x62/0x80 [ 56.457262] _vb2_fop_release+0x1d2/0x2b0 [ 56.461399] vb2_fop_release+0x77/0xc0 [ 56.465274] vivid_fop_release+0x18e/0x440 [ 56.469495] ? vivid_remove+0x460/0x460 [ 56.473475] v4l2_release+0x224/0x3a0 [ 56.477263] ? dev_debug_store+0x140/0x140 [ 56.481484] __fput+0x385/0xa30 [ 56.484748] ? get_max_files+0x20/0x20 [ 56.488620] ? trace_hardirqs_on+0xbd/0x310 [ 56.492933] ? kasan_check_read+0x11/0x20 [ 56.497065] ? task_work_run+0x1af/0x2a0 [ 56.501133] ? trace_hardirqs_off_caller+0x310/0x310 [ 56.506253] ____fput+0x15/0x20 [ 56.509516] task_work_run+0x1e8/0x2a0 [ 56.513409] ? task_work_cancel+0x240/0x240 [ 56.517732] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 56.523254] ? switch_task_namespaces+0x9d/0xd0 [ 56.527914] do_exit+0x1ad6/0x26d0 [ 56.531444] ? mm_update_next_owner+0x990/0x990 [ 56.536118] ? kvfree+0x66/0x70 [ 56.539384] ? video_usercopy+0x79b/0x1760 [ 56.543608] ? v4l_s_fmt+0x990/0x990 [ 56.547311] ? v4l_enumstd+0x70/0x70 [ 56.551005] ? rcu_softirq_qs+0x20/0x20 [ 56.554968] ? is_bpf_text_address+0xd3/0x170 [ 56.559449] ? __kernel_text_address+0xd/0x40 [ 56.563931] ? unwind_get_return_address+0x61/0xa0 [ 56.568848] ? __save_stack_trace+0x8d/0xf0 [ 56.573162] ? save_stack+0x43/0xd0 [ 56.576791] ? __kasan_slab_free+0x102/0x150 [ 56.581190] ? kasan_slab_free+0xe/0x10 [ 56.585173] ? kmem_cache_free+0x83/0x290 [ 56.589320] ? do_sys_open+0x54d/0x700 [ 56.593189] ? __x64_sys_open+0x7e/0xc0 [ 56.597144] ? do_syscall_64+0x1b9/0x820 [ 56.601194] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 56.606551] ? trace_hardirqs_off+0xb8/0x310 [ 56.610941] ? kasan_check_read+0x11/0x20 [ 56.615076] ? do_raw_spin_unlock+0xa7/0x330 [ 56.619470] ? trace_hardirqs_on+0x310/0x310 [ 56.623868] ? video_usercopy+0x1760/0x1760 [ 56.628185] ? video_ioctl2+0x2c/0x33 [ 56.631974] ? v4l2_ioctl+0x15c/0x1b0 [ 56.635755] ? video_devdata+0xa0/0xa0 [ 56.639624] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 56.645145] ? do_vfs_ioctl+0x201/0x1790 [ 56.649195] ? rcu_lockdep_current_cpu_online+0x1a4/0x210 [ 56.654726] ? ioctl_preallocate+0x300/0x300 [ 56.659134] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 56.664687] ? __fget_light+0x2e9/0x430 [ 56.668654] ? fget_raw+0x20/0x20 [ 56.672118] ? rcu_read_lock_sched_held+0x14f/0x180 [ 56.677128] ? kmem_cache_free+0x24f/0x290 [ 56.681370] ? putname+0xf7/0x130 [ 56.684825] do_group_exit+0x177/0x440 [ 56.688701] ? trace_hardirqs_on+0xbd/0x310 [ 56.693012] ? __ia32_sys_exit+0x50/0x50 [ 56.697063] ? trace_hardirqs_off_caller+0x310/0x310 [ 56.702158] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 56.707683] ? ksys_ioctl+0x81/0xd0 [ 56.711297] __x64_sys_exit_group+0x3e/0x50 [ 56.715604] do_syscall_64+0x1b9/0x820 [ 56.719478] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 56.724829] ? syscall_return_slowpath+0x5e0/0x5e0 [ 56.729745] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 56.734576] ? trace_hardirqs_on_caller+0x310/0x310 [ 56.739579] ? prepare_exit_to_usermode+0x291/0x3b0 [ 56.744584] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 56.749411] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 56.754582] RIP: 0033:0x442c78 [ 56.757764] Code: Bad RIP value. [ 56.761115] RSP: 002b:00007fff4ac5a278 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 56.768820] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442c78 [ 56.776073] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 56.783345] RBP: 00000000004c2848 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 56.790598] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 56.797849] R13: 00000000006d4180 R14: 0000000000000000 R15: 0000000000000000 [ 56.806048] Kernel Offset: disabled [ 56.809674] Rebooting in 86400 seconds..