[ 74.293308][ T27] audit: type=1400 audit(1575926266.090:37): avc: denied { watch } for pid=9891 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 [ 74.338815][ T27] audit: type=1400 audit(1575926266.120:38): avc: denied { watch } for pid=9891 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [ 74.510167][ T27] audit: type=1800 audit(1575926266.300:39): pid=9799 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 [ 74.532210][ T27] audit: type=1800 audit(1575926266.300:40): pid=9799 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: [ 77.427287][ T27] audit: type=1400 audit(1575926269.220:41): avc: denied { map } for pid=9973 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.213' (ECDSA) to the list of known hosts. executing program [ 84.165325][ T27] audit: type=1400 audit(1575926275.960:42): avc: denied { map } for pid=9985 comm="syz-executor356" path="/root/syz-executor356021634" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 84.251540][ T9985] ================================================================== [ 84.251603][ T9985] BUG: KASAN: slab-out-of-bounds in fbcon_get_font+0x2b2/0x5e0 [ 84.251614][ T9985] Read of size 2 at addr ffff88809a457510 by task syz-executor356/9985 [ 84.251618][ T9985] [ 84.251634][ T9985] CPU: 1 PID: 9985 Comm: syz-executor356 Not tainted 5.5.0-rc1-syzkaller #0 [ 84.251642][ T9985] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 84.251647][ T9985] Call Trace: [ 84.251665][ T9985] dump_stack+0x197/0x210 [ 84.251679][ T9985] ? fbcon_get_font+0x2b2/0x5e0 [ 84.251701][ T9985] print_address_description.constprop.0.cold+0xd4/0x30b [ 84.251715][ T9985] ? fbcon_get_font+0x2b2/0x5e0 [ 84.251730][ T9985] ? fbcon_get_font+0x2b2/0x5e0 [ 84.251744][ T9985] __kasan_report.cold+0x1b/0x41 [ 84.251762][ T9985] ? fbcon_get_font+0x2b2/0x5e0 [ 84.251776][ T9985] kasan_report+0x12/0x20 [ 84.251791][ T9985] check_memory_region+0x134/0x1a0 [ 84.251813][ T9985] memcpy+0x24/0x50 [ 84.251829][ T9985] fbcon_get_font+0x2b2/0x5e0 [ 84.251843][ T9985] ? display_to_var+0x7e0/0x7e0 [ 84.251856][ T9985] con_font_op+0x20b/0x1270 [ 84.251870][ T9985] ? lock_downgrade+0x920/0x920 [ 84.251886][ T9985] ? con_write+0xd0/0xd0 [ 84.251913][ T9985] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 84.251928][ T9985] ? _copy_from_user+0x12c/0x1a0 [ 84.251947][ T9985] vt_ioctl+0x1d29/0x26d0 [ 84.251965][ T9985] ? complete_change_console+0x3a0/0x3a0 [ 84.251977][ T9985] ? lock_downgrade+0x920/0x920 [ 84.251992][ T9985] ? rwlock_bug.part.0+0x90/0x90 [ 84.252009][ T9985] ? tomoyo_path_number_perm+0x214/0x520 [ 84.252022][ T9985] ? find_held_lock+0x35/0x130 [ 84.252039][ T9985] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 84.252053][ T9985] ? tty_jobctrl_ioctl+0x50/0xd40 [ 84.252068][ T9985] ? complete_change_console+0x3a0/0x3a0 [ 84.252084][ T9985] tty_ioctl+0xa37/0x14f0 [ 84.252099][ T9985] ? tty_vhangup+0x30/0x30 [ 84.252111][ T9985] ? tomoyo_path_number_perm+0x454/0x520 [ 84.252129][ T9985] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 84.252142][ T9985] ? tomoyo_path_number_perm+0x25e/0x520 [ 84.252159][ T9985] ? tomoyo_execute_permission+0x4a0/0x4a0 [ 84.252183][ T9985] ? ___might_sleep+0x163/0x2c0 [ 84.252203][ T9985] ? tty_vhangup+0x30/0x30 [ 84.252220][ T9985] do_vfs_ioctl+0x977/0x14e0 [ 84.252238][ T9985] ? compat_ioctl_preallocate+0x220/0x220 [ 84.252252][ T9985] ? selinux_file_mprotect+0x620/0x620 [ 84.252267][ T9985] ? kmem_cache_free+0x26b/0x320 [ 84.252284][ T9985] ? putname+0xf4/0x130 [ 84.252299][ T9985] ? do_sys_open+0x31d/0x5d0 [ 84.252316][ T9985] ? tomoyo_file_ioctl+0x23/0x30 [ 84.252331][ T9985] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 84.252344][ T9985] ? security_file_ioctl+0x8d/0xc0 [ 84.252360][ T9985] ksys_ioctl+0xab/0xd0 [ 84.252376][ T9985] __x64_sys_ioctl+0x73/0xb0 [ 84.252394][ T9985] do_syscall_64+0xfa/0x790 [ 84.252413][ T9985] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 84.252424][ T9985] RIP: 0033:0x440299 [ 84.252440][ T9985] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 5b 14 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 84.252447][ T9985] RSP: 002b:00007fff882fccd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 84.252461][ T9985] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440299 [ 84.252469][ T9985] RDX: 0000000020000040 RSI: 0000000000004b6b RDI: 0000000000000005 [ 84.252477][ T9985] RBP: 00000000006ca018 R08: 000000000000000d R09: 00000000004002c8 [ 84.252485][ T9985] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401b80 [ 84.252492][ T9985] R13: 0000000000401c10 R14: 0000000000000000 R15: 0000000000000000 [ 84.252512][ T9985] [ 84.252519][ T9985] Allocated by task 9985: [ 84.252530][ T9985] save_stack+0x23/0x90 [ 84.252542][ T9985] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 84.252552][ T9985] kasan_kmalloc+0x9/0x10 [ 84.252566][ T9985] __kmalloc+0x163/0x770 [ 84.252578][ T9985] fbcon_set_font+0x32d/0x860 [ 84.252588][ T9985] con_font_op+0xe30/0x1270 [ 84.252606][ T9985] vt_ioctl+0xd2e/0x26d0 [ 84.252617][ T9985] tty_ioctl+0xa37/0x14f0 [ 84.252626][ T9985] do_vfs_ioctl+0x977/0x14e0 [ 84.252636][ T9985] ksys_ioctl+0xab/0xd0 [ 84.252646][ T9985] __x64_sys_ioctl+0x73/0xb0 [ 84.252658][ T9985] do_syscall_64+0xfa/0x790 [ 84.252670][ T9985] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 84.252674][ T9985] [ 84.252680][ T9985] Freed by task 9759: [ 84.252691][ T9985] save_stack+0x23/0x90 [ 84.252702][ T9985] __kasan_slab_free+0x102/0x150 [ 84.252710][ T9985] kasan_slab_free+0xe/0x10 [ 84.252719][ T9985] kfree+0x10a/0x2c0 [ 84.252730][ T9985] tomoyo_supervisor+0x360/0xef0 [ 84.252742][ T9985] tomoyo_path_permission+0x263/0x360 [ 84.252754][ T9985] tomoyo_path_perm+0x318/0x430 [ 84.252766][ T9985] tomoyo_inode_getattr+0x1d/0x30 [ 84.252778][ T9985] security_inode_getattr+0xf2/0x150 [ 84.252788][ T9985] vfs_getattr+0x25/0x70 [ 84.252798][ T9985] vfs_statx_fd+0x71/0xc0 [ 84.252809][ T9985] __do_sys_newfstat+0x9b/0x120 [ 84.252821][ T9985] __x64_sys_newfstat+0x54/0x80 [ 84.252834][ T9985] do_syscall_64+0xfa/0x790 [ 84.252846][ T9985] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 84.252850][ T9985] [ 84.252861][ T9985] The buggy address belongs to the object at ffff88809a457400 [ 84.252861][ T9985] which belongs to the cache kmalloc-512 of size 512 [ 84.252872][ T9985] The buggy address is located 272 bytes inside of [ 84.252872][ T9985] 512-byte region [ffff88809a457400, ffff88809a457600) [ 84.252877][ T9985] The buggy address belongs to the page: [ 84.252891][ T9985] page:ffffea00026915c0 refcount:1 mapcount:0 mapping:ffff8880aa400a80 index:0xffff88809a457000 [ 84.252910][ T9985] raw: 00fffe0000000200 ffffea00029ecb88 ffffea00026a2e08 ffff8880aa400a80 [ 84.252926][ T9985] raw: ffff88809a457000 ffff88809a457000 0000000100000002 0000000000000000 [ 84.252932][ T9985] page dumped because: kasan: bad access detected [ 84.252936][ T9985] [ 84.252940][ T9985] Memory state around the buggy address: [ 84.252951][ T9985] ffff88809a457400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 84.252962][ T9985] ffff88809a457480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 84.252972][ T9985] >ffff88809a457500: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 84.252978][ T9985] ^ [ 84.252988][ T9985] ffff88809a457580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 84.252998][ T9985] ffff88809a457600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 84.253003][ T9985] ================================================================== [ 84.253008][ T9985] Disabling lock debugging due to kernel taint [ 84.253014][ T9985] Kernel panic - not syncing: panic_on_warn set ... [ 84.253028][ T9985] CPU: 1 PID: 9985 Comm: syz-executor356 Tainted: G B 5.5.0-rc1-syzkaller #0 [ 84.253035][ T9985] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 84.253038][ T9985] Call Trace: [ 84.253053][ T9985] dump_stack+0x197/0x210 [ 84.253068][ T9985] panic+0x2e3/0x75c [ 84.253080][ T9985] ? add_taint.cold+0x16/0x16 [ 84.253097][ T9985] ? trace_hardirqs_on+0x67/0x240 [ 84.253110][ T9985] ? trace_hardirqs_on+0x5e/0x240 [ 84.253125][ T9985] ? fbcon_get_font+0x2b2/0x5e0 [ 84.253136][ T9985] end_report+0x47/0x4f [ 84.253148][ T9985] ? fbcon_get_font+0x2b2/0x5e0 [ 84.253158][ T9985] __kasan_report.cold+0xe/0x41 [ 84.253171][ T9985] ? fbcon_get_font+0x2b2/0x5e0 [ 84.253183][ T9985] kasan_report+0x12/0x20 [ 84.253195][ T9985] check_memory_region+0x134/0x1a0 [ 84.253207][ T9985] memcpy+0x24/0x50 [ 84.253221][ T9985] fbcon_get_font+0x2b2/0x5e0 [ 84.253236][ T9985] ? display_to_var+0x7e0/0x7e0 [ 84.253249][ T9985] con_font_op+0x20b/0x1270 [ 84.253262][ T9985] ? lock_downgrade+0x920/0x920 [ 84.253275][ T9985] ? con_write+0xd0/0xd0 [ 84.253294][ T9985] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 84.253307][ T9985] ? _copy_from_user+0x12c/0x1a0 [ 84.253322][ T9985] vt_ioctl+0x1d29/0x26d0 [ 84.253337][ T9985] ? complete_change_console+0x3a0/0x3a0 [ 84.253348][ T9985] ? lock_downgrade+0x920/0x920 [ 84.253361][ T9985] ? rwlock_bug.part.0+0x90/0x90 [ 84.253374][ T9985] ? tomoyo_path_number_perm+0x214/0x520 [ 84.253385][ T9985] ? find_held_lock+0x35/0x130 [ 84.253400][ T9985] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 84.253413][ T9985] ? tty_jobctrl_ioctl+0x50/0xd40 [ 84.253426][ T9985] ? complete_change_console+0x3a0/0x3a0 [ 84.253439][ T9985] tty_ioctl+0xa37/0x14f0 [ 84.253452][ T9985] ? tty_vhangup+0x30/0x30 [ 84.253464][ T9985] ? tomoyo_path_number_perm+0x454/0x520 [ 84.253479][ T9985] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 84.253490][ T9985] ? tomoyo_path_number_perm+0x25e/0x520 [ 84.253504][ T9985] ? tomoyo_execute_permission+0x4a0/0x4a0 [ 84.253521][ T9985] ? ___might_sleep+0x163/0x2c0 [ 84.253536][ T9985] ? tty_vhangup+0x30/0x30 [ 84.253548][ T9985] do_vfs_ioctl+0x977/0x14e0 [ 84.253563][ T9985] ? compat_ioctl_preallocate+0x220/0x220 [ 84.253575][ T9985] ? selinux_file_mprotect+0x620/0x620 [ 84.253587][ T9985] ? kmem_cache_free+0x26b/0x320 [ 84.253607][ T9985] ? putname+0xf4/0x130 [ 84.253620][ T9985] ? do_sys_open+0x31d/0x5d0 [ 84.253634][ T9985] ? tomoyo_file_ioctl+0x23/0x30 [ 84.253647][ T9985] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 84.253658][ T9985] ? security_file_ioctl+0x8d/0xc0 [ 84.253671][ T9985] ksys_ioctl+0xab/0xd0 [ 84.253684][ T9985] __x64_sys_ioctl+0x73/0xb0 [ 84.253697][ T9985] do_syscall_64+0xfa/0x790 [ 84.253711][ T9985] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 84.253719][ T9985] RIP: 0033:0x440299 [ 84.253731][ T9985] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 5b 14 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 84.253738][ T9985] RSP: 002b:00007fff882fccd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 84.253750][ T9985] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440299 [ 84.253758][ T9985] RDX: 0000000020000040 RSI: 0000000000004b6b RDI: 0000000000000005 [ 84.253765][ T9985] RBP: 00000000006ca018 R08: 000000000000000d R09: 00000000004002c8 [ 84.253772][ T9985] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401b80 [ 84.253780][ T9985] R13: 0000000000401c10 R14: 0000000000000000 R15: 0000000000000000 [ 84.255260][ T9985] Kernel Offset: disabled [ 85.241360][ T9985] Rebooting in 86400 seconds..