[ 96.784100][ T27] audit: type=1400 audit(1584879733.674:37): avc: denied { watch } for pid=10361 comm="restorecond" path="/root/.ssh" dev="sda1" ino=16179 scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:object_r:ssh_home_t:s0 tclass=dir permissive=1 [ 96.809356][ T27] audit: type=1400 audit(1584879733.694:38): avc: denied { watch } for pid=10361 comm="restorecond" path="/etc/selinux/restorecond.conf" dev="sda1" ino=2232 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 97.104415][ T27] audit: type=1800 audit(1584879733.994:39): pid=10266 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 97.126241][ T27] audit: type=1800 audit(1584879733.994:40): pid=10266 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 99.452823][ T27] audit: type=1400 audit(1584879736.344:41): avc: denied { map } for pid=10441 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.0.137' (ECDSA) to the list of known hosts. executing program executing program executing program executing program [ 119.445867][ T27] audit: type=1400 audit(1584879756.334:42): avc: denied { map } for pid=10453 comm="syz-executor269" path="/root/syz-executor269731104" dev="sda1" ino=1426 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 119.502083][T10461] ================================================================== [ 119.502143][T10461] BUG: KASAN: use-after-free in con_shutdown+0x7f/0x90 [ 119.502154][T10461] Write of size 8 at addr ffff88809ec31108 by task syz-executor269/10461 [ 119.502158][T10461] [ 119.502172][T10461] CPU: 0 PID: 10461 Comm: syz-executor269 Not tainted 5.6.0-rc6-syzkaller #0 [ 119.502179][T10461] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 119.502185][T10461] Call Trace: [ 119.502203][T10461] dump_stack+0x188/0x20d [ 119.502216][T10461] ? con_shutdown+0x7f/0x90 [ 119.502230][T10461] ? con_shutdown+0x7f/0x90 [ 119.502252][T10461] print_address_description.constprop.0.cold+0xd3/0x315 [ 119.502263][T10461] ? con_shutdown+0x7f/0x90 [ 119.502277][T10461] ? con_shutdown+0x7f/0x90 [ 119.502289][T10461] __kasan_report.cold+0x1a/0x32 [ 119.502306][T10461] ? con_shutdown+0x7f/0x90 [ 119.502325][T10461] kasan_report+0xe/0x20 [ 119.502336][T10461] con_shutdown+0x7f/0x90 [ 119.502345][T10461] ? update_region+0x140/0x140 [ 119.502356][T10461] release_tty+0xca/0x450 [ 119.502371][T10461] tty_release_struct+0x37/0x50 [ 119.502384][T10461] tty_release+0xbc7/0xe90 [ 119.502412][T10461] ? do_tty_hangup+0x30/0x30 [ 119.502424][T10461] __fput+0x2da/0x850 [ 119.502455][T10461] task_work_run+0x13f/0x1b0 [ 119.502481][T10461] do_exit+0xb34/0x2dd0 [ 119.502513][T10461] ? mm_update_next_owner+0x7a0/0x7a0 [ 119.502529][T10461] ? up_read+0x1ab/0x750 [ 119.502544][T10461] ? mark_held_locks+0x9f/0xe0 [ 119.502558][T10461] ? down_read_non_owner+0x470/0x470 [ 119.502576][T10461] ? handle_mm_fault+0x491/0xa10 [ 119.502592][T10461] do_group_exit+0x125/0x340 [ 119.502610][T10461] __x64_sys_exit_group+0x3a/0x50 [ 119.502625][T10461] do_syscall_64+0xf6/0x7d0 [ 119.502645][T10461] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 119.502656][T10461] RIP: 0033:0x43ff38 [ 119.502670][T10461] 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 [ 119.502677][T10461] RSP: 002b:00007ffc63dd1508 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 119.502690][T10461] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 119.502697][T10461] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 119.502704][T10461] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 119.502711][T10461] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 119.502718][T10461] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 119.502745][T10461] [ 119.502751][T10461] Allocated by task 10461: [ 119.502764][T10461] save_stack+0x1b/0x80 [ 119.502775][T10461] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 119.502787][T10461] kmem_cache_alloc_trace+0x153/0x7d0 [ 119.502797][T10461] vc_allocate+0x1e2/0x6e0 [ 119.502807][T10461] con_install+0x4f/0x400 [ 119.502817][T10461] tty_init_dev+0xf5/0x460 [ 119.502834][T10461] tty_open+0x47f/0xb30 [ 119.502845][T10461] chrdev_open+0x219/0x5c0 [ 119.502856][T10461] do_dentry_open+0x4a2/0x1250 [ 119.502868][T10461] path_openat+0x122a/0x32b0 [ 119.502879][T10461] do_filp_open+0x192/0x260 [ 119.502889][T10461] do_sys_openat2+0x54c/0x740 [ 119.502900][T10461] do_sys_open+0xc3/0x140 [ 119.502911][T10461] do_syscall_64+0xf6/0x7d0 [ 119.502922][T10461] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 119.502925][T10461] [ 119.502931][T10461] Freed by task 10463: [ 119.502941][T10461] save_stack+0x1b/0x80 [ 119.502952][T10461] __kasan_slab_free+0xf7/0x140 [ 119.502963][T10461] kfree+0x109/0x2b0 [ 119.502975][T10461] vt_disallocate_all+0x293/0x3b0 [ 119.502986][T10461] vt_ioctl+0xb79/0x2470 [ 119.502996][T10461] tty_ioctl+0xedd/0x1440 [ 119.503013][T10461] ksys_ioctl+0x11a/0x180 [ 119.503025][T10461] __x64_sys_ioctl+0x6f/0xb0 [ 119.503036][T10461] do_syscall_64+0xf6/0x7d0 [ 119.503048][T10461] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 119.503051][T10461] [ 119.503061][T10461] The buggy address belongs to the object at ffff88809ec31000 [ 119.503061][T10461] which belongs to the cache kmalloc-2k of size 2048 [ 119.503071][T10461] The buggy address is located 264 bytes inside of [ 119.503071][T10461] 2048-byte region [ffff88809ec31000, ffff88809ec31800) [ 119.503075][T10461] The buggy address belongs to the page: [ 119.503087][T10461] page:ffffea00027b0c40 refcount:1 mapcount:0 mapping:ffff8880aa000e00 index:0x0 [ 119.503097][T10461] flags: 0xfffe0000000200(slab) [ 119.503113][T10461] raw: 00fffe0000000200 ffffea00020d7b88 ffffea0002441908 ffff8880aa000e00 [ 119.503127][T10461] raw: 0000000000000000 ffff88809ec31000 0000000100000001 0000000000000000 [ 119.503132][T10461] page dumped because: kasan: bad access detected [ 119.503135][T10461] [ 119.503139][T10461] Memory state around the buggy address: [ 119.503148][T10461] ffff88809ec31000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 119.503157][T10461] ffff88809ec31080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 119.503166][T10461] >ffff88809ec31100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 119.503171][T10461] ^ [ 119.503179][T10461] ffff88809ec31180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 119.503188][T10461] ffff88809ec31200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 119.503193][T10461] ================================================================== [ 119.503197][T10461] Disabling lock debugging due to kernel taint [ 119.503313][T10461] Kernel panic - not syncing: panic_on_warn set ... [ 119.503326][T10461] CPU: 0 PID: 10461 Comm: syz-executor269 Tainted: G B 5.6.0-rc6-syzkaller #0 [ 119.503331][T10461] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 119.503334][T10461] Call Trace: [ 119.503350][T10461] dump_stack+0x188/0x20d [ 119.503365][T10461] panic+0x2e3/0x75c [ 119.503377][T10461] ? add_taint.cold+0x16/0x16 [ 119.503392][T10461] ? preempt_schedule_common+0x5e/0xc0 [ 119.503406][T10461] ? con_shutdown+0x7f/0x90 [ 119.503417][T10461] ? ___preempt_schedule+0x16/0x18 [ 119.503432][T10461] ? trace_hardirqs_on+0x55/0x220 [ 119.503444][T10461] ? con_shutdown+0x7f/0x90 [ 119.503457][T10461] end_report+0x43/0x49 [ 119.503467][T10461] ? con_shutdown+0x7f/0x90 [ 119.503478][T10461] __kasan_report.cold+0xd/0x32 [ 119.503490][T10461] ? con_shutdown+0x7f/0x90 [ 119.503504][T10461] kasan_report+0xe/0x20 [ 119.503513][T10461] con_shutdown+0x7f/0x90 [ 119.503522][T10461] ? update_region+0x140/0x140 [ 119.503532][T10461] release_tty+0xca/0x450 [ 119.503544][T10461] tty_release_struct+0x37/0x50 [ 119.503555][T10461] tty_release+0xbc7/0xe90 [ 119.503572][T10461] ? do_tty_hangup+0x30/0x30 [ 119.503582][T10461] __fput+0x2da/0x850 [ 119.503599][T10461] task_work_run+0x13f/0x1b0 [ 119.503615][T10461] do_exit+0xb34/0x2dd0 [ 119.503636][T10461] ? mm_update_next_owner+0x7a0/0x7a0 [ 119.503650][T10461] ? up_read+0x1ab/0x750 [ 119.503662][T10461] ? mark_held_locks+0x9f/0xe0 [ 119.503675][T10461] ? down_read_non_owner+0x470/0x470 [ 119.503691][T10461] ? handle_mm_fault+0x491/0xa10 [ 119.503705][T10461] do_group_exit+0x125/0x340 [ 119.503719][T10461] __x64_sys_exit_group+0x3a/0x50 [ 119.503731][T10461] do_syscall_64+0xf6/0x7d0 [ 119.503746][T10461] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 119.503754][T10461] RIP: 0033:0x43ff38 [ 119.503764][T10461] 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 [ 119.503770][T10461] RSP: 002b:00007ffc63dd1508 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 119.503781][T10461] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 119.503787][T10461] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 119.503793][T10461] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 119.503799][T10461] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 119.503805][T10461] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 119.505374][T10461] Kernel Offset: disabled [ 120.281466][T10461] Rebooting in 86400 seconds..