Warning: Permanently added '10.128.1.86' (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 [ 28.541006] ================================================================== [ 28.549022] BUG: KASAN: use-after-free in __vb2_perform_fileio+0xce9/0xda0 [ 28.556213] Read of size 4 at addr ffff888096db999c by task syz-executor149/8002 [ 28.563984] [ 28.565681] CPU: 0 PID: 8002 Comm: syz-executor149 Not tainted 4.14.241-syzkaller #0 [ 28.574053] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.583654] Call Trace: [ 28.586230] dump_stack+0x1b2/0x281 [ 28.589936] print_address_description.cold+0x54/0x1d3 [ 28.595290] kasan_report_error.cold+0x8a/0x191 [ 28.600047] ? __vb2_perform_fileio+0xce9/0xda0 [ 28.604794] __asan_report_load4_noabort+0x68/0x70 [ 28.610132] ? __vb2_perform_fileio+0xce9/0xda0 [ 28.614949] __vb2_perform_fileio+0xce9/0xda0 [ 28.619582] ? __vb2_init_fileio+0xa90/0xa90 [ 28.624421] ? common_file_perm+0x3ee/0x580 [ 28.629026] vb2_fop_read+0x1ef/0x3d0 [ 28.633194] ? vb2_fop_write+0x3d0/0x3d0 [ 28.637551] v4l2_read+0x19a/0x200 [ 28.641539] do_iter_read+0x3eb/0x5b0 [ 28.645656] ? finish_mkwrite_fault+0x5e0/0x5e0 [ 28.650764] vfs_readv+0xc8/0x120 [ 28.654415] ? compat_rw_copy_check_uvector+0x320/0x320 [ 28.660084] ? lock_downgrade+0x740/0x740 [ 28.664554] SyS_preadv+0x15a/0x200 [ 28.668298] ? SyS_writev+0x30/0x30 [ 28.672011] ? __do_page_fault+0x159/0xad0 [ 28.676407] ? do_syscall_64+0x4c/0x640 [ 28.680363] ? SyS_writev+0x30/0x30 [ 28.684065] do_syscall_64+0x1d5/0x640 [ 28.688208] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.693881] RIP: 0033:0x444319 [ 28.697145] RSP: 002b:00007ffe726477d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 [ 28.705009] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000444319 [ 28.715500] RDX: 0000000000000006 RSI: 0000000020003dc0 RDI: 0000000000000003 [ 28.723018] RBP: 0000000000000000 R08: 0000000000007c7f R09: 0000000000000001 [ 28.730642] R10: 0000000000008284 R11: 0000000000000246 R12: 0000000000403580 [ 28.738949] R13: 0000000000000000 R14: 00007ffe72647800 R15: 00007ffe726477f0 [ 28.746215] [ 28.747834] Allocated by task 8002: [ 28.751452] kasan_kmalloc+0xeb/0x160 [ 28.755239] kmem_cache_alloc_trace+0x131/0x3d0 [ 28.759899] __vb2_init_fileio+0x17f/0xa90 [ 28.764122] __vb2_perform_fileio+0x993/0xda0 [ 28.768604] vb2_fop_read+0x1ef/0x3d0 [ 28.772437] v4l2_read+0x19a/0x200 [ 28.775980] do_iter_read+0x3eb/0x5b0 [ 28.779770] vfs_readv+0xc8/0x120 [ 28.783207] SyS_preadv+0x15a/0x200 [ 28.787063] do_syscall_64+0x1d5/0x640 [ 28.790952] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.796213] [ 28.797826] Freed by task 8001: [ 28.801302] kasan_slab_free+0xc3/0x1a0 [ 28.805377] kfree+0xc9/0x250 [ 28.808479] __vb2_cleanup_fileio+0xf5/0x150 [ 28.813040] vb2_core_queue_release+0x17/0x70 [ 28.817529] _vb2_fop_release+0x1c1/0x280 [ 28.821678] vivid_fop_release+0x17d/0x6c0 [ 28.826479] v4l2_release+0xf4/0x190 [ 28.830190] __fput+0x25f/0x7a0 [ 28.833548] task_work_run+0x11f/0x190 [ 28.837596] do_exit+0xa44/0x2850 [ 28.841133] do_group_exit+0x100/0x2e0 [ 28.845208] SyS_exit_group+0x19/0x20 [ 28.849261] do_syscall_64+0x1d5/0x640 [ 28.853309] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.858484] [ 28.860107] The buggy address belongs to the object at ffff888096db9680 [ 28.860107] which belongs to the cache kmalloc-1024 of size 1024 [ 28.873457] The buggy address is located 796 bytes inside of [ 28.873457] 1024-byte region [ffff888096db9680, ffff888096db9a80) [ 28.885532] The buggy address belongs to the page: [ 28.890453] page:ffffea00025b6e00 count:1 mapcount:0 mapping:ffff888096db8000 index:0xffff888096db8000 compound_mapcount: 0 [ 28.901830] flags: 0xfff00000008100(slab|head) [ 28.906610] raw: 00fff00000008100 ffff888096db8000 ffff888096db8000 0000000100000004 [ 28.914503] raw: ffffea0002d4a120 ffffea0002d45620 ffff88813fe80ac0 0000000000000000 [ 28.922608] page dumped because: kasan: bad access detected [ 28.928296] [ 28.929902] Memory state around the buggy address: [ 28.935124] ffff888096db9880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.942751] ffff888096db9900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.950279] >ffff888096db9980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.957904] ^ [ 28.962062] ffff888096db9a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.969410] ffff888096db9a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.978401] ================================================================== [ 28.985742] Disabling lock debugging due to kernel taint [ 28.993780] Kernel panic - not syncing: panic_on_warn set ... [ 28.993780] [ 29.001268] CPU: 0 PID: 8002 Comm: syz-executor149 Tainted: G B 4.14.241-syzkaller #0 [ 29.010475] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.019922] Call Trace: [ 29.022502] dump_stack+0x1b2/0x281 [ 29.026546] panic+0x1f9/0x42d [ 29.029817] ? add_taint.cold+0x16/0x16 [ 29.033904] ? ___preempt_schedule+0x16/0x18 [ 29.038296] kasan_end_report+0x43/0x49 [ 29.042349] kasan_report_error.cold+0xa7/0x191 [ 29.047039] ? __vb2_perform_fileio+0xce9/0xda0 [ 29.052073] __asan_report_load4_noabort+0x68/0x70 [ 29.056994] ? __vb2_perform_fileio+0xce9/0xda0 [ 29.061650] __vb2_perform_fileio+0xce9/0xda0 [ 29.066135] ? __vb2_init_fileio+0xa90/0xa90 [ 29.070531] ? common_file_perm+0x3ee/0x580 [ 29.074837] vb2_fop_read+0x1ef/0x3d0 [ 29.078760] ? vb2_fop_write+0x3d0/0x3d0 [ 29.082886] v4l2_read+0x19a/0x200 [ 29.086410] do_iter_read+0x3eb/0x5b0 [ 29.090219] ? finish_mkwrite_fault+0x5e0/0x5e0 [ 29.095086] vfs_readv+0xc8/0x120 [ 29.098524] ? compat_rw_copy_check_uvector+0x320/0x320 [ 29.103963] ? lock_downgrade+0x740/0x740 [ 29.108458] SyS_preadv+0x15a/0x200 [ 29.112077] ? SyS_writev+0x30/0x30 [ 29.115945] ? __do_page_fault+0x159/0xad0 [ 29.120443] ? do_syscall_64+0x4c/0x640 [ 29.125306] ? SyS_writev+0x30/0x30 [ 29.129211] do_syscall_64+0x1d5/0x640 [ 29.133182] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.138530] RIP: 0033:0x444319 [ 29.141963] RSP: 002b:00007ffe726477d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 [ 29.149898] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000444319 [ 29.157348] RDX: 0000000000000006 RSI: 0000000020003dc0 RDI: 0000000000000003 [ 29.164686] RBP: 0000000000000000 R08: 0000000000007c7f R09: 0000000000000001 [ 29.173340] R10: 0000000000008284 R11: 0000000000000246 R12: 0000000000403580 [ 29.180959] R13: 0000000000000000 R14: 00007ffe72647800 R15: 00007ffe726477f0 [ 29.191076] Kernel Offset: disabled [ 29.194810] Rebooting in 86400 seconds..