Warning: Permanently added '10.128.0.167' (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 [ 28.483393] ================================================================== [ 28.490840] BUG: KASAN: use-after-free in __vb2_perform_fileio+0xce9/0xda0 [ 28.497840] Read of size 4 at addr ffff8880b3d8799c by task syz-executor191/7998 [ 28.505349] [ 28.506966] CPU: 1 PID: 7998 Comm: syz-executor191 Not tainted 4.14.302-syzkaller #0 [ 28.514824] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 28.524154] Call Trace: [ 28.526724] dump_stack+0x1b2/0x281 [ 28.530331] print_address_description.cold+0x54/0x1d3 [ 28.535588] kasan_report_error.cold+0x8a/0x191 [ 28.540247] ? __vb2_perform_fileio+0xce9/0xda0 [ 28.544893] __asan_report_load4_noabort+0x68/0x70 [ 28.549819] ? __vb2_perform_fileio+0xce9/0xda0 [ 28.554475] __vb2_perform_fileio+0xce9/0xda0 [ 28.558966] ? __vb2_init_fileio+0xa90/0xa90 [ 28.563361] ? common_file_perm+0x3ee/0x580 [ 28.567665] vb2_fop_read+0x1ef/0x3d0 [ 28.571447] ? vb2_fop_write+0x3d0/0x3d0 [ 28.575485] v4l2_read+0x19a/0x200 [ 28.579035] do_iter_read+0x3eb/0x5b0 [ 28.582827] ? finish_mkwrite_fault+0x5e0/0x5e0 [ 28.587480] vfs_readv+0xc8/0x120 [ 28.590914] ? compat_rw_copy_check_uvector+0x320/0x320 [ 28.596262] ? lock_downgrade+0x740/0x740 [ 28.600394] SyS_preadv+0x15a/0x200 [ 28.604023] ? SyS_writev+0x30/0x30 [ 28.607633] ? __do_page_fault+0x159/0xad0 [ 28.611845] ? do_syscall_64+0x4c/0x640 [ 28.615797] ? SyS_writev+0x30/0x30 [ 28.619398] do_syscall_64+0x1d5/0x640 [ 28.623268] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 28.628435] RIP: 0033:0x7f547998e479 [ 28.632120] RSP: 002b:00007ffe6bd374a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 [ 28.639803] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f547998e479 [ 28.647050] RDX: 0000000000000004 RSI: 0000000020000600 RDI: 0000000000000003 [ 28.654820] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 [ 28.662072] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000006f3a [ 28.669322] R13: 00007ffe6bd374bc R14: 00007ffe6bd374d0 R15: 00007ffe6bd374c0 [ 28.676574] [ 28.678180] Allocated by task 7998: [ 28.681785] kasan_kmalloc+0xeb/0x160 [ 28.685564] kmem_cache_alloc_trace+0x131/0x3d0 [ 28.690209] __vb2_init_fileio+0x17f/0xa90 [ 28.694420] __vb2_perform_fileio+0x993/0xda0 [ 28.698890] vb2_fop_read+0x1ef/0x3d0 [ 28.702667] v4l2_read+0x19a/0x200 [ 28.706183] do_iter_read+0x3eb/0x5b0 [ 28.709982] vfs_readv+0xc8/0x120 [ 28.713419] SyS_preadv+0x15a/0x200 [ 28.717030] do_syscall_64+0x1d5/0x640 [ 28.720897] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 28.726057] [ 28.727667] Freed by task 7997: [ 28.730926] kasan_slab_free+0xc3/0x1a0 [ 28.734875] kfree+0xc9/0x250 [ 28.737961] __vb2_cleanup_fileio+0xf5/0x150 [ 28.742352] vb2_core_queue_release+0x17/0x70 [ 28.746825] _vb2_fop_release+0x1c1/0x280 [ 28.750952] vivid_fop_release+0x17d/0x6c0 [ 28.755164] v4l2_release+0xf4/0x190 [ 28.758859] __fput+0x25f/0x7a0 [ 28.762111] task_work_run+0x11f/0x190 [ 28.765973] do_exit+0xa44/0x2850 [ 28.769399] do_group_exit+0x100/0x2e0 [ 28.773264] SyS_exit_group+0x19/0x20 [ 28.777045] do_syscall_64+0x1d5/0x640 [ 28.780914] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 28.786074] [ 28.787680] The buggy address belongs to the object at ffff8880b3d87680 [ 28.787680] which belongs to the cache kmalloc-1024 of size 1024 [ 28.800486] The buggy address is located 796 bytes inside of [ 28.800486] 1024-byte region [ffff8880b3d87680, ffff8880b3d87a80) [ 28.812434] The buggy address belongs to the page: [ 28.817343] page:ffffea0002cf6180 count:1 mapcount:0 mapping:ffff8880b3d86000 index:0x0 compound_mapcount: 0 [ 28.827288] flags: 0xfff00000008100(slab|head) [ 28.831849] raw: 00fff00000008100 ffff8880b3d86000 0000000000000000 0000000100000007 [ 28.839791] raw: ffffea00025816a0 ffffea000259a220 ffff88813fe74ac0 0000000000000000 [ 28.847647] page dumped because: kasan: bad access detected [ 28.853331] [ 28.854932] Memory state around the buggy address: [ 28.859835] ffff8880b3d87880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.867185] ffff8880b3d87900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.874539] >ffff8880b3d87980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.881880] ^ [ 28.886011] ffff8880b3d87a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.893347] ffff8880b3d87a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.900695] ================================================================== [ 28.908035] Disabling lock debugging due to kernel taint [ 28.914500] Kernel panic - not syncing: panic_on_warn set ... [ 28.914500] [ 28.921865] CPU: 1 PID: 7998 Comm: syz-executor191 Tainted: G B 4.14.302-syzkaller #0 [ 28.930953] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 28.940295] Call Trace: [ 28.942870] dump_stack+0x1b2/0x281 [ 28.946479] panic+0x1f9/0x42d [ 28.949655] ? add_taint.cold+0x16/0x16 [ 28.953603] ? ___preempt_schedule+0x16/0x18 [ 28.957988] kasan_end_report+0x43/0x49 [ 28.961935] kasan_report_error.cold+0xa7/0x191 [ 28.966582] ? __vb2_perform_fileio+0xce9/0xda0 [ 28.971224] __asan_report_load4_noabort+0x68/0x70 [ 28.976129] ? __vb2_perform_fileio+0xce9/0xda0 [ 28.980779] __vb2_perform_fileio+0xce9/0xda0 [ 28.985253] ? __vb2_init_fileio+0xa90/0xa90 [ 28.989638] ? common_file_perm+0x3ee/0x580 [ 28.993934] vb2_fop_read+0x1ef/0x3d0 [ 28.997710] ? vb2_fop_write+0x3d0/0x3d0 [ 29.001746] v4l2_read+0x19a/0x200 [ 29.005262] do_iter_read+0x3eb/0x5b0 [ 29.009036] ? finish_mkwrite_fault+0x5e0/0x5e0 [ 29.013678] vfs_readv+0xc8/0x120 [ 29.017104] ? compat_rw_copy_check_uvector+0x320/0x320 [ 29.022448] ? lock_downgrade+0x740/0x740 [ 29.026578] SyS_preadv+0x15a/0x200 [ 29.030182] ? SyS_writev+0x30/0x30 [ 29.033783] ? __do_page_fault+0x159/0xad0 [ 29.037991] ? do_syscall_64+0x4c/0x640 [ 29.041939] ? SyS_writev+0x30/0x30 [ 29.045544] do_syscall_64+0x1d5/0x640 [ 29.049417] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 29.054588] RIP: 0033:0x7f547998e479 [ 29.058275] RSP: 002b:00007ffe6bd374a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 [ 29.065957] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f547998e479 [ 29.073206] RDX: 0000000000000004 RSI: 0000000020000600 RDI: 0000000000000003 [ 29.080457] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 [ 29.087711] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000006f3a [ 29.094969] R13: 00007ffe6bd374bc R14: 00007ffe6bd374d0 R15: 00007ffe6bd374c0 [ 29.102418] Kernel Offset: disabled [ 29.106027] Rebooting in 86400 seconds..