[info] Using makefile-style concurrent boot in runlevel 2. [ 24.509249] audit: type=1800 audit(1541904258.161:21): pid=5783 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="bootlogs" dev="sda1" ino=2419 res=0 [ 24.533341] audit: type=1800 audit(1541904258.161:22): pid=5783 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="motd" dev="sda1" ino=2447 res=0 [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.109' (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 syzkaller login: [ 54.737222] ================================================================== [ 54.744756] BUG: KASAN: use-after-free in vb2_mmap+0x662/0x6f0 [ 54.750718] Read of size 8 at addr ffff8801cb68a940 by task syz-executor550/5964 [ 54.758286] [ 54.759916] CPU: 1 PID: 5964 Comm: syz-executor550 Not tainted 4.20.0-rc1+ #330 [ 54.767354] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 54.777041] Call Trace: [ 54.779631] dump_stack+0x244/0x39d [ 54.783250] ? dump_stack_print_info.cold.1+0x20/0x20 [ 54.788438] ? printk+0xa7/0xcf [ 54.791705] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 54.796460] print_address_description.cold.7+0x9/0x1ff [ 54.801824] kasan_report.cold.8+0x242/0x309 [ 54.806219] ? vb2_mmap+0x662/0x6f0 [ 54.809847] __asan_report_load8_noabort+0x14/0x20 [ 54.814763] vb2_mmap+0x662/0x6f0 [ 54.818214] ? vb2_poll+0x1d0/0x1d0 [ 54.821828] vb2_fop_mmap+0x4b/0x70 [ 54.825454] v4l2_mmap+0x153/0x200 [ 54.828981] mmap_region+0xe85/0x1cd0 [ 54.832769] ? __x64_sys_brk+0x8b0/0x8b0 [ 54.836816] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 54.842078] ? rcu_softirq_qs+0x20/0x20 [ 54.846045] ? mpx_unmapped_area_check+0xd8/0x108 [ 54.850874] ? refcount_inc_not_zero_checked+0x2f0/0x2f0 [ 54.856314] ? arch_get_unmapped_area+0x750/0x750 [ 54.861146] ? lock_acquire+0x1ed/0x520 [ 54.865111] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 54.870114] ? cap_mmap_addr+0x52/0x130 [ 54.874074] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.879597] ? security_mmap_addr+0x80/0xa0 [ 54.883905] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 54.889436] ? get_unmapped_area+0x292/0x3b0 [ 54.893841] do_mmap+0xa22/0x1230 [ 54.897297] ? mmap_region+0x1cd0/0x1cd0 [ 54.901357] ? vm_mmap_pgoff+0x1b5/0x2c0 [ 54.905404] ? down_read_killable+0x150/0x150 [ 54.909884] ? security_mmap_file+0x174/0x1b0 [ 54.914365] vm_mmap_pgoff+0x213/0x2c0 [ 54.918245] ? vma_is_stack_for_current+0xd0/0xd0 [ 54.923074] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.928605] ? __fget_light+0x2e9/0x430 [ 54.932574] ? fget_raw+0x20/0x20 [ 54.936012] ? up_read+0x225/0x2c0 [ 54.939542] ksys_mmap_pgoff+0x4da/0x660 [ 54.943589] ? do_syscall_64+0x9a/0x820 [ 54.947562] ? find_mergeable_anon_vma+0xd0/0xd0 [ 54.952329] ? trace_hardirqs_on+0xbd/0x310 [ 54.956642] ? security_file_ioctl+0x94/0xc0 [ 54.961050] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 54.966410] ? trace_hardirqs_off_caller+0x310/0x310 [ 54.971506] __x64_sys_mmap+0xe9/0x1b0 [ 54.975382] do_syscall_64+0x1b9/0x820 [ 54.979255] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 54.984603] ? syscall_return_slowpath+0x5e0/0x5e0 [ 54.989519] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 54.994349] ? trace_hardirqs_on_caller+0x310/0x310 [ 54.999346] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 55.004346] ? prepare_exit_to_usermode+0x291/0x3b0 [ 55.009355] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 55.014188] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 55.019360] RIP: 0033:0x444c89 [ 55.022544] Code: e8 ac 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 2b ce fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 55.041551] RSP: 002b:00007ffd22065ad8 EFLAGS: 00000216 ORIG_RAX: 0000000000000009 [ 55.049282] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000444c89 [ 55.056533] RDX: fffffffffffffffd RSI: 0000000000002000 RDI: 0000000020ffe000 [ 55.063783] RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000000 [ 55.071033] R10: 0000000000000011 R11: 0000000000000216 R12: 000000000000d5b5 [ 55.078283] R13: 0000000000401fd0 R14: 0000000000000000 R15: 0000000000000000 [ 55.085545] [ 55.087163] Allocated by task 5963: [ 55.090794] save_stack+0x43/0xd0 [ 55.094232] kasan_kmalloc+0xc7/0xe0 [ 55.097925] __kmalloc+0x15b/0x760 [ 55.101458] __vb2_queue_alloc+0xf7/0xf90 [ 55.105598] vb2_core_create_bufs+0x401/0x8c0 [ 55.110074] vb2_create_bufs+0x3c6/0x7f0 [ 55.114121] vb2_ioctl_create_bufs+0x25e/0x3d0 [ 55.118691] v4l_create_bufs+0x152/0x230 [ 55.122740] __video_do_ioctl+0x8b1/0x1050 [ 55.126962] video_usercopy+0x5c1/0x1760 [ 55.131005] video_ioctl2+0x2c/0x33 [ 55.134613] v4l2_ioctl+0x154/0x1b0 [ 55.138226] do_vfs_ioctl+0x1de/0x1790 [ 55.142096] ksys_ioctl+0xa9/0xd0 [ 55.145528] __x64_sys_ioctl+0x73/0xb0 [ 55.149409] do_syscall_64+0x1b9/0x820 [ 55.153294] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 55.158460] [ 55.160069] Freed by task 5963: [ 55.163334] save_stack+0x43/0xd0 [ 55.166771] __kasan_slab_free+0x102/0x150 [ 55.170989] kasan_slab_free+0xe/0x10 [ 55.174775] kfree+0xcf/0x230 [ 55.177866] __vb2_queue_free+0x5e2/0xa30 [ 55.181999] vb2_core_queue_release+0x62/0x80 [ 55.186475] _vb2_fop_release+0x1d2/0x2b0 [ 55.190607] vb2_fop_release+0x77/0xc0 [ 55.194490] vivid_fop_release+0x18e/0x440 [ 55.198705] v4l2_release+0x224/0x3a0 [ 55.202487] __fput+0x385/0xa30 [ 55.205746] ____fput+0x15/0x20 [ 55.209009] task_work_run+0x1e8/0x2a0 [ 55.212880] do_exit+0x1ad6/0x26d0 [ 55.216403] do_group_exit+0x177/0x440 [ 55.220276] __x64_sys_exit_group+0x3e/0x50 [ 55.224578] do_syscall_64+0x1b9/0x820 [ 55.228456] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 55.233622] [ 55.235233] The buggy address belongs to the object at ffff8801cb68a940 [ 55.235233] which belongs to the cache kmalloc-1k of size 1024 [ 55.247888] The buggy address is located 0 bytes inside of [ 55.247888] 1024-byte region [ffff8801cb68a940, ffff8801cb68ad40) [ 55.259656] The buggy address belongs to the page: [ 55.264567] page:ffffea00072da280 count:1 mapcount:0 mapping:ffff8801da800ac0 index:0x0 compound_mapcount: 0 [ 55.274514] flags: 0x2fffc0000010200(slab|head) [ 55.279170] raw: 02fffc0000010200 ffffea0007072708 ffffea0006d48d08 ffff8801da800ac0 [ 55.287034] raw: 0000000000000000 ffff8801cb68a040 0000000100000007 0000000000000000 [ 55.294893] page dumped because: kasan: bad access detected [ 55.300579] [ 55.302203] Memory state around the buggy address: [ 55.307125] ffff8801cb68a800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.314474] ffff8801cb68a880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 55.321817] >ffff8801cb68a900: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 55.329156] ^ executing program [ 55.334587] ffff8801cb68a980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.341929] ffff8801cb68aa00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.349276] ================================================================== [ 55.356612] Disabling lock debugging due to kernel taint [ 55.365766] Kernel panic - not syncing: panic_on_warn set ... [ 55.371652] CPU: 1 PID: 5964 Comm: syz-executor550 Tainted: G B 4.20.0-rc1+ #330 [ 55.380463] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 55.389798] Call Trace: [ 55.392378] dump_stack+0x244/0x39d [ 55.395989] ? dump_stack_print_info.cold.1+0x20/0x20 [ 55.401168] panic+0x2ad/0x55c [ 55.404357] ? add_taint.cold.5+0x16/0x16 [ 55.408496] ? preempt_schedule+0x4d/0x60 [ 55.412630] ? ___preempt_schedule+0x16/0x18 [ 55.417024] ? trace_hardirqs_on+0xb4/0x310 [ 55.421336] kasan_end_report+0x47/0x4f [ 55.425296] kasan_report.cold.8+0x76/0x309 [ 55.429602] ? vb2_mmap+0x662/0x6f0 [ 55.433216] __asan_report_load8_noabort+0x14/0x20 [ 55.438135] vb2_mmap+0x662/0x6f0 [ 55.441576] ? vb2_poll+0x1d0/0x1d0 [ 55.445183] vb2_fop_mmap+0x4b/0x70 [ 55.448797] v4l2_mmap+0x153/0x200 [ 55.452322] mmap_region+0xe85/0x1cd0 [ 55.456124] ? __x64_sys_brk+0x8b0/0x8b0 [ 55.460177] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 55.465441] ? rcu_softirq_qs+0x20/0x20 [ 55.469402] ? mpx_unmapped_area_check+0xd8/0x108 [ 55.474235] ? refcount_inc_not_zero_checked+0x2f0/0x2f0 [ 55.479671] ? arch_get_unmapped_area+0x750/0x750 [ 55.484496] ? lock_acquire+0x1ed/0x520 [ 55.488453] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 55.493457] ? cap_mmap_addr+0x52/0x130 [ 55.497414] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 55.502934] ? security_mmap_addr+0x80/0xa0 [ 55.507241] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 55.512765] ? get_unmapped_area+0x292/0x3b0 [ 55.517159] do_mmap+0xa22/0x1230 [ 55.520598] ? mmap_region+0x1cd0/0x1cd0 [ 55.524644] ? vm_mmap_pgoff+0x1b5/0x2c0 [ 55.528696] ? down_read_killable+0x150/0x150 [ 55.533175] ? security_mmap_file+0x174/0x1b0 [ 55.537653] vm_mmap_pgoff+0x213/0x2c0 [ 55.541543] ? vma_is_stack_for_current+0xd0/0xd0 [ 55.546402] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 55.552023] ? __fget_light+0x2e9/0x430 [ 55.555980] ? fget_raw+0x20/0x20 [ 55.559416] ? up_read+0x225/0x2c0 [ 55.562940] ksys_mmap_pgoff+0x4da/0x660 [ 55.566982] ? do_syscall_64+0x9a/0x820 [ 55.570940] ? find_mergeable_anon_vma+0xd0/0xd0 [ 55.575680] ? trace_hardirqs_on+0xbd/0x310 [ 55.579982] ? security_file_ioctl+0x94/0xc0 [ 55.584387] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 55.589737] ? trace_hardirqs_off_caller+0x310/0x310 [ 55.594826] __x64_sys_mmap+0xe9/0x1b0 [ 55.598698] do_syscall_64+0x1b9/0x820 [ 55.602568] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 55.607918] ? syscall_return_slowpath+0x5e0/0x5e0 [ 55.613058] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 55.617895] ? trace_hardirqs_on_caller+0x310/0x310 [ 55.622904] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 55.627908] ? prepare_exit_to_usermode+0x291/0x3b0 [ 55.632955] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 55.637795] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 55.642966] RIP: 0033:0x444c89 [ 55.646146] Code: e8 ac 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 2b ce fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 55.665030] RSP: 002b:00007ffd22065ad8 EFLAGS: 00000216 ORIG_RAX: 0000000000000009 [ 55.672722] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000444c89 [ 55.680237] RDX: fffffffffffffffd RSI: 0000000000002000 RDI: 0000000020ffe000 [ 55.687495] RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000000 [ 55.694748] R10: 0000000000000011 R11: 0000000000000216 R12: 000000000000d5b5 [ 55.702004] R13: 0000000000401fd0 R14: 0000000000000000 R15: 0000000000000000 [ 55.710216] Kernel Offset: disabled [ 55.713841] Rebooting in 86400 seconds..