Warning: Permanently added '10.128.0.72' (ECDSA) to the list of known hosts. executing program [ 42.143715] audit: type=1400 audit(1541070913.875:36): avc: denied { map } for pid=5836 comm="syz-executor443" path="/root/syz-executor443338106" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 42.158612] ================================================================== [ 42.177410] BUG: KASAN: null-ptr-deref in refcount_sub_and_test_checked+0x9d/0x310 [ 42.185145] Read of size 4 at addr 0000000000000020 by task syz-executor443/5836 [ 42.192658] [ 42.194272] CPU: 1 PID: 5836 Comm: syz-executor443 Not tainted 4.19.0+ #92 [ 42.201297] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.210630] Call Trace: [ 42.213200] dump_stack+0x244/0x39d [ 42.216815] ? dump_stack_print_info.cold.1+0x20/0x20 [ 42.221989] ? __x64_sys_exit_group+0x3e/0x50 [ 42.226470] ? do_syscall_64+0x1b9/0x820 [ 42.230514] ? vprintk_func+0x85/0x181 [ 42.234392] kasan_report.cold.8+0x6d/0x309 [ 42.238706] ? refcount_sub_and_test_checked+0x9d/0x310 [ 42.244057] check_memory_region+0x13e/0x1b0 [ 42.248454] kasan_check_read+0x11/0x20 [ 42.252410] refcount_sub_and_test_checked+0x9d/0x310 [ 42.257585] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 42.262149] ? refcount_inc_not_zero_checked+0x2f0/0x2f0 [ 42.267586] ? vb2_vmalloc_put+0x5f/0x80 [ 42.271632] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.276722] ? __kasan_slab_free+0x119/0x150 [ 42.281119] refcount_dec_and_test_checked+0x1a/0x20 [ 42.286224] vb2_vmalloc_put+0x19/0x80 [ 42.290152] __vb2_buf_mem_free+0x112/0x210 [ 42.294460] ? vb2_vmalloc_get_dmabuf+0x300/0x300 [ 42.299289] __vb2_queue_free+0x830/0xa30 [ 42.303427] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.308953] ? __vb2_plane_dmabuf_put.isra.6+0x310/0x310 [ 42.314389] ? locks_remove_file+0x3c6/0x5c0 [ 42.318786] vb2_core_queue_release+0x62/0x80 [ 42.323265] _vb2_fop_release+0x1d2/0x2b0 [ 42.327400] ? _vb2_fop_release+0x2b0/0x2b0 [ 42.331705] ? dev_debug_store+0x140/0x140 [ 42.335924] vb2_fop_release+0x77/0xc0 [ 42.339794] v4l2_release+0xfb/0x1a0 [ 42.343492] __fput+0x385/0xa30 [ 42.346762] ? get_max_files+0x20/0x20 [ 42.350633] ? trace_hardirqs_on+0xbd/0x310 [ 42.354939] ? kasan_check_read+0x11/0x20 [ 42.359069] ? task_work_run+0x1af/0x2a0 [ 42.363118] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.368247] ____fput+0x15/0x20 [ 42.371513] task_work_run+0x1e8/0x2a0 [ 42.375389] ? task_work_cancel+0x240/0x240 [ 42.379732] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 42.385257] ? switch_task_namespaces+0x9d/0xd0 [ 42.389915] do_exit+0x1ad6/0x26d0 [ 42.393456] ? mm_update_next_owner+0x990/0x990 [ 42.398136] ? kvfree+0x66/0x70 [ 42.401399] ? video_usercopy+0x79b/0x1760 [ 42.405616] ? v4l_s_fmt+0x990/0x990 [ 42.409316] ? v4l_enumstd+0x70/0x70 [ 42.413009] ? rcu_softirq_qs+0x20/0x20 [ 42.416975] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.422498] ? avc_has_extended_perms+0xab2/0x15a0 [ 42.427421] ? avc_ss_reset+0x190/0x190 [ 42.431389] ? save_stack+0x43/0xd0 [ 42.435000] ? __kasan_slab_free+0x102/0x150 [ 42.439392] ? kasan_slab_free+0xe/0x10 [ 42.443348] ? kmem_cache_free+0x83/0x290 [ 42.447487] ? kasan_check_read+0x11/0x20 [ 42.451620] ? perf_trace_sched_process_exec+0x860/0x860 [ 42.457057] ? video_usercopy+0x1760/0x1760 [ 42.461358] ? video_ioctl2+0x2c/0x33 [ 42.465149] ? v4l2_ioctl+0x15c/0x1b0 [ 42.468935] ? video_devdata+0xa0/0xa0 [ 42.472804] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.478326] ? do_vfs_ioctl+0x201/0x1720 [ 42.482374] ? ioctl_preallocate+0x300/0x300 [ 42.486786] ? selinux_file_mprotect+0x620/0x620 [ 42.491528] ? rcu_read_lock_sched_held+0x14f/0x180 [ 42.496528] ? kmem_cache_free+0x19b/0x290 [ 42.500748] ? putname+0xf7/0x130 [ 42.504189] do_group_exit+0x177/0x440 [ 42.508065] ? trace_hardirqs_on+0xbd/0x310 [ 42.512375] ? __ia32_sys_exit+0x50/0x50 [ 42.516422] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.521508] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.527057] ? ksys_ioctl+0x81/0xd0 [ 42.530671] __x64_sys_exit_group+0x3e/0x50 [ 42.534982] do_syscall_64+0x1b9/0x820 [ 42.538852] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 42.544200] ? syscall_return_slowpath+0x5e0/0x5e0 [ 42.549121] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.553953] ? trace_hardirqs_on_caller+0x310/0x310 [ 42.558955] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 42.563968] ? prepare_exit_to_usermode+0x291/0x3b0 [ 42.568973] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.573802] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.578975] RIP: 0033:0x442ad8 [ 42.582157] Code: Bad RIP value. [ 42.585503] RSP: 002b:00007ffe7ae6e1d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 42.593192] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442ad8 [ 42.600443] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 42.607696] RBP: 00000000004c2788 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 42.614951] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 42.622202] R13: 00000000006d4180 R14: 0000000000000000 R15: 0000000000000000 [ 42.629464] ================================================================== [ 42.636804] Disabling lock debugging due to kernel taint [ 42.644380] Kernel panic - not syncing: panic_on_warn set ... [ 42.650270] CPU: 0 PID: 5836 Comm: syz-executor443 Tainted: G B 4.19.0+ #92 [ 42.658652] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.667985] Call Trace: [ 42.670598] dump_stack+0x244/0x39d [ 42.674210] ? dump_stack_print_info.cold.1+0x20/0x20 [ 42.679391] panic+0x2ad/0x55c [ 42.682564] ? add_taint.cold.5+0x16/0x16 [ 42.686698] ? preempt_schedule+0x4d/0x60 [ 42.690832] ? ___preempt_schedule+0x16/0x18 [ 42.695241] ? trace_hardirqs_on+0xb4/0x310 [ 42.699548] kasan_end_report+0x47/0x4f [ 42.703502] kasan_report.cold.8+0x76/0x309 [ 42.707812] ? refcount_sub_and_test_checked+0x9d/0x310 [ 42.713161] check_memory_region+0x13e/0x1b0 [ 42.717573] kasan_check_read+0x11/0x20 [ 42.721537] refcount_sub_and_test_checked+0x9d/0x310 [ 42.726846] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 42.731411] ? refcount_inc_not_zero_checked+0x2f0/0x2f0 [ 42.736847] ? vb2_vmalloc_put+0x5f/0x80 [ 42.740892] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.745977] ? __kasan_slab_free+0x119/0x150 [ 42.750375] refcount_dec_and_test_checked+0x1a/0x20 [ 42.755464] vb2_vmalloc_put+0x19/0x80 [ 42.759335] __vb2_buf_mem_free+0x112/0x210 [ 42.763639] ? vb2_vmalloc_get_dmabuf+0x300/0x300 [ 42.768460] __vb2_queue_free+0x830/0xa30 [ 42.772591] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.778122] ? __vb2_plane_dmabuf_put.isra.6+0x310/0x310 [ 42.783555] ? locks_remove_file+0x3c6/0x5c0 [ 42.787958] vb2_core_queue_release+0x62/0x80 [ 42.792445] _vb2_fop_release+0x1d2/0x2b0 [ 42.796574] ? _vb2_fop_release+0x2b0/0x2b0 [ 42.801000] ? dev_debug_store+0x140/0x140 [ 42.805221] vb2_fop_release+0x77/0xc0 [ 42.809105] v4l2_release+0xfb/0x1a0 [ 42.812806] __fput+0x385/0xa30 [ 42.816069] ? get_max_files+0x20/0x20 [ 42.819949] ? trace_hardirqs_on+0xbd/0x310 [ 42.824260] ? kasan_check_read+0x11/0x20 [ 42.828398] ? task_work_run+0x1af/0x2a0 [ 42.832443] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.837530] ____fput+0x15/0x20 [ 42.841312] task_work_run+0x1e8/0x2a0 [ 42.845181] ? task_work_cancel+0x240/0x240 [ 42.849608] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 42.855129] ? switch_task_namespaces+0x9d/0xd0 [ 42.859783] do_exit+0x1ad6/0x26d0 [ 42.863309] ? mm_update_next_owner+0x990/0x990 [ 42.867964] ? kvfree+0x66/0x70 [ 42.871224] ? video_usercopy+0x79b/0x1760 [ 42.875438] ? v4l_s_fmt+0x990/0x990 [ 42.879132] ? v4l_enumstd+0x70/0x70 [ 42.882827] ? rcu_softirq_qs+0x20/0x20 [ 42.886786] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.892319] ? avc_has_extended_perms+0xab2/0x15a0 [ 42.897254] ? avc_ss_reset+0x190/0x190 [ 42.901215] ? save_stack+0x43/0xd0 [ 42.904828] ? __kasan_slab_free+0x102/0x150 [ 42.909219] ? kasan_slab_free+0xe/0x10 [ 42.913181] ? kmem_cache_free+0x83/0x290 [ 42.917315] ? kasan_check_read+0x11/0x20 [ 42.921452] ? perf_trace_sched_process_exec+0x860/0x860 [ 42.926888] ? video_usercopy+0x1760/0x1760 [ 42.931191] ? video_ioctl2+0x2c/0x33 [ 42.934975] ? v4l2_ioctl+0x15c/0x1b0 [ 42.938764] ? video_devdata+0xa0/0xa0 [ 42.942636] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.948161] ? do_vfs_ioctl+0x201/0x1720 [ 42.952217] ? ioctl_preallocate+0x300/0x300 [ 42.956612] ? selinux_file_mprotect+0x620/0x620 [ 42.961356] ? rcu_read_lock_sched_held+0x14f/0x180 [ 42.966361] ? kmem_cache_free+0x19b/0x290 [ 42.970579] ? putname+0xf7/0x130 [ 42.974023] do_group_exit+0x177/0x440 [ 42.977899] ? trace_hardirqs_on+0xbd/0x310 [ 42.982202] ? __ia32_sys_exit+0x50/0x50 [ 42.986247] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.991331] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.996846] ? ksys_ioctl+0x81/0xd0 [ 43.000468] __x64_sys_exit_group+0x3e/0x50 [ 43.004770] do_syscall_64+0x1b9/0x820 [ 43.008647] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 43.014005] ? syscall_return_slowpath+0x5e0/0x5e0 [ 43.018926] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.023756] ? trace_hardirqs_on_caller+0x310/0x310 [ 43.028766] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 43.033771] ? prepare_exit_to_usermode+0x291/0x3b0 [ 43.038907] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.043861] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.049037] RIP: 0033:0x442ad8 [ 43.052219] Code: 74 65 20 70 69 64 2e 0a 00 52 53 59 53 4c 4f 47 5f 44 65 62 75 67 46 6f 72 6d 61 74 00 52 53 59 53 4c 4f 47 5f 46 69 6c 65 46 <6f> 72 6d 61 74 00 52 53 59 53 4c 4f 47 5f 54 72 61 64 69 74 69 6f [ 43.071219] RSP: 002b:00007ffe7ae6e1d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 43.078907] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442ad8 [ 43.086157] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 43.093576] RBP: 00000000004c2788 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 43.100826] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 43.108076] R13: 00000000006d4180 R14: 0000000000000000 R15: 0000000000000000 [ 43.116365] Kernel Offset: disabled [ 43.119990] Rebooting in 86400 seconds..