[....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 28.791858] random: sshd: uninitialized urandom read (32 bytes read) [ 29.076601] audit: type=1400 audit(1543387187.494:6): avc: denied { map } for pid=1764 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 [ 29.114191] random: sshd: uninitialized urandom read (32 bytes read) [ 29.587269] random: sshd: uninitialized urandom read (32 bytes read) [ 83.762348] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.75' (ECDSA) to the list of known hosts. [ 89.499447] random: sshd: uninitialized urandom read (32 bytes read) [ 89.592350] audit: type=1400 audit(1543387248.014:7): avc: denied { map } for pid=1812 comm="syz-execprog" path="/root/syz-execprog" 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 2018/11/28 06:40:48 parsed 1 programs [ 90.141349] audit: type=1400 audit(1543387248.564:8): avc: denied { map } for pid=1812 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=4999 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1 [ 90.790996] random: cc1: uninitialized urandom read (8 bytes read) 2018/11/28 06:40:50 executed programs: 0 2018/11/28 06:40:55 executed programs: 271 2018/11/28 06:41:00 executed programs: 749 2018/11/28 06:41:05 executed programs: 1228 INIT: Id "3" respawning too fast: disabled for 5 minutes INIT: Id "6" respawning too fast: disabled for 5 minutes INIT: Id "2" respawning too fast: disabled for 5 minutes INIT: Id "5" respawning too fast: disabled for 5 minutes INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: Id "4" respawning too fast: disabled for 5 minutes 2018/11/28 06:41:10 executed programs: 1707 [ 113.681170] ================================================================== [ 113.688626] BUG: KASAN: user-memory-access in n_tty_set_termios+0xee/0xcb0 [ 113.695632] Write of size 512 at addr 0000000000001060 by task syz-executor0/9106 [ 113.703222] [ 113.704836] CPU: 1 PID: 9106 Comm: syz-executor0 Not tainted 4.14.84+ #10 [ 113.711735] Call Trace: [ 113.714304] dump_stack+0xb9/0x11b [ 113.717824] kasan_report.cold.6+0x6d/0x2dd [ 113.722119] ? n_tty_set_termios+0xee/0xcb0 [ 113.726418] memset+0x1f/0x40 [ 113.729506] n_tty_set_termios+0xee/0xcb0 [ 113.733652] ? process_echoes+0x140/0x140 [ 113.737779] tty_set_termios+0x5fd/0x860 [ 113.741819] ? tty_wait_until_sent+0x480/0x480 [ 113.746377] ? lock_downgrade+0x560/0x560 [ 113.750518] set_termios+0x2bf/0x440 [ 113.754226] ? __tty_perform_flush+0x200/0x200 [ 113.758800] tty_mode_ioctl+0x870/0x920 [ 113.762781] ? tty_perform_flush+0x70/0x70 [ 113.766995] ? __ldsem_down_read_nested+0xb6/0x5b0 [ 113.771906] ? __ldsem_down_read_nested+0xd4/0x5b0 [ 113.776811] ? wake_up_q+0xed/0x150 [ 113.780425] ? hash_futex+0x12/0x200 [ 113.784118] ? __ldsem_wake+0x320/0x320 [ 113.788073] ? avc_has_extended_perms+0x406/0xd50 [ 113.792897] n_tty_ioctl_helper+0x3f/0x350 [ 113.797108] n_tty_ioctl+0x43/0x2e0 [ 113.800727] ? pty_write_room+0xc0/0xc0 [ 113.804681] tty_ioctl+0x551/0x13e0 [ 113.808284] ? n_tty_receive_buf+0x40/0x40 [ 113.812494] ? tty_vhangup+0x30/0x30 [ 113.816202] ? avc_ss_reset+0x100/0x100 [ 113.820213] ? __lock_acquire+0x619/0x4320 [ 113.824433] ? trace_hardirqs_on+0x10/0x10 [ 113.828649] ? trace_hardirqs_on+0x10/0x10 [ 113.832862] ? trace_hardirqs_on+0x10/0x10 [ 113.837083] ? tty_vhangup+0x30/0x30 [ 113.840774] do_vfs_ioctl+0x1a0/0x1030 [ 113.844644] ? ioctl_preallocate+0x1d0/0x1d0 [ 113.849042] ? selinux_parse_skb.constprop.42+0x1a90/0x1a90 [ 113.854731] ? __lockdep_init_map+0xb2/0x480 [ 113.859116] ? lock_acquire+0x10f/0x380 [ 113.863064] ? check_preemption_disabled+0x34/0x1e0 [ 113.868056] ? assoc_array_gc+0x10eb/0x1120 [ 113.872361] ? __fget+0x22b/0x3a0 [ 113.875795] ? security_file_ioctl+0x7c/0xb0 [ 113.880182] SyS_ioctl+0x7e/0xb0 [ 113.883529] ? do_vfs_ioctl+0x1030/0x1030 [ 113.887658] do_syscall_64+0x19b/0x4b0 [ 113.891532] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 113.896701] RIP: 0033:0x457569 [ 113.899866] RSP: 002b:00007f62fd01dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 113.907568] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 [ 113.914819] RDX: 0000000020000140 RSI: 0000000000005402 RDI: 0000000000000005 [ 113.922082] RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 [ 113.929326] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f62fd01e6d4 [ 113.936571] R13: 00000000004c10be R14: 00000000004d2410 R15: 00000000ffffffff [ 113.943823] ================================================================== [ 113.951156] Disabling lock debugging due to kernel taint [ 113.956952] Kernel panic - not syncing: panic_on_warn set ... [ 113.956952] [ 113.964334] CPU: 1 PID: 9106 Comm: syz-executor0 Tainted: G B 4.14.84+ #10 [ 113.972448] Call Trace: [ 113.975016] dump_stack+0xb9/0x11b [ 113.978532] panic+0x1bf/0x3a4 [ 113.981703] ? add_taint.cold.4+0x16/0x16 [ 113.985826] ? ___preempt_schedule+0x16/0x18 [ 113.990216] kasan_end_report+0x43/0x49 [ 113.994171] kasan_report.cold.6+0x77/0x2dd [ 113.998470] ? n_tty_set_termios+0xee/0xcb0 [ 114.002766] memset+0x1f/0x40 [ 114.005848] n_tty_set_termios+0xee/0xcb0 [ 114.009972] ? process_echoes+0x140/0x140 [ 114.014094] tty_set_termios+0x5fd/0x860 [ 114.018130] ? tty_wait_until_sent+0x480/0x480 [ 114.022691] ? lock_downgrade+0x560/0x560 [ 114.026844] set_termios+0x2bf/0x440 [ 114.030538] ? __tty_perform_flush+0x200/0x200 [ 114.035096] tty_mode_ioctl+0x870/0x920 [ 114.039052] ? tty_perform_flush+0x70/0x70 [ 114.043271] ? __ldsem_down_read_nested+0xb6/0x5b0 [ 114.048172] ? __ldsem_down_read_nested+0xd4/0x5b0 [ 114.053090] ? wake_up_q+0xed/0x150 [ 114.056689] ? hash_futex+0x12/0x200 [ 114.060395] ? __ldsem_wake+0x320/0x320 [ 114.064378] ? avc_has_extended_perms+0x406/0xd50 [ 114.069196] n_tty_ioctl_helper+0x3f/0x350 [ 114.073407] n_tty_ioctl+0x43/0x2e0 [ 114.077013] ? pty_write_room+0xc0/0xc0 [ 114.080963] tty_ioctl+0x551/0x13e0 [ 114.084565] ? n_tty_receive_buf+0x40/0x40 [ 114.088773] ? tty_vhangup+0x30/0x30 [ 114.092465] ? avc_ss_reset+0x100/0x100 [ 114.096418] ? __lock_acquire+0x619/0x4320 [ 114.100630] ? trace_hardirqs_on+0x10/0x10 [ 114.104842] ? trace_hardirqs_on+0x10/0x10 [ 114.109051] ? trace_hardirqs_on+0x10/0x10 [ 114.113279] ? tty_vhangup+0x30/0x30 [ 114.116972] do_vfs_ioctl+0x1a0/0x1030 [ 114.120844] ? ioctl_preallocate+0x1d0/0x1d0 [ 114.125238] ? selinux_parse_skb.constprop.42+0x1a90/0x1a90 [ 114.130923] ? __lockdep_init_map+0xb2/0x480 [ 114.135305] ? lock_acquire+0x10f/0x380 [ 114.139255] ? check_preemption_disabled+0x34/0x1e0 [ 114.144254] ? assoc_array_gc+0x10eb/0x1120 [ 114.148567] ? __fget+0x22b/0x3a0 [ 114.152015] ? security_file_ioctl+0x7c/0xb0 [ 114.156401] SyS_ioctl+0x7e/0xb0 [ 114.159744] ? do_vfs_ioctl+0x1030/0x1030 [ 114.163867] do_syscall_64+0x19b/0x4b0 [ 114.167733] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 114.172896] RIP: 0033:0x457569 [ 114.176063] RSP: 002b:00007f62fd01dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 114.183744] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 [ 114.190987] RDX: 0000000020000140 RSI: 0000000000005402 RDI: 0000000000000005 [ 114.198240] RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 [ 114.205497] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f62fd01e6d4 [ 114.212745] R13: 00000000004c10be R14: 00000000004d2410 R15: 00000000ffffffff [ 114.220347] Kernel Offset: 0x25c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 114.231282] Rebooting in 86400 seconds..