[ 32.195422] audit: type=1800 audit(1576979512.809:33): pid=6852 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=2465 res=0 [ 32.223234] audit: type=1800 audit(1576979512.809:34): pid=6852 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=2456 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 37.512436] random: sshd: uninitialized urandom read (32 bytes read) [ 37.833091] audit: type=1400 audit(1576979518.449:35): avc: denied { map } for pid=7027 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 [ 37.883926] random: sshd: uninitialized urandom read (32 bytes read) [ 38.530199] random: sshd: uninitialized urandom read (32 bytes read) [ 820.234616] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.83' (ECDSA) to the list of known hosts. [ 825.701715] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program [ 825.822770] audit: type=1400 audit(1576980306.439:36): avc: denied { map } for pid=7040 comm="syz-executor619" path="/root/syz-executor619536813" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 1144.790147] INFO: task login:7531 blocked for more than 140 seconds. [ 1144.796888] Not tainted 4.14.160-syzkaller #0 [ 1144.803432] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 1144.811451] login D28096 7531 1 0x80000002 [ 1144.817142] Call Trace: [ 1144.819792] __schedule+0x7b8/0x1cd0 [ 1144.827175] ? firmware_map_remove+0x196/0x196 [ 1144.831880] ? trace_hardirqs_on+0x10/0x10 [ 1144.836239] schedule+0x92/0x1c0 [ 1144.839609] schedule_timeout+0x93b/0xe10 [ 1144.844241] ? __ldsem_down_write_nested+0x2fc/0x7b0 [ 1144.849376] ? find_held_lock+0x35/0x130 [ 1144.853765] ? usleep_range+0x130/0x130 [ 1144.857744] ? __ldsem_down_write_nested+0x2fc/0x7b0 [ 1144.863105] ? mark_held_locks+0xb1/0x100 [ 1144.867273] ? _raw_spin_unlock_irq+0x28/0x90 [ 1144.872689] ? trace_hardirqs_on_caller+0x400/0x590 [ 1144.877709] __ldsem_down_write_nested+0x304/0x7b0 [ 1144.882885] ? __ldsem_down_read_nested+0x5d0/0x5d0 [ 1144.887920] ldsem_down_write+0x33/0x39 [ 1144.892099] ? ldsem_down_write+0x33/0x39 [ 1144.896248] tty_ldisc_lock+0x50/0x80 [ 1144.900265] tty_ldisc_hangup+0x1a6/0x5e0 [ 1144.904487] __tty_hangup.part.0+0x2d3/0x6d0 [ 1144.908889] ? tty_read+0x270/0x270 [ 1144.912861] tty_vhangup_session+0x25/0x30 [ 1144.917147] disassociate_ctty.part.0+0x9b/0x6c0 [ 1144.922162] disassociate_ctty+0x78/0x90 [ 1144.926268] do_exit+0x1799/0x2c80 [ 1144.929847] ? security_file_permission+0x89/0x1f0 [ 1144.935215] ? rw_verify_area+0xea/0x2b0 [ 1144.939275] ? mm_update_next_owner+0x5d0/0x5d0 [ 1144.944199] ? vfs_write+0x104/0x500 [ 1144.947913] ? SyS_write+0x15e/0x230 [ 1144.952238] do_group_exit+0x111/0x330 [ 1144.956148] SyS_exit_group+0x1d/0x20 [ 1144.959952] ? do_group_exit+0x330/0x330 [ 1144.964372] do_syscall_64+0x1e8/0x640 [ 1144.968261] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 1144.973340] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 1144.978527] RIP: 0033:0x7fd80303a1e8 [ 1144.982507] RSP: 002b:00007ffe772104e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 1144.990243] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd80303a1e8 [ 1144.997508] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 1145.005713] RBP: 00007fd80330f840 R08: 00000000000000e7 R09: ffffffffffffffa8 [ 1145.013008] R10: 00007fd803315740 R11: 0000000000000246 R12: 00007fd80330f840 [ 1145.020601] R13: 0000000000000001 R14: 0000000000000001 R15: 000000000060b798 [ 1145.027887] [ 1145.027887] Showing all locks held in the system: [ 1145.034831] 1 lock held by khungtaskd/1038: [ 1145.039238] #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7f/0x21f [ 1145.048345] 2 locks held by getty/7014: [ 1145.052348] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1145.061061] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 [ 1145.070368] 2 locks held by getty/7015: [ 1145.074329] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1145.083038] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 [ 1145.092348] 2 locks held by getty/7016: [ 1145.096310] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1145.105018] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 [ 1145.114359] 2 locks held by getty/7017: [ 1145.118335] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1145.127089] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 [ 1145.136432] 2 locks held by getty/7018: [ 1145.140441] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1145.149115] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 [ 1145.158421] 2 locks held by getty/7019: [ 1145.162420] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1145.171115] #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e6/0x17d0 [ 1145.180444] 2 locks held by login/7531: [ 1145.184407] #0: (&tty->legacy_mutex){+.+.}, at: [] tty_lock+0x68/0x80 [ 1145.192767] #1: (&tty->ldisc_sem){++++}, at: [] ldsem_down_write+0x33/0x39 [ 1145.201566] 3 locks held by syz-executor619/7613: [ 1145.206395] #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x33/0x40 [ 1145.215089] #1: (&buf->lock){+.+.}, at: [] tty_buffer_lock_exclusive+0x1f/0x30 [ 1145.224236] #2: (&rq->lock){-.-.}, at: [] __schedule+0x1da/0x1cd0 [ 1145.232242] [ 1145.233864] ============================================= [ 1145.233864] [ 1145.242208] NMI backtrace for cpu 1 [ 1145.245852] CPU: 1 PID: 1038 Comm: khungtaskd Not tainted 4.14.160-syzkaller #0 [ 1145.253288] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1145.262645] Call Trace: [ 1145.265297] dump_stack+0x142/0x197 [ 1145.269047] nmi_cpu_backtrace.cold+0x57/0x94 [ 1145.273544] ? irq_force_complete_move.cold+0x7d/0x7d [ 1145.278732] nmi_trigger_cpumask_backtrace+0x141/0x189 [ 1145.284033] arch_trigger_cpumask_backtrace+0x14/0x20 [ 1145.289286] watchdog+0x5e7/0xb90 [ 1145.292783] kthread+0x319/0x430 [ 1145.296152] ? hungtask_pm_notify+0x50/0x50 [ 1145.300467] ? kthread_create_on_node+0xd0/0xd0 [ 1145.305162] ret_from_fork+0x24/0x30 [ 1145.308952] Sending NMI from CPU 1 to CPUs 0: [ 1145.313946] NMI backtrace for cpu 0 [ 1145.313950] CPU: 0 PID: 7613 Comm: syz-executor619 Not tainted 4.14.160-syzkaller #0 [ 1145.313953] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1145.313956] task: ffff8880848f8480 task.stack: ffff88809f2c0000 [ 1145.313959] RIP: 0010:trace_hardirqs_on+0xd/0x10 [ 1145.313962] RSP: 0018:ffff88809f2c78c8 EFLAGS: 00000046 [ 1145.313966] RAX: 0000000000000007 RBX: ffff8880848f8aa0 RCX: 1ffff1101091f1a9 [ 1145.313969] RDX: 0000000000000000 RSI: ffff8880848f8d28 RDI: ffff8880848f8cfc [ 1145.313972] RBP: ffff88809f2c78c8 R08: ffff8880848f8480 R09: ffff8880848f8d48 [ 1145.313975] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880aec2b540 [ 1145.313978] R13: ffff88809f2c7950 R14: ffff8880848f8480 R15: ffff8880aec2b540 [ 1145.313982] FS: 0000000002456880(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 [ 1145.313984] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1145.313987] CR2: 0000000000dce000 CR3: 00000000a51a5000 CR4: 00000000001406f0 [ 1145.313990] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1145.313993] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1145.313995] Call Trace: [ 1145.313997] _raw_spin_unlock_irq+0x28/0x90 [ 1145.313999] __schedule+0x137b/0x1cd0 [ 1145.314002] ? firmware_map_remove+0x196/0x196 [ 1145.314004] schedule+0x92/0x1c0 [ 1145.314006] paste_selection+0x293/0x3f2 [ 1145.314008] ? find_held_lock+0x35/0x130 [ 1145.314010] ? set_selection+0xe30/0xe30 [ 1145.314012] ? lock_downgrade+0x740/0x740 [ 1145.314015] ? wake_up_q+0xf0/0xf0 [ 1145.314016] tioclinux+0x10e/0x400 [ 1145.314018] vt_ioctl+0x180c/0x2170 [ 1145.314020] ? avc_has_extended_perms+0x8ec/0xe40 [ 1145.314023] ? complete_change_console+0x360/0x360 [ 1145.314025] ? avc_ss_reset+0x110/0x110 [ 1145.314027] ? do_raw_spin_unlock+0x16b/0x260 [ 1145.314029] ? tty_jobctrl_ioctl+0x44/0xc10 [ 1145.314031] ? _raw_spin_unlock+0x2d/0x50 [ 1145.314033] ? complete_change_console+0x360/0x360 [ 1145.314036] tty_ioctl+0x841/0x1320 [ 1145.314037] ? tty_vhangup+0x30/0x30 [ 1145.314040] ? __might_sleep+0x93/0xb0 [ 1145.314042] ? save_trace+0x290/0x290 [ 1145.314044] ? tty_vhangup+0x30/0x30 [ 1145.314046] do_vfs_ioctl+0x7ae/0x1060 [ 1145.314048] ? selinux_file_mprotect+0x5d0/0x5d0 [ 1145.314050] ? ioctl_preallocate+0x1c0/0x1c0 [ 1145.314052] ? lock_downgrade+0x740/0x740 [ 1145.314055] ? security_file_ioctl+0x7d/0xb0 [ 1145.314057] ? security_file_ioctl+0x89/0xb0 [ 1145.314059] SyS_ioctl+0x8f/0xc0 [ 1145.314061] ? do_vfs_ioctl+0x1060/0x1060 [ 1145.314063] do_syscall_64+0x1e8/0x640 [ 1145.314066] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 1145.314068] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 1145.314070] RIP: 0033:0x441219 [ 1145.314073] RSP: 002b:00007fff3a25af58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 1145.314078] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441219 [ 1145.314081] RDX: 0000000020000040 RSI: 000000000000541c RDI: 0000000000000003 [ 1145.314084] RBP: 00000000000cf93c R08: 000000000000000d R09: 00000000004002c8 [ 1145.314087] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402040 [ 1145.314089] R13: 00000000004020d0 R14: 0000000000000000 R15: 0000000000000000 [ 1145.314091] Code: 89 e8 68 9b 3f 00 e9 63 fe ff ff 48 c7 c7 20 3f b6 89 e8 57 9b 3f 00 e9 ba fe ff ff 66 90 55 48 89 e5 48 8b 7d 08 e8 63 fa ff ff <5d> c3 90 55 48 89 e5 41 57 41 56 41 55 41 54 49 89 fc 53 89 d3 [ 1145.314857] Kernel panic - not syncing: hung_task: blocked tasks [ 1145.638667] CPU: 1 PID: 1038 Comm: khungtaskd Not tainted 4.14.160-syzkaller #0 [ 1145.646103] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1145.655448] Call Trace: [ 1145.658035] dump_stack+0x142/0x197 [ 1145.661660] panic+0x1f9/0x42d [ 1145.664844] ? add_taint.cold+0x16/0x16 [ 1145.668813] ? ___preempt_schedule+0x16/0x18 [ 1145.678865] watchdog+0x5f8/0xb90 [ 1145.682318] kthread+0x319/0x430 [ 1145.685677] ? hungtask_pm_notify+0x50/0x50 [ 1145.689987] ? kthread_create_on_node+0xd0/0xd0 [ 1145.694652] ret_from_fork+0x24/0x30 [ 1145.700007] Kernel Offset: disabled [ 1145.703696] Rebooting in 86400 seconds..