[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 58.274820][ T26] audit: type=1800 audit(1575357213.129:25): pid=8856 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 58.294746][ T26] audit: type=1800 audit(1575357213.129:26): pid=8856 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 58.340611][ T26] audit: type=1800 audit(1575357213.129:27): pid=8856 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 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. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.1.45' (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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 80.164594][ T9470] ================================================================== [ 80.164645][ T9470] BUG: KASAN: use-after-free in con_shutdown+0x85/0x90 [ 80.164656][ T9470] Write of size 8 at addr ffff88809b797108 by task syz-executor613/9470 [ 80.164659][ T9470] [ 80.164673][ T9470] CPU: 0 PID: 9470 Comm: syz-executor613 Not tainted 5.4.0-syzkaller #0 [ 80.164680][ T9470] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 80.164684][ T9470] Call Trace: [ 80.164704][ T9470] dump_stack+0x197/0x210 [ 80.164716][ T9470] ? con_shutdown+0x85/0x90 [ 80.164734][ T9470] print_address_description.constprop.0.cold+0xd4/0x30b [ 80.164743][ T9470] ? con_shutdown+0x85/0x90 [ 80.164753][ T9470] ? con_shutdown+0x85/0x90 [ 80.164766][ T9470] __kasan_report.cold+0x1b/0x41 [ 80.164779][ T9470] ? con_shutdown+0x85/0x90 [ 80.164794][ T9470] kasan_report+0x12/0x20 [ 80.164808][ T9470] __asan_report_store8_noabort+0x17/0x20 [ 80.164819][ T9470] con_shutdown+0x85/0x90 [ 80.164829][ T9470] ? update_region+0x150/0x150 [ 80.164841][ T9470] release_tty+0xd3/0x470 [ 80.164856][ T9470] tty_release_struct+0x3c/0x50 [ 80.164868][ T9470] tty_release+0xbcb/0xe90 [ 80.164891][ T9470] __fput+0x2ff/0x890 [ 80.164906][ T9470] ? do_tty_hangup+0x30/0x30 [ 80.164920][ T9470] ____fput+0x16/0x20 [ 80.164936][ T9470] task_work_run+0x145/0x1c0 [ 80.164957][ T9470] do_exit+0x8e7/0x2ef0 [ 80.164979][ T9470] ? mm_update_next_owner+0x7c0/0x7c0 [ 80.164995][ T9470] ? down_read_non_owner+0x490/0x490 [ 80.165011][ T9470] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 80.165025][ T9470] ? handle_mm_fault+0x4ab/0xa50 [ 80.165043][ T9470] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 80.165056][ T9470] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 80.165073][ T9470] do_group_exit+0x135/0x360 [ 80.165090][ T9470] __x64_sys_exit_group+0x44/0x50 [ 80.165104][ T9470] do_syscall_64+0xfa/0x790 [ 80.165123][ T9470] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 80.165134][ T9470] RIP: 0033:0x443c38 [ 80.165147][ T9470] Code: 00 00 be 3c 00 00 00 eb 19 66 0f 1f 84 00 00 00 00 00 48 89 d7 89 f0 0f 05 48 3d 00 f0 ff ff 77 21 f4 48 89 d7 44 89 c0 0f 05 <48> 3d 00 f0 ff ff 76 e0 f7 d8 64 41 89 01 eb d8 0f 1f 84 00 00 00 [ 80.165154][ T9470] RSP: 002b:00007ffd7eba55f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 80.165166][ T9470] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000443c38 [ 80.165174][ T9470] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 80.165181][ T9470] RBP: 00000000004c37b0 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 80.165188][ T9470] R10: 000000000000000f R11: 0000000000000246 R12: 0000000000000001 [ 80.165196][ T9470] R13: 00000000006d5180 R14: 0000000000000000 R15: 0000000000000000 [ 80.165213][ T9470] [ 80.165219][ T9470] Allocated by task 9465: [ 80.165230][ T9470] save_stack+0x23/0x90 [ 80.165241][ T9470] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 80.165249][ T9470] kasan_kmalloc+0x9/0x10 [ 80.165263][ T9470] kmem_cache_alloc_trace+0x158/0x790 [ 80.165273][ T9470] vc_allocate+0x1fc/0x760 [ 80.165283][ T9470] con_install+0x52/0x410 [ 80.165293][ T9470] tty_init_dev+0xf7/0x460 [ 80.165302][ T9470] tty_open+0x4a5/0xbb0 [ 80.165314][ T9470] chrdev_open+0x245/0x6b0 [ 80.165328][ T9470] do_dentry_open+0x4e6/0x1380 [ 80.165337][ T9470] vfs_open+0xa0/0xd0 [ 80.165351][ T9470] path_openat+0x10e4/0x4710 [ 80.165362][ T9470] do_filp_open+0x1a1/0x280 [ 80.165371][ T9470] do_sys_open+0x3fe/0x5d0 [ 80.165387][ T9470] __x64_sys_open+0x7e/0xc0 [ 80.165398][ T9470] do_syscall_64+0xfa/0x790 [ 80.165410][ T9470] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 80.165414][ T9470] [ 80.165419][ T9470] Freed by task 9471: [ 80.165428][ T9470] save_stack+0x23/0x90 [ 80.165439][ T9470] __kasan_slab_free+0x102/0x150 [ 80.165449][ T9470] kasan_slab_free+0xe/0x10 [ 80.165462][ T9470] kfree+0x10a/0x2c0 [ 80.165475][ T9470] vt_disallocate_all+0x2bd/0x3e0 [ 80.165486][ T9470] vt_ioctl+0xc38/0x26d0 [ 80.165496][ T9470] tty_ioctl+0xa37/0x14f0 [ 80.165508][ T9470] do_vfs_ioctl+0xdb6/0x13e0 [ 80.165519][ T9470] ksys_ioctl+0xab/0xd0 [ 80.165529][ T9470] __x64_sys_ioctl+0x73/0xb0 [ 80.165542][ T9470] do_syscall_64+0xfa/0x790 [ 80.165555][ T9470] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 80.165559][ T9470] [ 80.165567][ T9470] The buggy address belongs to the object at ffff88809b797000 [ 80.165567][ T9470] which belongs to the cache kmalloc-2k of size 2048 [ 80.165578][ T9470] The buggy address is located 264 bytes inside of [ 80.165578][ T9470] 2048-byte region [ffff88809b797000, ffff88809b797800) [ 80.165582][ T9470] The buggy address belongs to the page: [ 80.165595][ T9470] page:ffffea00026de5c0 refcount:1 mapcount:0 mapping:ffff8880aa400e00 index:0x0 [ 80.165613][ T9470] raw: 00fffe0000000200 ffffea00025c8248 ffffea00023a9a88 ffff8880aa400e00 [ 80.165628][ T9470] raw: 0000000000000000 ffff88809b797000 0000000100000001 0000000000000000 [ 80.165634][ T9470] page dumped because: kasan: bad access detected [ 80.165638][ T9470] [ 80.165642][ T9470] Memory state around the buggy address: [ 80.165653][ T9470] ffff88809b797000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 80.165662][ T9470] ffff88809b797080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 80.165673][ T9470] >ffff88809b797100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 80.165678][ T9470] ^ [ 80.165687][ T9470] ffff88809b797180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 80.165697][ T9470] ffff88809b797200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 80.165702][ T9470] ================================================================== [ 80.165707][ T9470] Disabling lock debugging due to kernel taint [ 80.166411][ T9470] Kernel panic - not syncing: panic_on_warn set ... [ 80.166426][ T9470] CPU: 0 PID: 9470 Comm: syz-executor613 Tainted: G B 5.4.0-syzkaller #0 [ 80.166433][ T9470] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 80.166437][ T9470] Call Trace: [ 80.166455][ T9470] dump_stack+0x197/0x210 [ 80.166470][ T9470] panic+0x2e3/0x75c [ 80.166482][ T9470] ? add_taint.cold+0x16/0x16 [ 80.166497][ T9470] ? con_shutdown+0x85/0x90 [ 80.166511][ T9470] ? preempt_schedule+0x4b/0x60 [ 80.166525][ T9470] ? ___preempt_schedule+0x16/0x18 [ 80.166541][ T9470] ? trace_hardirqs_on+0x5e/0x240 [ 80.166553][ T9470] ? con_shutdown+0x85/0x90 [ 80.166566][ T9470] end_report+0x47/0x4f [ 80.166576][ T9470] ? con_shutdown+0x85/0x90 [ 80.166588][ T9470] __kasan_report.cold+0xe/0x41 [ 80.166601][ T9470] ? con_shutdown+0x85/0x90 [ 80.166613][ T9470] kasan_report+0x12/0x20 [ 80.166627][ T9470] __asan_report_store8_noabort+0x17/0x20 [ 80.166638][ T9470] con_shutdown+0x85/0x90 [ 80.166649][ T9470] ? update_region+0x150/0x150 [ 80.166661][ T9470] release_tty+0xd3/0x470 [ 80.166674][ T9470] tty_release_struct+0x3c/0x50 [ 80.166685][ T9470] tty_release+0xbcb/0xe90 [ 80.166703][ T9470] __fput+0x2ff/0x890 [ 80.166716][ T9470] ? do_tty_hangup+0x30/0x30 [ 80.166729][ T9470] ____fput+0x16/0x20 [ 80.166744][ T9470] task_work_run+0x145/0x1c0 [ 80.166760][ T9470] do_exit+0x8e7/0x2ef0 [ 80.166778][ T9470] ? mm_update_next_owner+0x7c0/0x7c0 [ 80.166792][ T9470] ? down_read_non_owner+0x490/0x490 [ 80.166806][ T9470] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 80.166817][ T9470] ? handle_mm_fault+0x4ab/0xa50 [ 80.166836][ T9470] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 80.166849][ T9470] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 80.166864][ T9470] do_group_exit+0x135/0x360 [ 80.166879][ T9470] __x64_sys_exit_group+0x44/0x50 [ 80.166892][ T9470] do_syscall_64+0xfa/0x790 [ 80.166909][ T9470] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 80.166918][ T9470] RIP: 0033:0x443c38 [ 80.166931][ T9470] Code: Bad RIP value. [ 80.166938][ T9470] RSP: 002b:00007ffd7eba55f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 80.166950][ T9470] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000443c38 [ 80.166958][ T9470] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 80.166965][ T9470] RBP: 00000000004c37b0 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 80.166972][ T9470] R10: 000000000000000f R11: 0000000000000246 R12: 0000000000000001 [ 80.166980][ T9470] R13: 00000000006d5180 R14: 0000000000000000 R15: 0000000000000000 [ 80.168462][ T9470] Kernel Offset: disabled [ 80.958569][ T9470] Rebooting in 86400 seconds..