[ 74.373173][ T26] audit: type=1400 audit(1575683060.490:37): avc: denied { watch } for pid=9641 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.428005][ T26] audit: type=1400 audit(1575683060.490:38): avc: denied { watch } for pid=9641 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. [ 74.705450][ T26] audit: type=1800 audit(1575683060.820:39): pid=9553 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.727160][ T26] audit: type=1800 audit(1575683060.830:40): pid=9553 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: [ 78.282599][ T26] audit: type=1400 audit(1575683064.400:41): avc: denied { map } for pid=9731 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.48' (ECDSA) to the list of known hosts. executing program executing program [ 552.293439][ T26] audit: type=1400 audit(1575683538.410:42): avc: denied { map } for pid=9743 comm="syz-executor540" path="/root/syz-executor540007752" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 785.468715][ T1104] INFO: task login:10239 blocked for more than 143 seconds. [ 785.476150][ T1104] Not tainted 5.4.0-syzkaller #0 [ 785.483004][ T1104] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 785.491948][ T1104] login D27648 10239 1 0x80000002 [ 785.498361][ T1104] Call Trace: [ 785.506808][ T1104] __schedule+0x934/0x1f90 [ 785.511563][ T1104] ? __sched_text_start+0x8/0x8 [ 785.516480][ T1104] ? __lock_acquire+0x29c9/0x4a00 [ 785.521850][ T1104] schedule+0xdc/0x2b0 [ 785.525931][ T1104] schedule_timeout+0x717/0xc50 [ 785.531461][ T1104] ? __kasan_check_read+0x11/0x20 [ 785.536495][ T1104] ? usleep_range+0x170/0x170 [ 785.541538][ T1104] ? mark_held_locks+0xa4/0xf0 [ 785.546303][ T1104] ? _raw_spin_unlock_irq+0x23/0x80 [ 785.551882][ T1104] ? __ldsem_down_write_nested+0x3aa/0x8f0 [ 785.557800][ T1104] ? _raw_spin_unlock_irq+0x23/0x80 [ 785.563350][ T1104] ? lockdep_hardirqs_on+0x421/0x5e0 [ 785.569060][ T1104] ? trace_hardirqs_on+0x67/0x240 [ 785.574097][ T1104] __ldsem_down_write_nested+0x3b2/0x8f0 [ 785.580066][ T1104] ? ldsem_wake+0x40/0x40 [ 785.584469][ T1104] ? ___might_sleep+0x163/0x2c0 [ 785.589664][ T1104] ? put_tty_driver+0x20/0x20 [ 785.594350][ T1104] ldsem_down_write+0x33/0x40 [ 785.599371][ T1104] ? ldsem_down_write+0x33/0x40 [ 785.604231][ T1104] tty_ldisc_lock+0x66/0xb0 [ 785.609956][ T1104] tty_ldisc_hangup+0x1c6/0x640 [ 785.615083][ T1104] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 785.621685][ T1104] ? put_tty_driver+0x20/0x20 [ 785.626364][ T1104] __tty_hangup.part.0+0x2fb/0x750 [ 785.631817][ T1104] tty_vhangup_session+0x25/0x30 [ 785.636754][ T1104] disassociate_ctty.part.0+0xb4/0x740 [ 785.642547][ T1104] disassociate_ctty+0x81/0xa0 [ 785.647414][ T1104] do_exit+0x1b42/0x2ef0 [ 785.652008][ T1104] ? __vfs_write+0x92/0x110 [ 785.656521][ T1104] ? mm_update_next_owner+0x7c0/0x7c0 [ 785.662337][ T1104] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 785.668872][ T1104] ? ksys_write+0x1cf/0x290 [ 785.674144][ T1104] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 785.679928][ T1104] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 785.685398][ T1104] do_group_exit+0x135/0x360 [ 785.690309][ T1104] __x64_sys_exit_group+0x44/0x50 [ 785.695337][ T1104] do_syscall_64+0xfa/0x790 [ 785.700237][ T1104] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 785.706131][ T1104] RIP: 0033:0x7f0f83c781e8 [ 785.710978][ T1104] Code: Bad RIP value. [ 785.715043][ T1104] RSP: 002b:00007ffd44a828e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 785.723776][ T1104] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0f83c781e8 [ 785.732059][ T1104] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 785.741271][ T1104] RBP: 00007f0f83f4d840 R08: 00000000000000e7 R09: ffffffffffffffa8 [ 785.749550][ T1104] R10: 00007f0f83f53740 R11: 0000000000000246 R12: 00007f0f83f4d840 [ 785.757521][ T1104] R13: 0000000000000001 R14: 0000000000000001 R15: 000000000060b798 [ 785.765925][ T1104] [ 785.765925][ T1104] Showing all locks held in the system: [ 785.774222][ T1104] 1 lock held by khungtaskd/1104: [ 785.779798][ T1104] #0: ffffffff899a4280 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x279 [ 785.789605][ T1104] 1 lock held by rsyslogd/9591: [ 785.795066][ T1104] #0: ffff888098116b60 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 [ 785.804876][ T1104] 2 locks held by getty/9714: [ 785.810273][ T1104] #0: ffff88808ec58090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 [ 785.819507][ T1104] #1: ffffc900018e32e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 [ 785.829371][ T1104] 2 locks held by getty/9715: [ 785.834388][ T1104] #0: ffff8880a7428090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 [ 785.843644][ T1104] #1: ffffc900019632e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 [ 785.853492][ T1104] 2 locks held by getty/9716: [ 785.858161][ T1104] #0: ffff8880a8e92090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 [ 785.867437][ T1104] #1: ffffc900019032e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 [ 785.878231][ T1104] 2 locks held by getty/9717: [ 785.883172][ T1104] #0: ffff888093f73090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 [ 785.893362][ T1104] #1: ffffc900019532e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 [ 785.903208][ T1104] 2 locks held by getty/9718: [ 785.907878][ T1104] #0: ffff888098ddf090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 [ 785.917726][ T1104] #1: ffffc900019432e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 [ 785.927773][ T1104] 2 locks held by getty/9719: [ 785.932900][ T1104] #0: ffff8880a72d4090 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 [ 785.942124][ T1104] #1: ffffc900018a32e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x220/0x1bf0 [ 785.951957][ T1104] 2 locks held by login/10239: [ 785.956719][ T1104] #0: ffff88809b2d2198 (&tty->legacy_mutex){+.+.}, at: tty_lock+0xc7/0x130 [ 785.966018][ T1104] #1: ffff88809b2d2090 (&tty->ldisc_sem){++++}, at: ldsem_down_write+0x33/0x40 [ 785.975870][ T1104] 2 locks held by syz-executor540/10274: [ 785.981805][ T1104] [ 785.984133][ T1104] ============================================= [ 785.984133][ T1104] [ 785.992859][ T1104] NMI backtrace for cpu 1 [ 785.997198][ T1104] CPU: 1 PID: 1104 Comm: khungtaskd Not tainted 5.4.0-syzkaller #0 [ 786.006570][ T1104] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 786.016619][ T1104] Call Trace: [ 786.019984][ T1104] dump_stack+0x197/0x210 [ 786.024332][ T1104] nmi_cpu_backtrace.cold+0x70/0xb2 [ 786.029567][ T1104] ? vprintk_func+0x86/0x189 [ 786.034223][ T1104] ? lapic_can_unplug_cpu.cold+0x3a/0x3a [ 786.040464][ T1104] nmi_trigger_cpumask_backtrace+0x23b/0x28b [ 786.046449][ T1104] arch_trigger_cpumask_backtrace+0x14/0x20 [ 786.052340][ T1104] watchdog+0xb11/0x10c0 [ 786.056626][ T1104] kthread+0x361/0x430 [ 786.060699][ T1104] ? reset_hung_task_detector+0x30/0x30 [ 786.066281][ T1104] ? kthread_mod_delayed_work+0x1f0/0x1f0 [ 786.072082][ T1104] ret_from_fork+0x24/0x30 [ 786.076609][ T1104] Sending NMI from CPU 1 to CPUs 0: [ 786.082707][ C0] NMI backtrace for cpu 0 [ 786.082713][ C0] CPU: 0 PID: 10274 Comm: syz-executor540 Not tainted 5.4.0-syzkaller #0 [ 786.082719][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 786.082723][ C0] RIP: 0010:preempt_count_add+0x22/0x160 [ 786.082733][ C0] Code: 0f 1f 84 00 00 00 00 00 48 c7 c0 e0 24 63 8b 55 48 ba 00 00 00 00 00 fc ff df 48 89 c1 48 89 e5 41 54 83 e0 07 48 c1 e9 03 53 <83> c0 03 89 fb 0f b6 14 11 38 d0 7c 08 84 d2 0f 85 00 01 00 00 8b [ 786.082737][ C0] RSP: 0018:ffffc90003247628 EFLAGS: 00000806 [ 786.082744][ C0] RAX: 0000000000000000 RBX: ffffc900032476a8 RCX: 1ffffffff16c649c [ 786.082749][ C0] RDX: dffffc0000000000 RSI: 0000000000000004 RDI: 0000000000000001 [ 786.082753][ C0] RBP: ffffc90003247638 R08: 1ffff11015d07044 R09: ffffed1015d07045 [ 786.082758][ C0] R10: ffffed1015d07044 R11: ffff8880ae838223 R12: ffff8880ae837400 [ 786.082762][ C0] R13: ffffffff899c3620 R14: ffff8880906b4180 R15: 000000000000106e [ 786.082767][ C0] FS: 0000000001203880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 [ 786.082771][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 786.082776][ C0] CR2: ffffffffff600400 CR3: 0000000097677000 CR4: 00000000001406f0 [ 786.082780][ C0] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 786.082785][ C0] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 786.082787][ C0] Call Trace: [ 786.082791][ C0] rcu_lockdep_current_cpu_online+0x34/0x130 [ 786.082794][ C0] rcu_read_lock_held_common+0xbd/0x130 [ 786.082797][ C0] rcu_read_lock_held+0x5b/0xb0 [ 786.082800][ C0] ? rcu_read_lock_held_common+0x130/0x130 [ 786.082803][ C0] update_curr+0x693/0x8d0 [ 786.082806][ C0] ? sched_clock+0x2e/0x50 [ 786.082810][ C0] pick_next_task_fair+0x221/0xc70 [ 786.082812][ C0] __schedule+0x375/0x1f90 [ 786.082816][ C0] ? __sched_text_start+0x8/0x8 [ 786.082819][ C0] ? check_memory_region+0x2d/0x1a0 [ 786.082822][ C0] schedule+0xdc/0x2b0 [ 786.082825][ C0] paste_selection+0x2f5/0x460 [ 786.082828][ C0] ? vcs_remove_sysfs+0x60/0x60 [ 786.082831][ C0] ? lock_downgrade+0x920/0x920 [ 786.082833][ C0] ? wake_up_q+0x140/0x140 [ 786.082836][ C0] tioclinux+0x133/0x480 [ 786.082838][ C0] vt_ioctl+0x1a41/0x26d0 [ 786.082842][ C0] ? complete_change_console+0x3a0/0x3a0 [ 786.082844][ C0] ? lock_downgrade+0x920/0x920 [ 786.082847][ C0] ? rwlock_bug.part.0+0x90/0x90 [ 786.082850][ C0] ? tomoyo_path_number_perm+0x214/0x520 [ 786.082853][ C0] ? find_held_lock+0x35/0x130 [ 786.082856][ C0] ? tomoyo_path_number_perm+0x214/0x520 [ 786.082860][ C0] ? __sanitizer_cov_trace_switch+0x49/0x80 [ 786.082863][ C0] ? tty_jobctrl_ioctl+0x50/0xd40 [ 786.082866][ C0] ? complete_change_console+0x3a0/0x3a0 [ 786.082868][ C0] tty_ioctl+0xa37/0x14f0 [ 786.082871][ C0] ? tty_vhangup+0x30/0x30 [ 786.082874][ C0] ? tomoyo_path_number_perm+0x454/0x520 [ 786.082878][ C0] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 786.082882][ C0] ? tomoyo_path_number_perm+0x25e/0x520 [ 786.082885][ C0] ? tomoyo_execute_permission+0x4a0/0x4a0 [ 786.082888][ C0] ? ___might_sleep+0x163/0x2c0 [ 786.082891][ C0] ? tty_vhangup+0x30/0x30 [ 786.082893][ C0] do_vfs_ioctl+0x977/0x14e0 [ 786.082896][ C0] ? compat_ioctl_preallocate+0x220/0x220 [ 786.082899][ C0] ? selinux_file_mprotect+0x620/0x620 [ 786.082902][ C0] ? kmem_cache_free+0x26b/0x320 [ 786.082904][ C0] ? putname+0xf4/0x130 [ 786.082907][ C0] ? do_sys_open+0x31d/0x5d0 [ 786.082910][ C0] ? tomoyo_file_ioctl+0x23/0x30 [ 786.082913][ C0] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 786.082916][ C0] ? security_file_ioctl+0x8d/0xc0 [ 786.082919][ C0] ksys_ioctl+0xab/0xd0 [ 786.082921][ C0] __x64_sys_ioctl+0x73/0xb0 [ 786.082924][ C0] do_syscall_64+0xfa/0x790 [ 786.082927][ C0] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 786.082930][ C0] RIP: 0033:0x441219 [ 786.082939][ C0] Code: e8 3c ad 02 00 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 9b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 786.082942][ C0] RSP: 002b:00007fffbf09e3f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 786.082950][ C0] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441219 [ 786.082954][ C0] RDX: 00000000200000c0 RSI: 000000000000541c RDI: 0000000000000004 [ 786.082958][ C0] RBP: 000000000008ba8c R08: 000000000000000d R09: 00000000004002c8 [ 786.082962][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402040 [ 786.082966][ C0] R13: 00000000004020d0 R14: 0000000000000000 R15: 0000000000000000 [ 786.086190][ T1104] Kernel panic - not syncing: hung_task: blocked tasks [ 786.537717][ T1104] CPU: 1 PID: 1104 Comm: khungtaskd Not tainted 5.4.0-syzkaller #0 [ 786.545597][ T1104] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 786.555643][ T1104] Call Trace: [ 786.559379][ T1104] dump_stack+0x197/0x210 [ 786.563799][ T1104] panic+0x2e3/0x75c [ 786.567689][ T1104] ? add_taint.cold+0x16/0x16 [ 786.572362][ T1104] ? lapic_can_unplug_cpu.cold+0x3a/0x3a [ 786.578079][ T1104] ? ___preempt_schedule+0x16/0x18 [ 786.583190][ T1104] ? nmi_trigger_cpumask_backtrace+0x21b/0x28b [ 786.589340][ T1104] ? nmi_trigger_cpumask_backtrace+0x24c/0x28b [ 786.595488][ T1104] ? nmi_trigger_cpumask_backtrace+0x256/0x28b [ 786.602072][ T1104] ? nmi_trigger_cpumask_backtrace+0x21b/0x28b [ 786.608228][ T1104] watchdog+0xb22/0x10c0 [ 786.612475][ T1104] kthread+0x361/0x430 [ 786.616549][ T1104] ? reset_hung_task_detector+0x30/0x30 [ 786.622090][ T1104] ? kthread_mod_delayed_work+0x1f0/0x1f0 [ 786.627809][ T1104] ret_from_fork+0x24/0x30 [ 786.634324][ T1104] Kernel Offset: disabled [ 786.638775][ T1104] Rebooting in 86400 seconds..