[ 36.869529][ T26] audit: type=1800 audit(1556894436.004:27): pid=7582 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 36.890168][ T26] audit: type=1800 audit(1556894436.004:28): pid=7582 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 37.848633][ T26] audit: type=1800 audit(1556894437.044:29): pid=7582 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 37.874732][ T26] audit: type=1800 audit(1556894437.044:30): pid=7582 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.63' (ECDSA) to the list of known hosts. syzkaller login: [ 49.234932][ T7739] IPVS: ftp: loaded support on port[0] = 21 [ 49.235559][ T7742] IPVS: ftp: loaded support on port[0] = 21 [ 49.253272][ T7744] IPVS: ftp: loaded support on port[0] = 21 [ 49.253692][ T7746] IPVS: ftp: loaded support on port[0] = 21 [ 49.265826][ T7745] IPVS: ftp: loaded support on port[0] = 21 [ 49.269671][ T7743] IPVS: ftp: loaded support on port[0] = 21 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 [ 49.717257][ T7762] ================================================================== [ 49.726005][ T7762] BUG: KASAN: use-after-free in __vb2_perform_fileio+0x1065/0x1140 [ 49.733908][ T7762] Read of size 4 at addr ffff88809287951c by task syz-executor099/7762 [ 49.742168][ T7762] [ 49.744501][ T7762] CPU: 1 PID: 7762 Comm: syz-executor099 Not tainted 5.1.0-rc7+ #98 [ 49.752466][ T7762] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.762514][ T7762] Call Trace: [ 49.765801][ T7762] dump_stack+0x172/0x1f0 [ 49.770124][ T7762] ? __vb2_perform_fileio+0x1065/0x1140 [ 49.775672][ T7762] print_address_description.cold+0x7c/0x20d [ 49.781654][ T7762] ? __vb2_perform_fileio+0x1065/0x1140 [ 49.787199][ T7762] ? __vb2_perform_fileio+0x1065/0x1140 [ 49.792748][ T7762] kasan_report.cold+0x1b/0x40 [ 49.797515][ T7762] ? __vb2_perform_fileio+0x1065/0x1140 [ 49.803068][ T7762] __asan_report_load4_noabort+0x14/0x20 [ 49.808688][ T7762] __vb2_perform_fileio+0x1065/0x1140 [ 49.814056][ T7762] ? aa_path_link+0x460/0x460 [ 49.818728][ T7762] ? vb2_thread_start+0x370/0x370 [ 49.823741][ T7762] ? fsnotify+0x811/0xbc0 [ 49.828063][ T7762] vb2_read+0x3b/0x50 [ 49.832039][ T7762] vb2_fop_read+0x212/0x410 [ 49.836587][ T7762] ? vb2_fop_write+0x410/0x410 [ 49.841340][ T7762] v4l2_read+0x1ce/0x230 [ 49.845660][ T7762] __vfs_read+0x8d/0x110 [ 49.849894][ T7762] ? v4l2_write+0x230/0x230 [ 49.854390][ T7762] vfs_read+0x194/0x3e0 [ 49.858535][ T7762] ksys_read+0x14f/0x2d0 [ 49.862781][ T7762] ? kernel_write+0x120/0x120 [ 49.867491][ T7762] ? do_syscall_64+0x26/0x610 [ 49.872193][ T7762] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.878405][ T7762] ? do_syscall_64+0x26/0x610 [ 49.883076][ T7762] __x64_sys_read+0x73/0xb0 [ 49.887568][ T7762] do_syscall_64+0x103/0x610 [ 49.892150][ T7762] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.898033][ T7762] RIP: 0033:0x445849 [ 49.901914][ T7762] Code: e8 8c 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 3b cc fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 49.921508][ T7762] RSP: 002b:00007ffd27b18118 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 49.929915][ T7762] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000445849 [ 49.937873][ T7762] RDX: 00000000000000f8 RSI: 0000000020000100 RDI: 0000000000000003 [ 49.945838][ T7762] RBP: 0000000000000000 R08: 0000000000000004 R09: 00000000bb1414ac [ 49.953824][ T7762] R10: 000000000000000f R11: 0000000000000246 R12: 000000000000c1f7 [ 49.961796][ T7762] R13: 00000000004029a0 R14: 0000000000000000 R15: 0000000000000000 [ 49.969760][ T7762] [ 49.972079][ T7762] Allocated by task 7762: [ 49.976394][ T7762] save_stack+0x45/0xd0 [ 49.980545][ T7762] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 49.986178][ T7762] kasan_kmalloc+0x9/0x10 [ 49.990522][ T7762] kmem_cache_alloc_trace+0x151/0x760 [ 49.995894][ T7762] __vb2_init_fileio+0x1cb/0xbe0 [ 50.000830][ T7762] __vb2_perform_fileio+0xc01/0x1140 [ 50.006116][ T7762] vb2_read+0x3b/0x50 [ 50.010100][ T7762] vb2_fop_read+0x212/0x410 [ 50.014604][ T7762] v4l2_read+0x1ce/0x230 [ 50.018835][ T7762] __vfs_read+0x8d/0x110 [ 50.023065][ T7762] vfs_read+0x194/0x3e0 [ 50.027214][ T7762] ksys_read+0x14f/0x2d0 [ 50.031458][ T7762] __x64_sys_read+0x73/0xb0 [ 50.035973][ T7762] do_syscall_64+0x103/0x610 [ 50.040552][ T7762] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.046445][ T7762] [ 50.048760][ T7762] Freed by task 7761: [ 50.052734][ T7762] save_stack+0x45/0xd0 [ 50.056877][ T7762] __kasan_slab_free+0x102/0x150 [ 50.061860][ T7762] kasan_slab_free+0xe/0x10 [ 50.066352][ T7762] kfree+0xcf/0x230 [ 50.070148][ T7762] __vb2_cleanup_fileio+0x100/0x170 [ 50.075333][ T7762] vb2_core_queue_release+0x20/0x80 [ 50.080516][ T7762] _vb2_fop_release+0x1cf/0x2a0 [ 50.085362][ T7762] vb2_fop_release+0x75/0xc0 [ 50.089986][ T7762] vivid_fop_release+0x18e/0x430 [ 50.095005][ T7762] v4l2_release+0x224/0x3a0 [ 50.099495][ T7762] __fput+0x2e5/0x8d0 [ 50.103463][ T7762] ____fput+0x16/0x20 [ 50.107431][ T7762] task_work_run+0x14a/0x1c0 [ 50.112023][ T7762] exit_to_usermode_loop+0x273/0x2c0 [ 50.117306][ T7762] do_syscall_64+0x52d/0x610 [ 50.121897][ T7762] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.127766][ T7762] [ 50.130086][ T7762] The buggy address belongs to the object at ffff888092879200 [ 50.130086][ T7762] which belongs to the cache kmalloc-1k of size 1024 [ 50.144123][ T7762] The buggy address is located 796 bytes inside of [ 50.144123][ T7762] 1024-byte region [ffff888092879200, ffff888092879600) [ 50.157458][ T7762] The buggy address belongs to the page: [ 50.163088][ T7762] page:ffffea00024a1e00 count:1 mapcount:0 mapping:ffff8880aa400ac0 index:0x0 compound_mapcount: 0 [ 50.173801][ T7762] flags: 0x1fffc0000010200(slab|head) [ 50.179208][ T7762] raw: 01fffc0000010200 ffffea0002348688 ffffea0002a58088 ffff8880aa400ac0 [ 50.187782][ T7762] raw: 0000000000000000 ffff888092878000 0000000100000007 0000000000000000 [ 50.196367][ T7762] page dumped because: kasan: bad access detected [ 50.202758][ T7762] [ 50.205073][ T7762] Memory state around the buggy address: [ 50.210689][ T7762] ffff888092879400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.218748][ T7762] ffff888092879480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.226798][ T7762] >ffff888092879500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.234848][ T7762] ^ [ 50.239701][ T7762] ffff888092879580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.247765][ T7762] ffff888092879600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 50.255822][ T7762] ================================================================== [ 50.263863][ T7762] Disabling lock debugging due to kernel taint [ 50.271217][ T7762] Kernel panic - not syncing: panic_on_warn set ... [ 50.277822][ T7762] CPU: 1 PID: 7762 Comm: syz-executor099 Tainted: G B 5.1.0-rc7+ #98 [ 50.287166][ T7762] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.297214][ T7762] Call Trace: [ 50.300523][ T7762] dump_stack+0x172/0x1f0 [ 50.304844][ T7762] panic+0x2cb/0x65c [ 50.308743][ T7762] ? __warn_printk+0xf3/0xf3 [ 50.313356][ T7762] ? __vb2_perform_fileio+0x1065/0x1140 [ 50.318907][ T7762] ? preempt_schedule+0x4b/0x60 [ 50.323784][ T7762] ? ___preempt_schedule+0x16/0x18 [ 50.328883][ T7762] ? trace_hardirqs_on+0x5e/0x230 [ 50.333895][ T7762] ? __vb2_perform_fileio+0x1065/0x1140 [ 50.339480][ T7762] end_report+0x47/0x4f [ 50.343625][ T7762] ? __vb2_perform_fileio+0x1065/0x1140 [ 50.349156][ T7762] kasan_report.cold+0xe/0x40 [ 50.353818][ T7762] ? __vb2_perform_fileio+0x1065/0x1140 [ 50.359348][ T7762] __asan_report_load4_noabort+0x14/0x20 [ 50.364987][ T7762] __vb2_perform_fileio+0x1065/0x1140 [ 50.370361][ T7762] ? aa_path_link+0x460/0x460 [ 50.375025][ T7762] ? vb2_thread_start+0x370/0x370 [ 50.380092][ T7762] ? fsnotify+0x811/0xbc0 [ 50.384426][ T7762] vb2_read+0x3b/0x50 [ 50.388396][ T7762] vb2_fop_read+0x212/0x410 [ 50.392886][ T7762] ? vb2_fop_write+0x410/0x410 [ 50.397633][ T7762] v4l2_read+0x1ce/0x230 [ 50.401864][ T7762] __vfs_read+0x8d/0x110 [ 50.406093][ T7762] ? v4l2_write+0x230/0x230 [ 50.410594][ T7762] vfs_read+0x194/0x3e0 [ 50.414760][ T7762] ksys_read+0x14f/0x2d0 [ 50.419005][ T7762] ? kernel_write+0x120/0x120 [ 50.423667][ T7762] ? do_syscall_64+0x26/0x610 [ 50.428329][ T7762] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.434382][ T7762] ? do_syscall_64+0x26/0x610 [ 50.439069][ T7762] __x64_sys_read+0x73/0xb0 [ 50.443575][ T7762] do_syscall_64+0x103/0x610 [ 50.448172][ T7762] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.454050][ T7762] RIP: 0033:0x445849 [ 50.457929][ T7762] Code: e8 8c 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 3b cc fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 50.477563][ T7762] RSP: 002b:00007ffd27b18118 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 50.485994][ T7762] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000445849 [ 50.493968][ T7762] RDX: 00000000000000f8 RSI: 0000000020000100 RDI: 0000000000000003 [ 50.501928][ T7762] RBP: 0000000000000000 R08: 0000000000000004 R09: 00000000bb1414ac [ 50.509906][ T7762] R10: 000000000000000f R11: 0000000000000246 R12: 000000000000c1f7 [ 50.517861][ T7762] R13: 00000000004029a0 R14: 0000000000000000 R15: 0000000000000000 [ 50.526816][ T7762] Kernel Offset: disabled [ 50.531144][ T7762] Rebooting in 86400 seconds..