[....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 12.302626] random: sshd: uninitialized urandom read (32 bytes read) [ 12.450764] audit: type=1400 audit(1571751765.722:6): avc: denied { map } for pid=1758 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 [ 12.495178] random: sshd: uninitialized urandom read (32 bytes read) [ 13.039633] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 20.008408] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.81' (ECDSA) to the list of known hosts. [ 25.571460] 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 [ 25.666154] audit: type=1400 audit(1571751778.932:7): avc: denied { map } for pid=1776 comm="syz-executor659" path="/root/syz-executor659510058" dev="sda1" ino=2339 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 [ 26.173905] ================================================================== [ 26.181598] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x169f/0x1810 [ 26.189581] Read of size 8 at addr ffff8881c394f860 by task syz-executor659/1885 [ 26.197368] [ 26.199006] CPU: 0 PID: 1885 Comm: syz-executor659 Not tainted 4.14.150+ #0 [ 26.207751] Call Trace: [ 26.210358] dump_stack+0xca/0x134 [ 26.213917] ? unwind_next_frame+0x169f/0x1810 [ 26.218649] ? unwind_next_frame+0x169f/0x1810 [ 26.223952] print_address_description+0x60/0x226 [ 26.229761] ? unwind_next_frame+0x169f/0x1810 [ 26.235137] ? unwind_next_frame+0x169f/0x1810 [ 26.241724] __kasan_report.cold+0x1a/0x41 [ 26.262136] ? unwind_next_frame+0x169f/0x1810 [ 26.277384] unwind_next_frame+0x169f/0x1810 [ 26.283577] ? retint_kernel+0x2d/0x2d [ 26.287686] ? perf_callchain_user+0x4a7/0xf80 [ 26.300556] ? deref_stack_reg+0xe0/0xe0 [ 26.313630] ? perf_callchain_user+0x2d1/0xf80 [ 26.331646] ? retint_kernel+0x2d/0x2d [ 26.342875] perf_callchain_kernel+0x3a0/0x540 [ 26.351347] ? perf_callchain_kernel+0x540/0x540 [ 26.360714] ? arch_perf_update_userpage+0x330/0x330 [ 26.367136] ? futex_wait_setup+0x132/0x330 [ 26.377154] get_perf_callchain+0x2f5/0x770 [ 26.385207] ? put_callchain_buffers+0x60/0x60 [ 26.393719] ? perf_callchain+0x150/0x190 [ 26.400243] perf_callchain+0x147/0x190 [ 26.407889] perf_prepare_sample+0x6a8/0x1360 [ 26.415844] ? perf_output_sample+0x1700/0x1700 [ 26.427624] ? perf_prepare_sample+0x1360/0x1360 [ 26.435718] ? perf_event_output_forward+0x12f/0x220 [ 26.446304] ? lock_downgrade+0x630/0x630 [ 26.451775] perf_event_output_forward+0xdc/0x220 [ 26.458451] ? perf_prepare_sample+0x1360/0x1360 [ 26.473618] ? __perf_event_overflow+0x1cc/0x340 [ 26.484773] ? check_preemption_disabled+0x35/0x1f0 [ 26.497236] __perf_event_overflow+0x12d/0x340 [ 26.505679] perf_swevent_overflow+0x7a/0xf0 [ 26.525098] perf_swevent_event+0x112/0x270 [ 26.532324] perf_tp_event+0x633/0x7f0 [ 26.537988] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 26.544845] ? trace_hardirqs_on+0x10/0x10 [ 26.549088] ? __lock_acquire+0x5d7/0x4320 [ 26.555183] ? perf_trace_run_bpf_submit+0x113/0x170 [ 26.560833] ? check_preemption_disabled+0x35/0x1f0 [ 26.567681] perf_trace_run_bpf_submit+0x113/0x170 [ 26.572642] perf_trace_lock_acquire+0x341/0x4e0 [ 26.577926] ? HARDIRQ_verbose+0x10/0x10 [ 26.582518] ? retint_kernel+0x2d/0x2d [ 26.586585] ? get_futex_key+0x4c1/0xf90 [ 26.590660] lock_acquire+0x279/0x360 [ 26.594465] ? futex_wait_setup+0x132/0x330 [ 26.598795] _raw_spin_lock+0x2a/0x40 [ 26.602611] ? futex_wait_setup+0x132/0x330 [ 26.606935] futex_wait_setup+0x132/0x330 [ 26.611282] ? futex_wake+0x440/0x440 [ 26.615566] futex_wait+0x1ad/0x570 [ 26.619313] ? futex_wait_setup+0x330/0x330 [ 26.624043] ? wake_up_q+0xea/0x150 [ 26.627689] ? drop_futex_key_refs.isra.0+0x17/0xb0 [ 26.633671] ? futex_wake+0x15b/0x440 [ 26.637483] ? HARDIRQ_verbose+0x10/0x10 [ 26.642145] ? SyS_perf_event_open+0x1a4d/0x2560 [ 26.646910] do_futex+0x13f/0x1980 [ 26.650454] ? lock_downgrade+0x630/0x630 [ 26.654886] ? lock_acquire+0x12b/0x360 [ 26.658863] ? check_preemption_disabled+0x35/0x1f0 [ 26.664711] ? exit_robust_list+0x240/0x240 [ 26.670476] ? __mutex_unlock_slowpath+0xff/0x690 [ 26.677635] ? get_unused_fd_flags+0xc0/0xc0 [ 26.683178] ? SyS_perf_event_open+0x19c3/0x2560 [ 26.688383] ? wait_for_completion_io+0x10/0x10 [ 26.694602] ? mark_held_locks+0xa6/0xf0 [ 26.702176] ? do_raw_spin_lock+0xb4/0x1d0 [ 26.709713] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 26.721913] ? SyS_perf_event_open+0x633/0x2560 [ 26.727074] SyS_futex+0x1c5/0x2c3 [ 26.732709] ? do_futex+0x1980/0x1980 [ 26.737852] ? do_syscall_64+0x43/0x520 [ 26.742698] ? do_futex+0x1980/0x1980 [ 26.747027] do_syscall_64+0x19b/0x520 [ 26.750940] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 26.756131] RIP: 0033:0x4467e9 [ 26.759763] RSP: 002b:00007f62a0219db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 26.767560] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 00000000004467e9 [ 26.774920] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 [ 26.782279] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 26.789548] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 26.796912] R13: 00007ffe56419e3f R14: 00007f62a021a9c0 R15: 0000000000000000 [ 26.804183] [ 26.805811] The buggy address belongs to the page: [ 26.810731] page:ffffea00070e53c0 count:0 mapcount:0 mapping: (null) index:0x0 [ 26.819906] flags: 0x4000000000000000() [ 26.824182] raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff [ 26.832612] raw: 0000000000000000 ffffea00070e53e0 0000000000000000 0000000000000000 [ 26.842979] page dumped because: kasan: bad access detected [ 26.848688] [ 26.850318] Memory state around the buggy address: [ 26.855336] ffff8881c394f700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.863566] ffff8881c394f780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.871017] >ffff8881c394f800: 00 00 00 f1 f1 f1 f1 f1 f1 04 f2 00 f3 f3 f3 00 [ 26.880891] ^ [ 26.888710] ffff8881c394f880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.897885] ffff8881c394f900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.905949] ================================================================== [ 26.914574] Disabling lock debugging due to kernel taint [ 26.922200] Kernel panic - not syncing: panic_on_warn set ... [ 26.922200] [ 26.931766] CPU: 0 PID: 1885 Comm: syz-executor659 Tainted: G B 4.14.150+ #0 [ 26.941392] Call Trace: [ 26.943991] dump_stack+0xca/0x134 [ 26.947627] panic+0x1f1/0x3da [ 26.950845] ? add_taint.cold+0x16/0x16 [ 26.960693] ? lock_downgrade+0x630/0x630 [ 26.964856] ? unwind_next_frame+0x169f/0x1810 [ 26.969445] end_report+0x43/0x49 [ 26.972909] ? unwind_next_frame+0x169f/0x1810 [ 26.977596] __kasan_report.cold+0xd/0x41 [ 26.981750] ? unwind_next_frame+0x169f/0x1810 [ 26.986356] unwind_next_frame+0x169f/0x1810 [ 26.990948] ? retint_kernel+0x2d/0x2d [ 26.995823] ? perf_callchain_user+0x4a7/0xf80 [ 27.000502] ? deref_stack_reg+0xe0/0xe0 [ 27.005314] ? perf_callchain_user+0x2d1/0xf80 [ 27.009971] ? retint_kernel+0x2d/0x2d [ 27.014870] perf_callchain_kernel+0x3a0/0x540 [ 27.019722] ? perf_callchain_kernel+0x540/0x540 [ 27.024676] ? arch_perf_update_userpage+0x330/0x330 [ 27.030850] ? futex_wait_setup+0x132/0x330 [ 27.035205] get_perf_callchain+0x2f5/0x770 [ 27.041033] ? put_callchain_buffers+0x60/0x60 [ 27.045626] ? perf_callchain+0x150/0x190 [ 27.049807] perf_callchain+0x147/0x190 [ 27.053903] perf_prepare_sample+0x6a8/0x1360 [ 27.059052] ? perf_output_sample+0x1700/0x1700 [ 27.064449] ? perf_prepare_sample+0x1360/0x1360 [ 27.069210] ? perf_event_output_forward+0x12f/0x220 [ 27.074828] ? lock_downgrade+0x630/0x630 [ 27.080153] perf_event_output_forward+0xdc/0x220 [ 27.086935] ? perf_prepare_sample+0x1360/0x1360 [ 27.092930] ? __perf_event_overflow+0x1cc/0x340 [ 27.101246] ? check_preemption_disabled+0x35/0x1f0 [ 27.108286] __perf_event_overflow+0x12d/0x340 [ 27.116879] perf_swevent_overflow+0x7a/0xf0 [ 27.126633] perf_swevent_event+0x112/0x270 [ 27.139351] perf_tp_event+0x633/0x7f0 [ 27.145337] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 27.153849] ? trace_hardirqs_on+0x10/0x10 [ 27.158792] ? __lock_acquire+0x5d7/0x4320 [ 27.163304] ? perf_trace_run_bpf_submit+0x113/0x170 [ 27.168586] ? check_preemption_disabled+0x35/0x1f0 [ 27.177809] perf_trace_run_bpf_submit+0x113/0x170 [ 27.183540] perf_trace_lock_acquire+0x341/0x4e0 [ 27.188316] ? HARDIRQ_verbose+0x10/0x10 [ 27.193607] ? retint_kernel+0x2d/0x2d [ 27.197501] ? get_futex_key+0x4c1/0xf90 [ 27.201573] lock_acquire+0x279/0x360 [ 27.205734] ? futex_wait_setup+0x132/0x330 [ 27.210567] _raw_spin_lock+0x2a/0x40 [ 27.218095] ? futex_wait_setup+0x132/0x330 [ 27.225814] futex_wait_setup+0x132/0x330 [ 27.230867] ? futex_wake+0x440/0x440 [ 27.234880] futex_wait+0x1ad/0x570 [ 27.240310] ? futex_wait_setup+0x330/0x330 [ 27.252085] ? wake_up_q+0xea/0x150 [ 27.262176] ? drop_futex_key_refs.isra.0+0x17/0xb0 [ 27.269404] ? futex_wake+0x15b/0x440 [ 27.275391] ? HARDIRQ_verbose+0x10/0x10 [ 27.281894] ? SyS_perf_event_open+0x1a4d/0x2560 [ 27.288223] do_futex+0x13f/0x1980 [ 27.293695] ? lock_downgrade+0x630/0x630 [ 27.299173] ? lock_acquire+0x12b/0x360 [ 27.306534] ? check_preemption_disabled+0x35/0x1f0 [ 27.314870] ? exit_robust_list+0x240/0x240 [ 27.326323] ? __mutex_unlock_slowpath+0xff/0x690 [ 27.339087] ? get_unused_fd_flags+0xc0/0xc0 [ 27.355611] ? SyS_perf_event_open+0x19c3/0x2560 [ 27.368493] ? wait_for_completion_io+0x10/0x10 [ 27.380818] ? mark_held_locks+0xa6/0xf0 [ 27.385323] ? do_raw_spin_lock+0xb4/0x1d0 [ 27.390342] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 27.396444] ? SyS_perf_event_open+0x633/0x2560 [ 27.402716] SyS_futex+0x1c5/0x2c3 [ 27.409613] ? do_futex+0x1980/0x1980 [ 27.416621] ? do_syscall_64+0x43/0x520 [ 27.421220] ? do_futex+0x1980/0x1980 [ 27.425987] do_syscall_64+0x19b/0x520 [ 27.430659] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 27.436385] RIP: 0033:0x4467e9 [ 27.439940] RSP: 002b:00007f62a0219db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 27.450197] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 00000000004467e9 [ 27.459303] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 [ 27.468841] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 27.477446] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 27.495244] R13: 00007ffe56419e3f R14: 00007f62a021a9c0 R15: 0000000000000000 [ 27.504190] Kernel Offset: 0x22600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 27.515616] Rebooting in 86400 seconds..