[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 19.588270] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. [ 19.963338] random: sshd: uninitialized urandom read (32 bytes read) [ 20.279409] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 21.022825] random: sshd: uninitialized urandom read (32 bytes read) [ 21.181206] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.46' (ECDSA) to the list of known hosts. [ 26.615760] 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 [ 27.045516] ================================================================== [ 27.053015] BUG: KASAN: user-memory-access in n_tty_set_termios+0x106/0xe80 [ 27.060129] Write of size 512 at addr 0000000000001060 by task syz-executor304/4546 [ 27.067925] [ 27.069570] CPU: 1 PID: 4546 Comm: syz-executor304 Not tainted 4.17.0-rc5+ #59 [ 27.076938] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.086302] Call Trace: [ 27.088913] dump_stack+0x1b9/0x294 [ 27.092566] ? dump_stack_print_info.cold.2+0x52/0x52 [ 27.097777] ? kasan_check_write+0x14/0x20 [ 27.102033] ? do_raw_spin_lock+0xc1/0x200 [ 27.106285] ? vprintk_func+0x81/0xe7 [ 27.110105] ? n_tty_set_termios+0x106/0xe80 [ 27.114535] kasan_report.cold.7+0x6d/0x2fe [ 27.118880] check_memory_region+0x13e/0x1b0 [ 27.123305] memset+0x23/0x40 [ 27.126429] n_tty_set_termios+0x106/0xe80 [ 27.130682] ? n_tty_receive_signal_char+0x120/0x120 [ 27.135805] tty_set_termios+0x7a0/0xac0 [ 27.139890] ? tty_wait_until_sent+0x5b0/0x5b0 [ 27.144502] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 27.150067] set_termios+0x41e/0x7d0 [ 27.153810] ? tty_perform_flush+0x80/0x80 [ 27.158069] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 27.163619] tty_mode_ioctl+0x855/0xb50 [ 27.167604] ? set_termios+0x7d0/0x7d0 [ 27.171524] ? check_same_owner+0x320/0x320 [ 27.175862] ? exit_robust_list+0x290/0x290 [ 27.180199] n_tty_ioctl_helper+0x54/0x3b0 [ 27.184453] n_tty_ioctl+0x54/0x320 [ 27.188074] ? ldsem_down_read+0x37/0x40 [ 27.192132] ? ldsem_down_read+0x37/0x40 [ 27.196188] tty_ioctl+0x5e1/0x1870 [ 27.199813] ? commit_echoes+0x1d0/0x1d0 [ 27.203880] ? tty_vhangup+0x30/0x30 [ 27.207585] ? rcu_is_watching+0x85/0x140 [ 27.211722] ? rcu_bh_force_quiescent_state+0x20/0x20 [ 27.216913] ? __fget+0x40c/0x650 [ 27.220366] ? expand_files.part.8+0x9a0/0x9a0 [ 27.224947] ? trace_hardirqs_off+0xd/0x10 [ 27.229177] ? _raw_spin_unlock_irqrestore+0x63/0xc0 [ 27.234280] ? tty_vhangup+0x30/0x30 [ 27.237984] do_vfs_ioctl+0x1cf/0x16a0 [ 27.241861] ? rcu_pm_notify+0xc0/0xc0 [ 27.245740] ? trace_hardirqs_off+0xd/0x10 [ 27.249981] ? ioctl_preallocate+0x2e0/0x2e0 [ 27.254392] ? fget_raw+0x20/0x20 [ 27.257840] ? kmem_cache_free+0x25c/0x2d0 [ 27.262072] ? __x64_sys_futex+0x477/0x680 [ 27.266302] ? do_futex+0x27d0/0x27d0 [ 27.270108] ? security_file_ioctl+0x94/0xc0 [ 27.274532] ksys_ioctl+0xa9/0xd0 [ 27.277986] __x64_sys_ioctl+0x73/0xb0 [ 27.281875] do_syscall_64+0x1b1/0x800 [ 27.285753] ? finish_task_switch+0x1ca/0x840 [ 27.290256] ? syscall_return_slowpath+0x5c0/0x5c0 [ 27.295192] ? syscall_return_slowpath+0x30f/0x5c0 [ 27.300134] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 27.305494] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.310329] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 27.315509] RIP: 0033:0x445cf9 [ 27.318686] RSP: 002b:00007fc8a9b06d18 EFLAGS: 00000297 ORIG_RAX: 0000000000000010 [ 27.326391] RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 0000000000445cf9 [ 27.333654] RDX: 0000000020000040 RSI: 0000000000005402 RDI: 0000000000000079 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 27.340916] RBP: 00000000006dac20 R08: 0000000000000000 R09: 0000000000000000 [ 27.348186] R10: 0000000000000000 R11: 0000000000000297 R12: 6d74702f7665642f [ 27.355449] R13: 00007ffc0222b2bf R14: 00007fc8a9b079c0 R15: 0000000000000007 [ 27.363193] ================================================================== [ 27.370551] Disabling lock debugging due to kernel taint [ 27.376099] Kernel panic - not syncing: panic_on_warn set ... [ 27.376099] [ 27.383467] CPU: 1 PID: 4546 Comm: syz-executor304 Tainted: G B 4.17.0-rc5+ #59 [ 27.392206] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.401550] Call Trace: [ 27.404124] dump_stack+0x1b9/0x294 [ 27.407756] ? dump_stack_print_info.cold.2+0x52/0x52 [ 27.412945] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.417696] ? n_tty_set_termios+0xf0/0xe80 [ 27.422003] panic+0x22f/0x4de [ 27.425202] ? add_taint.cold.5+0x16/0x16 [ 27.429373] ? do_raw_spin_unlock+0x9e/0x2e0 [ 27.433798] ? do_raw_spin_unlock+0x9e/0x2e0 [ 27.438223] ? n_tty_set_termios+0x106/0xe80 [ 27.442644] kasan_end_report+0x47/0x4f [ 27.446628] kasan_report.cold.7+0x76/0x2fe [ 27.450965] check_memory_region+0x13e/0x1b0 [ 27.455391] memset+0x23/0x40 [ 27.458510] n_tty_set_termios+0x106/0xe80 [ 27.462847] ? n_tty_receive_signal_char+0x120/0x120 [ 27.467968] tty_set_termios+0x7a0/0xac0 [ 27.472042] ? tty_wait_until_sent+0x5b0/0x5b0 [ 27.476643] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 27.482201] set_termios+0x41e/0x7d0 [ 27.485928] ? tty_perform_flush+0x80/0x80 [ 27.490185] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 27.495742] tty_mode_ioctl+0x855/0xb50 [ 27.499725] ? set_termios+0x7d0/0x7d0 [ 27.503636] ? check_same_owner+0x320/0x320 [ 27.507967] ? exit_robust_list+0x290/0x290 [ 27.512309] n_tty_ioctl_helper+0x54/0x3b0 [ 27.516552] n_tty_ioctl+0x54/0x320 [ 27.520188] ? ldsem_down_read+0x37/0x40 [ 27.524258] ? ldsem_down_read+0x37/0x40 [ 27.528333] tty_ioctl+0x5e1/0x1870 [ 27.531961] ? commit_echoes+0x1d0/0x1d0 [ 27.536026] ? tty_vhangup+0x30/0x30 [ 27.539754] ? rcu_is_watching+0x85/0x140 [ 27.543911] ? rcu_bh_force_quiescent_state+0x20/0x20 [ 27.549120] ? __fget+0x40c/0x650 [ 27.552593] ? expand_files.part.8+0x9a0/0x9a0 [ 27.557185] ? trace_hardirqs_off+0xd/0x10 [ 27.561429] ? _raw_spin_unlock_irqrestore+0x63/0xc0 [ 27.566553] ? tty_vhangup+0x30/0x30 [ 27.570278] do_vfs_ioctl+0x1cf/0x16a0 [ 27.574171] ? rcu_pm_notify+0xc0/0xc0 [ 27.578058] ? trace_hardirqs_off+0xd/0x10 [ 27.582306] ? ioctl_preallocate+0x2e0/0x2e0 [ 27.586730] ? fget_raw+0x20/0x20 [ 27.590193] ? kmem_cache_free+0x25c/0x2d0 [ 27.594438] ? __x64_sys_futex+0x477/0x680 [ 27.598683] ? do_futex+0x27d0/0x27d0 [ 27.602494] ? security_file_ioctl+0x94/0xc0 [ 27.606912] ksys_ioctl+0xa9/0xd0 [ 27.610377] __x64_sys_ioctl+0x73/0xb0 [ 27.614272] do_syscall_64+0x1b1/0x800 [ 27.618163] ? finish_task_switch+0x1ca/0x840 [ 27.622667] ? syscall_return_slowpath+0x5c0/0x5c0 [ 27.627604] ? syscall_return_slowpath+0x30f/0x5c0 [ 27.632549] ? entry_SYSCALL_64_after_hwframe+0x59/0xbe [ 27.637934] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.642795] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 27.647990] RIP: 0033:0x445cf9 [ 27.651180] RSP: 002b:00007fc8a9b06d18 EFLAGS: 00000297 ORIG_RAX: 0000000000000010 [ 27.658900] RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 0000000000445cf9 [ 27.666183] RDX: 0000000020000040 RSI: 0000000000005402 RDI: 0000000000000079 [ 27.673464] RBP: 00000000006dac20 R08: 0000000000000000 R09: 0000000000000000 [ 27.680739] R10: 0000000000000000 R11: 0000000000000297 R12: 6d74702f7665642f [ 27.688011] R13: 00007ffc0222b2bf R14: 00007fc8a9b079c0 R15: 0000000000000007 [ 27.695765] Dumping ftrace buffer: [ 27.699296] (ftrace buffer empty) [ 27.702987] Kernel Offset: disabled [ 27.706602] Rebooting in 86400 seconds..