[ 80.734740][ T27] audit: type=1400 audit(1575632723.102:37): avc: denied { watch } for pid=9381 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 [ 80.786274][ T27] audit: type=1400 audit(1575632723.102:38): avc: denied { watch } for pid=9381 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. [ 81.087995][ T27] audit: type=1800 audit(1575632723.462:39): pid=9292 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 [ 81.110333][ T27] audit: type=1800 audit(1575632723.462:40): pid=9292 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: [ 85.318574][ T27] audit: type=1400 audit(1575632727.692:41): avc: denied { map } for pid=9470 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.82' (ECDSA) to the list of known hosts. executing program [ 91.893518][ T27] audit: type=1400 audit(1575632734.262:42): avc: denied { map } for pid=9482 comm="syz-executor602" path="/root/syz-executor602149247" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 92.010197][ T9482] ================================================================== [ 92.010240][ T9482] BUG: KASAN: use-after-free in soft_cursor+0x439/0xa30 [ 92.010248][ T9482] Read of size 9 at addr ffff88809826c851 by task syz-executor602/9482 [ 92.010250][ T9482] [ 92.010260][ T9482] CPU: 1 PID: 9482 Comm: syz-executor602 Not tainted 5.4.0-syzkaller #0 [ 92.010265][ T9482] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 92.010269][ T9482] Call Trace: [ 92.010281][ T9482] dump_stack+0x197/0x210 [ 92.010289][ T9482] ? soft_cursor+0x439/0xa30 [ 92.010302][ T9482] print_address_description.constprop.0.cold+0xd4/0x30b [ 92.010316][ T9482] ? soft_cursor+0x439/0xa30 [ 92.010324][ T9482] ? soft_cursor+0x439/0xa30 [ 92.010332][ T9482] __kasan_report.cold+0x1b/0x41 [ 92.010342][ T9482] ? soft_cursor+0x439/0xa30 [ 92.010351][ T9482] kasan_report+0x12/0x20 [ 92.010360][ T9482] check_memory_region+0x134/0x1a0 [ 92.010368][ T9482] memcpy+0x24/0x50 [ 92.010377][ T9482] soft_cursor+0x439/0xa30 [ 92.010386][ T9482] ? lockdep_hardirqs_on+0x421/0x5e0 [ 92.010400][ T9482] bit_cursor+0x12fc/0x1a60 [ 92.010414][ T9482] ? bit_clear+0x530/0x530 [ 92.010423][ T9482] ? find_held_lock+0x35/0x130 [ 92.010438][ T9482] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 92.010447][ T9482] ? get_color+0x225/0x430 [ 92.010457][ T9482] fbcon_cursor+0x487/0x660 [ 92.010465][ T9482] ? bit_clear+0x530/0x530 [ 92.010477][ T9482] hide_cursor+0x9d/0x2b0 [ 92.010486][ T9482] redraw_screen+0x60b/0x7d0 [ 92.010496][ T9482] ? respond_string+0x2c0/0x2c0 [ 92.010509][ T9482] vc_do_resize+0x10c9/0x1460 [ 92.010516][ T9482] ? down+0x50/0x90 [ 92.010533][ T9482] ? vc_uniscr_alloc+0xd0/0xd0 [ 92.010541][ T9482] ? lock_acquire+0x190/0x410 [ 92.010550][ T9482] ? vt_ioctl+0x1f56/0x26d0 [ 92.010561][ T9482] vc_resize+0x4d/0x60 [ 92.010571][ T9482] vt_ioctl+0x2076/0x26d0 [ 92.010581][ T9482] ? complete_change_console+0x3a0/0x3a0 [ 92.010587][ T9482] ? lock_downgrade+0x920/0x920 [ 92.010595][ T9482] ? rwlock_bug.part.0+0x90/0x90 [ 92.010605][ T9482] ? tomoyo_path_number_perm+0x214/0x520 [ 92.010614][ T9482] ? find_held_lock+0x35/0x130 [ 92.010622][ T9482] ? tomoyo_path_number_perm+0x214/0x520 [ 92.010630][ T9482] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 92.010641][ T9482] ? tty_jobctrl_ioctl+0x50/0xd40 [ 92.010649][ T9482] ? complete_change_console+0x3a0/0x3a0 [ 92.010658][ T9482] tty_ioctl+0xa37/0x14f0 [ 92.010666][ T9482] ? tty_vhangup+0x30/0x30 [ 92.010673][ T9482] ? tomoyo_path_number_perm+0x454/0x520 [ 92.010684][ T9482] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 92.010691][ T9482] ? tomoyo_path_number_perm+0x25e/0x520 [ 92.010700][ T9482] ? tomoyo_execute_permission+0x4a0/0x4a0 [ 92.010714][ T9482] ? ___might_sleep+0x163/0x2c0 [ 92.010724][ T9482] ? tty_vhangup+0x30/0x30 [ 92.010734][ T9482] do_vfs_ioctl+0x977/0x14e0 [ 92.010744][ T9482] ? compat_ioctl_preallocate+0x220/0x220 [ 92.010752][ T9482] ? selinux_file_mprotect+0x620/0x620 [ 92.010760][ T9482] ? kmem_cache_free+0x26b/0x320 [ 92.010770][ T9482] ? putname+0xf4/0x130 [ 92.010778][ T9482] ? do_sys_open+0x31d/0x5d0 [ 92.010788][ T9482] ? tomoyo_file_ioctl+0x23/0x30 [ 92.010797][ T9482] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 92.010806][ T9482] ? security_file_ioctl+0x8d/0xc0 [ 92.010815][ T9482] ksys_ioctl+0xab/0xd0 [ 92.010824][ T9482] __x64_sys_ioctl+0x73/0xb0 [ 92.010834][ T9482] do_syscall_64+0xfa/0x790 [ 92.010846][ T9482] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 92.010853][ T9482] RIP: 0033:0x440219 [ 92.010863][ T9482] 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 [ 92.010868][ T9482] RSP: 002b:00007fff7d7f09e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 92.010876][ T9482] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440219 [ 92.010880][ T9482] RDX: 00000000200002c0 RSI: 000000000000560a RDI: 0000000000000004 [ 92.010885][ T9482] RBP: 00000000006ca018 R08: 0000000000000001 R09: 00000000004002c8 [ 92.010890][ T9482] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000401b00 [ 92.010894][ T9482] R13: 0000000000401b90 R14: 0000000000000000 R15: 0000000000000000 [ 92.010905][ T9482] [ 92.010909][ T9482] Allocated by task 9477: [ 92.010916][ T9482] save_stack+0x23/0x90 [ 92.010923][ T9482] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 92.010929][ T9482] kasan_kmalloc+0x9/0x10 [ 92.010939][ T9482] __kmalloc_node_track_caller+0x4e/0x70 [ 92.010947][ T9482] __kmalloc_reserve.isra.0+0x40/0xf0 [ 92.010953][ T9482] __alloc_skb+0x10b/0x5e0 [ 92.010959][ T9482] sock_wmalloc+0xd9/0x120 [ 92.010967][ T9482] unix_stream_connect+0x22a/0x146b [ 92.010975][ T9482] __sys_connect_file+0x25d/0x2e0 [ 92.010981][ T9482] __sys_connect+0x51/0x90 [ 92.010988][ T9482] __x64_sys_connect+0x73/0xb0 [ 92.010996][ T9482] do_syscall_64+0xfa/0x790 [ 92.011004][ T9482] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 92.011006][ T9482] [ 92.011010][ T9482] Freed by task 9477: [ 92.011015][ T9482] save_stack+0x23/0x90 [ 92.011022][ T9482] __kasan_slab_free+0x102/0x150 [ 92.011028][ T9482] kasan_slab_free+0xe/0x10 [ 92.011033][ T9482] kfree+0x10a/0x2c0 [ 92.011039][ T9482] skb_free_head+0x93/0xb0 [ 92.011046][ T9482] skb_release_data+0x551/0x8d0 [ 92.011053][ T9482] skb_release_all+0x4d/0x60 [ 92.011060][ T9482] kfree_skb+0x101/0x420 [ 92.011066][ T9482] unix_stream_connect+0x1342/0x146b [ 92.011073][ T9482] __sys_connect_file+0x25d/0x2e0 [ 92.011080][ T9482] __sys_connect+0x51/0x90 [ 92.011087][ T9482] __x64_sys_connect+0x73/0xb0 [ 92.011094][ T9482] do_syscall_64+0xfa/0x790 [ 92.011102][ T9482] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 92.011104][ T9482] [ 92.011110][ T9482] The buggy address belongs to the object at ffff88809826c800 [ 92.011110][ T9482] which belongs to the cache kmalloc-512 of size 512 [ 92.011117][ T9482] The buggy address is located 81 bytes inside of [ 92.011117][ T9482] 512-byte region [ffff88809826c800, ffff88809826ca00) [ 92.011120][ T9482] The buggy address belongs to the page: [ 92.011129][ T9482] page:ffffea0002609b00 refcount:1 mapcount:0 mapping:ffff8880aa400a80 index:0xffff88809826c000 [ 92.011140][ T9482] raw: 00fffe0000000200 ffffea00029e84c8 ffffea0002594288 ffff8880aa400a80 [ 92.011149][ T9482] raw: ffff88809826c000 ffff88809826c000 0000000100000003 0000000000000000 [ 92.011153][ T9482] page dumped because: kasan: bad access detected [ 92.011155][ T9482] [ 92.011157][ T9482] Memory state around the buggy address: [ 92.011164][ T9482] ffff88809826c700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 92.011170][ T9482] ffff88809826c780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 92.011175][ T9482] >ffff88809826c800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 92.011178][ T9482] ^ [ 92.011184][ T9482] ffff88809826c880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 92.011190][ T9482] ffff88809826c900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 92.011193][ T9482] ================================================================== [ 92.011196][ T9482] Disabling lock debugging due to kernel taint [ 92.011200][ T9482] Kernel panic - not syncing: panic_on_warn set ... [ 92.011208][ T9482] CPU: 1 PID: 9482 Comm: syz-executor602 Tainted: G B 5.4.0-syzkaller #0 [ 92.011212][ T9482] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 92.011214][ T9482] Call Trace: [ 92.011220][ T9482] dump_stack+0x197/0x210 [ 92.011230][ T9482] panic+0x2e3/0x75c [ 92.011237][ T9482] ? add_taint.cold+0x16/0x16 [ 92.011247][ T9482] ? trace_hardirqs_on+0x67/0x240 [ 92.011254][ T9482] ? trace_hardirqs_on+0x5e/0x240 [ 92.011262][ T9482] ? soft_cursor+0x439/0xa30 [ 92.011269][ T9482] end_report+0x47/0x4f [ 92.011276][ T9482] ? soft_cursor+0x439/0xa30 [ 92.011283][ T9482] __kasan_report.cold+0xe/0x41 [ 92.011291][ T9482] ? soft_cursor+0x439/0xa30 [ 92.011298][ T9482] kasan_report+0x12/0x20 [ 92.011305][ T9482] check_memory_region+0x134/0x1a0 [ 92.011316][ T9482] memcpy+0x24/0x50 [ 92.011325][ T9482] soft_cursor+0x439/0xa30 [ 92.011331][ T9482] ? lockdep_hardirqs_on+0x421/0x5e0 [ 92.011342][ T9482] bit_cursor+0x12fc/0x1a60 [ 92.011351][ T9482] ? bit_clear+0x530/0x530 [ 92.011359][ T9482] ? find_held_lock+0x35/0x130 [ 92.011369][ T9482] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 92.011376][ T9482] ? get_color+0x225/0x430 [ 92.011384][ T9482] fbcon_cursor+0x487/0x660 [ 92.011392][ T9482] ? bit_clear+0x530/0x530 [ 92.011399][ T9482] hide_cursor+0x9d/0x2b0 [ 92.011406][ T9482] redraw_screen+0x60b/0x7d0 [ 92.011414][ T9482] ? respond_string+0x2c0/0x2c0 [ 92.011423][ T9482] vc_do_resize+0x10c9/0x1460 [ 92.011430][ T9482] ? down+0x50/0x90 [ 92.011441][ T9482] ? vc_uniscr_alloc+0xd0/0xd0 [ 92.011448][ T9482] ? lock_acquire+0x190/0x410 [ 92.011455][ T9482] ? vt_ioctl+0x1f56/0x26d0 [ 92.011463][ T9482] vc_resize+0x4d/0x60 [ 92.011470][ T9482] vt_ioctl+0x2076/0x26d0 [ 92.011479][ T9482] ? complete_change_console+0x3a0/0x3a0 [ 92.011485][ T9482] ? lock_downgrade+0x920/0x920 [ 92.011492][ T9482] ? rwlock_bug.part.0+0x90/0x90 [ 92.011499][ T9482] ? tomoyo_path_number_perm+0x214/0x520 [ 92.011507][ T9482] ? find_held_lock+0x35/0x130 [ 92.011514][ T9482] ? tomoyo_path_number_perm+0x214/0x520 [ 92.011521][ T9482] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 92.011529][ T9482] ? tty_jobctrl_ioctl+0x50/0xd40 [ 92.011537][ T9482] ? complete_change_console+0x3a0/0x3a0 [ 92.011543][ T9482] tty_ioctl+0xa37/0x14f0 [ 92.011551][ T9482] ? tty_vhangup+0x30/0x30 [ 92.011557][ T9482] ? tomoyo_path_number_perm+0x454/0x520 [ 92.011565][ T9482] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 92.011572][ T9482] ? tomoyo_path_number_perm+0x25e/0x520 [ 92.011579][ T9482] ? tomoyo_execute_permission+0x4a0/0x4a0 [ 92.011588][ T9482] ? ___might_sleep+0x163/0x2c0 [ 92.011596][ T9482] ? tty_vhangup+0x30/0x30 [ 92.011603][ T9482] do_vfs_ioctl+0x977/0x14e0 [ 92.011611][ T9482] ? compat_ioctl_preallocate+0x220/0x220 [ 92.011617][ T9482] ? selinux_file_mprotect+0x620/0x620 [ 92.011624][ T9482] ? kmem_cache_free+0x26b/0x320 [ 92.011631][ T9482] ? putname+0xf4/0x130 [ 92.011638][ T9482] ? do_sys_open+0x31d/0x5d0 [ 92.011646][ T9482] ? tomoyo_file_ioctl+0x23/0x30 [ 92.011653][ T9482] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 92.011660][ T9482] ? security_file_ioctl+0x8d/0xc0 [ 92.011667][ T9482] ksys_ioctl+0xab/0xd0 [ 92.011675][ T9482] __x64_sys_ioctl+0x73/0xb0 [ 92.011683][ T9482] do_syscall_64+0xfa/0x790 [ 92.011692][ T9482] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 92.011697][ T9482] RIP: 0033:0x440219 [ 92.011704][ T9482] 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 [ 92.011708][ T9482] RSP: 002b:00007fff7d7f09e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 92.011714][ T9482] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440219 [ 92.011718][ T9482] RDX: 00000000200002c0 RSI: 000000000000560a RDI: 0000000000000004 [ 92.011722][ T9482] RBP: 00000000006ca018 R08: 0000000000000001 R09: 00000000004002c8 [ 92.011726][ T9482] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000401b00 [ 92.011730][ T9482] R13: 0000000000401b90 R14: 0000000000000000 R15: 0000000000000000 [ 92.013141][ T9482] Kernel Offset: disabled [ 93.103653][ T9482] Rebooting in 86400 seconds..