[....] 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: [ 24.582317] random: sshd: uninitialized urandom read (32 bytes read) [ 24.890611] audit: type=1400 audit(1568342603.008: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 [ 24.929110] random: sshd: uninitialized urandom read (32 bytes read) [ 25.444192] random: sshd: uninitialized urandom read (32 bytes read) [ 25.605134] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.123' (ECDSA) to the list of known hosts. [ 31.106757] 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 [ 31.203496] audit: type=1400 audit(1568342609.318:7): avc: denied { map } for pid=1776 comm="syz-executor215" path="/root/syz-executor215114468" dev="sda1" ino=16481 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 [ 34.230813] ================================================================== [ 34.239223] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x169f/0x1810 [ 34.246584] Read of size 8 at addr ffff8881ce51f860 by task syz-executor215/2442 [ 34.254106] [ 34.255730] CPU: 0 PID: 2442 Comm: syz-executor215 Not tainted 4.14.143+ #0 [ 34.262819] Call Trace: [ 34.265411] dump_stack+0xca/0x134 [ 34.268950] ? unwind_next_frame+0x169f/0x1810 [ 34.273618] ? unwind_next_frame+0x169f/0x1810 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.278550] print_address_description+0x60/0x226 [ 34.283397] ? unwind_next_frame+0x169f/0x1810 [ 34.288567] ? unwind_next_frame+0x169f/0x1810 [ 34.293242] __kasan_report.cold+0x1a/0x41 [ 34.297480] ? unwind_next_frame+0x169f/0x1810 [ 34.302178] unwind_next_frame+0x169f/0x1810 [ 34.306585] ? retint_kernel+0x2d/0x2d [ 34.310469] ? perf_callchain_user+0x4a7/0xf80 [ 34.318695] ? deref_stack_reg+0xe0/0xe0 [ 34.322758] ? perf_callchain_user+0x2d1/0xf80 [ 34.327340] ? retint_kernel+0x2d/0x2d executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.331316] perf_callchain_kernel+0x3a0/0x540 [ 34.335896] ? perf_callchain_kernel+0x540/0x540 [ 34.340742] ? arch_perf_update_userpage+0x330/0x330 [ 34.345850] ? futex_wait_setup+0x132/0x330 [ 34.350196] get_perf_callchain+0x2f5/0x770 [ 34.354610] ? put_callchain_buffers+0x60/0x60 [ 34.359378] ? perf_callchain+0x150/0x190 [ 34.363530] perf_callchain+0x147/0x190 [ 34.367594] perf_prepare_sample+0x6a8/0x1360 [ 34.372088] ? perf_output_sample+0x1700/0x1700 [ 34.376757] ? perf_prepare_sample+0x1360/0x1360 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.381773] ? perf_event_output_forward+0x12f/0x220 [ 34.387227] ? lock_downgrade+0x5d0/0x5d0 [ 34.391469] perf_event_output_forward+0xdc/0x220 [ 34.396400] ? perf_prepare_sample+0x1360/0x1360 [ 34.401243] ? __perf_event_overflow+0x1cc/0x340 [ 34.406086] ? check_preemption_disabled+0x35/0x1f0 [ 34.411103] __perf_event_overflow+0x12d/0x340 [ 34.415689] perf_swevent_overflow+0x7a/0xf0 [ 34.420101] perf_swevent_event+0x19c/0x270 [ 34.424509] perf_tp_event+0x633/0x7f0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.428403] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 34.434256] ? trace_hardirqs_on+0x10/0x10 [ 34.438491] ? __lock_acquire+0x5d7/0x4320 [ 34.442733] ? perf_trace_run_bpf_submit+0x113/0x170 [ 34.447842] ? check_preemption_disabled+0x35/0x1f0 [ 34.452881] perf_trace_run_bpf_submit+0x113/0x170 [ 34.457899] perf_trace_lock_acquire+0x341/0x4e0 [ 34.462757] ? HARDIRQ_verbose+0x10/0x10 [ 34.466826] ? retint_kernel+0x2d/0x2d [ 34.470713] ? get_futex_key+0x4c1/0xf90 [ 34.474780] lock_acquire+0x279/0x360 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.478613] ? futex_wait_setup+0x132/0x330 [ 34.483038] _raw_spin_lock+0x2a/0x40 [ 34.486846] ? futex_wait_setup+0x132/0x330 [ 34.491168] futex_wait_setup+0x132/0x330 [ 34.495319] ? get_futex_key+0xf90/0xf90 [ 34.499383] futex_wait+0x1ad/0x570 [ 34.503101] ? futex_wait_setup+0x330/0x330 [ 34.507421] ? wake_up_q+0xea/0x150 [ 34.511152] ? drop_futex_key_refs.isra.0+0x17/0xb0 [ 34.516177] ? futex_wake+0x15b/0x440 [ 34.519984] ? HARDIRQ_verbose+0x10/0x10 [ 34.524210] ? SyS_perf_event_open+0x1a4d/0x2560 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.529059] do_futex+0x13f/0x1980 [ 34.532688] ? lock_downgrade+0x5d0/0x5d0 [ 34.536839] ? lock_acquire+0x12b/0x360 [ 34.540823] ? check_preemption_disabled+0x35/0x1f0 [ 34.545848] ? exit_robust_list+0x240/0x240 [ 34.550170] ? __mutex_unlock_slowpath+0xff/0x690 [ 34.555013] ? get_unused_fd_flags+0xc0/0xc0 [ 34.559699] ? SyS_perf_event_open+0x19c3/0x2560 [ 34.564452] ? wait_for_completion_io+0x10/0x10 [ 34.569206] ? mark_held_locks+0xa6/0xf0 [ 34.573265] ? do_raw_spin_lock+0xb4/0x1d0 [ 34.577501] ? _raw_spin_unlock_irqrestore+0x54/0x70 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.582721] ? SyS_perf_event_open+0x633/0x2560 [ 34.587918] SyS_futex+0x1c5/0x2c3 [ 34.591602] ? do_futex+0x1980/0x1980 [ 34.595580] ? do_syscall_64+0x43/0x520 [ 34.599552] ? do_futex+0x1980/0x1980 [ 34.603352] do_syscall_64+0x19b/0x520 [ 34.607243] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 34.612425] RIP: 0033:0x4467e9 [ 34.615611] RSP: 002b:00007f796f28adb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 34.623406] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 00000000004467e9 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.630679] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 [ 34.637948] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 34.645387] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 34.652652] R13: 00007fffbd056c5f R14: 00007f796f28b9c0 R15: 0000000000000000 [ 34.660105] [ 34.661729] The buggy address belongs to the page: [ 34.666832] page:ffffea00073947c0 count:0 mapcount:0 mapping: (null) index:0x0 [ 34.674989] flags: 0x4000000000000000() executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.679049] raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff [ 34.686933] raw: 0000000000000000 ffffea00073947e0 0000000000000000 0000000000000000 [ 34.694812] page dumped because: kasan: bad access detected [ 34.700517] [ 34.702138] Memory state around the buggy address: [ 34.707239] ffff8881ce51f700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.714592] ffff8881ce51f780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.721958] >ffff8881ce51f800: 00 00 00 f1 f1 f1 f1 f1 f1 04 f2 00 f3 f3 f3 00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.729594] ^ [ 34.736261] ffff8881ce51f880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.744745] ffff8881ce51f900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.752364] ================================================================== [ 34.759721] Disabling lock debugging due to kernel taint [ 34.765253] Kernel panic - not syncing: panic_on_warn set ... [ 34.765253] [ 34.772705] CPU: 0 PID: 2442 Comm: syz-executor215 Tainted: G B 4.14.143+ #0 [ 34.781097] Call Trace: executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.783687] dump_stack+0xca/0x134 [ 34.787372] panic+0x1ea/0x3d3 [ 34.790562] ? add_taint.cold+0x16/0x16 [ 34.794555] ? lock_downgrade+0x5d0/0x5d0 [ 34.798904] ? unwind_next_frame+0x169f/0x1810 [ 34.803501] end_report+0x43/0x49 [ 34.806970] ? unwind_next_frame+0x169f/0x1810 [ 34.811614] __kasan_report.cold+0xd/0x41 [ 34.815925] ? unwind_next_frame+0x169f/0x1810 [ 34.820522] unwind_next_frame+0x169f/0x1810 [ 34.824941] ? retint_kernel+0x2d/0x2d [ 34.828845] ? perf_callchain_user+0x4a7/0xf80 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.833447] ? deref_stack_reg+0xe0/0xe0 [ 34.837549] ? perf_callchain_user+0x2d1/0xf80 [ 34.842144] ? retint_kernel+0x2d/0x2d [ 34.846097] perf_callchain_kernel+0x3a0/0x540 [ 34.851299] ? perf_callchain_kernel+0x540/0x540 [ 34.856340] ? arch_perf_update_userpage+0x330/0x330 [ 34.861590] ? futex_wait_setup+0x132/0x330 [ 34.865940] get_perf_callchain+0x2f5/0x770 [ 34.870280] ? put_callchain_buffers+0x60/0x60 [ 34.875318] ? perf_callchain+0x150/0x190 [ 34.879575] perf_callchain+0x147/0x190 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.883565] perf_prepare_sample+0x6a8/0x1360 [ 34.888093] ? perf_output_sample+0x1700/0x1700 [ 34.892793] ? perf_prepare_sample+0x1360/0x1360 [ 34.897570] ? perf_event_output_forward+0x12f/0x220 [ 34.902802] ? lock_downgrade+0x5d0/0x5d0 [ 34.906973] perf_event_output_forward+0xdc/0x220 [ 34.911829] ? perf_prepare_sample+0x1360/0x1360 [ 34.916603] ? __perf_event_overflow+0x1cc/0x340 [ 34.921376] ? check_preemption_disabled+0x35/0x1f0 [ 34.926674] __perf_event_overflow+0x12d/0x340 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.931370] perf_swevent_overflow+0x7a/0xf0 [ 34.935803] perf_swevent_event+0x19c/0x270 [ 34.940146] perf_tp_event+0x633/0x7f0 [ 34.944056] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 34.950491] ? trace_hardirqs_on+0x10/0x10 [ 34.954755] ? __lock_acquire+0x5d7/0x4320 [ 34.959008] ? perf_trace_run_bpf_submit+0x113/0x170 [ 34.964143] ? check_preemption_disabled+0x35/0x1f0 [ 34.969182] perf_trace_run_bpf_submit+0x113/0x170 [ 34.974143] perf_trace_lock_acquire+0x341/0x4e0 [ 34.979009] ? HARDIRQ_verbose+0x10/0x10 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.983087] ? retint_kernel+0x2d/0x2d [ 34.986993] ? get_futex_key+0x4c1/0xf90 [ 34.991168] lock_acquire+0x279/0x360 [ 34.994985] ? futex_wait_setup+0x132/0x330 [ 34.999408] _raw_spin_lock+0x2a/0x40 [ 35.003315] ? futex_wait_setup+0x132/0x330 [ 35.007653] futex_wait_setup+0x132/0x330 [ 35.011923] ? get_futex_key+0xf90/0xf90 [ 35.016006] futex_wait+0x1ad/0x570 [ 35.019649] ? futex_wait_setup+0x330/0x330 [ 35.024010] ? wake_up_q+0xea/0x150 [ 35.027661] ? drop_futex_key_refs.isra.0+0x17/0xb0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 35.032692] ? futex_wake+0x15b/0x440 [ 35.036684] ? HARDIRQ_verbose+0x10/0x10 [ 35.040764] ? SyS_perf_event_open+0x1a4d/0x2560 [ 35.045551] do_futex+0x13f/0x1980 [ 35.049112] ? lock_downgrade+0x5d0/0x5d0 [ 35.053368] ? lock_acquire+0x12b/0x360 [ 35.057354] ? check_preemption_disabled+0x35/0x1f0 [ 35.062474] ? exit_robust_list+0x240/0x240 [ 35.067510] ? __mutex_unlock_slowpath+0xff/0x690 [ 35.072366] ? get_unused_fd_flags+0xc0/0xc0 [ 35.076915] ? SyS_perf_event_open+0x19c3/0x2560 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 35.081688] ? wait_for_completion_io+0x10/0x10 [ 35.086670] ? mark_held_locks+0xa6/0xf0 [ 35.090743] ? do_raw_spin_lock+0xb4/0x1d0 [ 35.095079] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 35.100206] ? SyS_perf_event_open+0x633/0x2560 [ 35.105517] SyS_futex+0x1c5/0x2c3 [ 35.109081] ? do_futex+0x1980/0x1980 [ 35.112897] ? do_syscall_64+0x43/0x520 [ 35.116882] ? do_futex+0x1980/0x1980 [ 35.120699] do_syscall_64+0x19b/0x520 [ 35.124609] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 35.129953] RIP: 0033:0x4467e9 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 35.133262] RSP: 002b:00007f796f28adb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 35.141001] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 00000000004467e9 [ 35.148453] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 [ 35.155821] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 35.163228] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 35.170512] R13: 00007fffbd056c5f R14: 00007f796f28b9c0 R15: 0000000000000000 [ 35.179199] Kernel Offset: 0x1a600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 35.190957] Rebooting in 86400 seconds..