[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 17.832516] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 21.703654] random: sshd: uninitialized urandom read (32 bytes read) [ 21.984384] random: sshd: uninitialized urandom read (32 bytes read) [ 22.699192] random: sshd: uninitialized urandom read (32 bytes read) [ 47.172815] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.1' (ECDSA) to the list of known hosts. [ 52.709189] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 53.243345] ================================================================== [ 53.250841] BUG: KASAN: user-memory-access in n_tty_set_termios+0x106/0xe80 [ 53.257925] Write of size 512 at addr 0000000000001060 by task syz-executor083/4478 [ 53.265707] [ 53.267318] CPU: 0 PID: 4478 Comm: syz-executor083 Not tainted 4.17.0-rc2+ #22 [ 53.274655] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.283991] Call Trace: [ 53.286572] dump_stack+0x1b9/0x294 [ 53.290189] ? dump_stack_print_info.cold.2+0x52/0x52 [ 53.295365] ? kasan_check_write+0x14/0x20 [ 53.299586] ? do_raw_spin_lock+0xc1/0x200 [ 53.303806] ? vprintk_func+0x81/0xe7 [ 53.307590] ? n_tty_set_termios+0x106/0xe80 [ 53.311984] kasan_report.cold.7+0x6d/0x2fe [ 53.316287] check_memory_region+0x13e/0x1b0 [ 53.320678] memset+0x23/0x40 [ 53.323767] n_tty_set_termios+0x106/0xe80 [ 53.328002] ? n_tty_receive_signal_char+0x120/0x120 [ 53.333103] tty_set_termios+0x7a0/0xac0 [ 53.337158] ? tty_wait_until_sent+0x5b0/0x5b0 [ 53.341729] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.347263] set_termios+0x41e/0x7d0 [ 53.350960] ? tty_perform_flush+0x80/0x80 [ 53.355180] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.360701] tty_mode_ioctl+0x855/0xb50 [ 53.364661] ? set_termios+0x7d0/0x7d0 [ 53.368536] ? check_same_owner+0x320/0x320 [ 53.372854] ? exit_robust_list+0x290/0x290 [ 53.377165] n_tty_ioctl_helper+0x54/0x3b0 [ 53.381395] n_tty_ioctl+0x54/0x320 [ 53.385007] ? ldsem_down_read+0x37/0x40 [ 53.389048] ? ldsem_down_read+0x37/0x40 [ 53.393091] tty_ioctl+0x5e1/0x1870 [ 53.396701] ? commit_echoes+0x1d0/0x1d0 [ 53.400746] ? tty_vhangup+0x30/0x30 [ 53.404445] ? rcu_is_watching+0x85/0x140 [ 53.408575] ? rcu_bh_force_quiescent_state+0x20/0x20 [ 53.414016] ? __fget+0x40c/0x650 [ 53.417467] ? expand_files.part.8+0x9a0/0x9a0 [ 53.422030] ? fget_raw+0x20/0x20 [ 53.425469] ? tty_vhangup+0x30/0x30 [ 53.429168] do_vfs_ioctl+0x1cf/0x16a0 [ 53.433038] ? rcu_pm_notify+0xc0/0xc0 [ 53.436906] ? trace_hardirqs_off+0xd/0x10 [ 53.441157] ? ioctl_preallocate+0x2e0/0x2e0 [ 53.445548] ? fget_raw+0x20/0x20 [ 53.448985] ? sockfd_lookup_light+0xc5/0x160 [ 53.453468] ? __x64_sys_futex+0x477/0x680 [ 53.457688] ? do_futex+0x27d0/0x27d0 [ 53.461477] ? security_file_ioctl+0x94/0xc0 [ 53.465888] ksys_ioctl+0xa9/0xd0 [ 53.469344] __x64_sys_ioctl+0x73/0xb0 [ 53.473214] do_syscall_64+0x1b1/0x800 [ 53.477087] ? finish_task_switch+0x1ca/0x810 [ 53.481567] ? syscall_return_slowpath+0x5c0/0x5c0 [ 53.486482] ? syscall_return_slowpath+0x30f/0x5c0 [ 53.491401] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 53.496754] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.501596] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.506787] RIP: 0033:0x445dc9 [ 53.509964] RSP: 002b:00007f5f51db2da8 EFLAGS: 00000297 ORIG_RAX: 0000000000000010 [ 53.517651] RAX: ffffffffffffffda RBX: 00000000006dac44 RCX: 0000000000445dc9 [ 53.524900] RDX: 0000000020000040 RSI: 0000000000005402 RDI: 0000000000000094 [ 53.532150] RBP: 00000000006dac40 R08: 0000000000000000 R09: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 53.539399] R10: 0000000000000000 R11: 0000000000000297 R12: 702f74656e2f666c [ 53.546647] R13: 65732f636f72702f R14: 7475612f7665642f R15: 000000000000000b [ 53.553904] ================================================================== [ 53.561235] Disabling lock debugging due to kernel taint [ 53.566818] Kernel panic - not syncing: panic_on_warn set ... [ 53.566818] [ 53.574170] CPU: 0 PID: 4478 Comm: syz-executor083 Tainted: G B 4.17.0-rc2+ #22 [ 53.582895] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.592229] Call Trace: [ 53.594801] dump_stack+0x1b9/0x294 [ 53.598406] ? dump_stack_print_info.cold.2+0x52/0x52 [ 53.603574] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 53.608309] ? n_tty_set_termios+0x20/0xe80 [ 53.612608] panic+0x22f/0x4de [ 53.615775] ? add_taint.cold.5+0x16/0x16 [ 53.619901] ? do_raw_spin_unlock+0x9e/0x2e0 [ 53.624286] ? do_raw_spin_unlock+0x9e/0x2e0 [ 53.628671] ? n_tty_set_termios+0x106/0xe80 [ 53.633057] kasan_end_report+0x47/0x4f [ 53.637009] kasan_report.cold.7+0x76/0x2fe [ 53.641308] check_memory_region+0x13e/0x1b0 [ 53.645691] memset+0x23/0x40 [ 53.648773] n_tty_set_termios+0x106/0xe80 [ 53.652984] ? n_tty_receive_signal_char+0x120/0x120 [ 53.658062] tty_set_termios+0x7a0/0xac0 [ 53.662123] ? tty_wait_until_sent+0x5b0/0x5b0 [ 53.666686] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.672200] set_termios+0x41e/0x7d0 [ 53.675892] ? tty_perform_flush+0x80/0x80 [ 53.680107] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.685632] tty_mode_ioctl+0x855/0xb50 [ 53.689584] ? set_termios+0x7d0/0x7d0 [ 53.693450] ? check_same_owner+0x320/0x320 [ 53.697749] ? exit_robust_list+0x290/0x290 [ 53.702047] n_tty_ioctl_helper+0x54/0x3b0 [ 53.706258] n_tty_ioctl+0x54/0x320 [ 53.709865] ? ldsem_down_read+0x37/0x40 [ 53.714064] ? ldsem_down_read+0x37/0x40 [ 53.718104] tty_ioctl+0x5e1/0x1870 [ 53.721707] ? commit_echoes+0x1d0/0x1d0 [ 53.725916] ? tty_vhangup+0x30/0x30 [ 53.729606] ? rcu_is_watching+0x85/0x140 [ 53.733729] ? rcu_bh_force_quiescent_state+0x20/0x20 [ 53.738908] ? __fget+0x40c/0x650 [ 53.742347] ? expand_files.part.8+0x9a0/0x9a0 [ 53.746907] ? fget_raw+0x20/0x20 [ 53.750341] ? tty_vhangup+0x30/0x30 [ 53.754033] do_vfs_ioctl+0x1cf/0x16a0 [ 53.757896] ? rcu_pm_notify+0xc0/0xc0 [ 53.761759] ? trace_hardirqs_off+0xd/0x10 [ 53.765983] ? ioctl_preallocate+0x2e0/0x2e0 [ 53.770368] ? fget_raw+0x20/0x20 [ 53.773811] ? sockfd_lookup_light+0xc5/0x160 [ 53.778294] ? __x64_sys_futex+0x477/0x680 [ 53.782505] ? do_futex+0x27d0/0x27d0 [ 53.786285] ? security_file_ioctl+0x94/0xc0 [ 53.790669] ksys_ioctl+0xa9/0xd0 [ 53.794100] __x64_sys_ioctl+0x73/0xb0 [ 53.797965] do_syscall_64+0x1b1/0x800 [ 53.801829] ? finish_task_switch+0x1ca/0x810 [ 53.806302] ? syscall_return_slowpath+0x5c0/0x5c0 [ 53.811209] ? syscall_return_slowpath+0x30f/0x5c0 [ 53.816117] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 53.821457] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.826277] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.831441] RIP: 0033:0x445dc9 [ 53.834605] RSP: 002b:00007f5f51db2da8 EFLAGS: 00000297 ORIG_RAX: 0000000000000010 [ 53.842298] RAX: ffffffffffffffda RBX: 00000000006dac44 RCX: 0000000000445dc9 [ 53.849542] RDX: 0000000020000040 RSI: 0000000000005402 RDI: 0000000000000094 [ 53.856786] RBP: 00000000006dac40 R08: 0000000000000000 R09: 0000000000000000 [ 53.864042] R10: 0000000000000000 R11: 0000000000000297 R12: 702f74656e2f666c [ 53.871286] R13: 65732f636f72702f R14: 7475612f7665642f R15: 000000000000000b [ 53.878912] Dumping ftrace buffer: [ 53.882428] (ftrace buffer empty) [ 53.886112] Kernel Offset: disabled [ 53.889715] Rebooting in 86400 seconds..