[....] 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: [ 30.690926] random: sshd: uninitialized urandom read (32 bytes read) [ 31.095412] audit: type=1400 audit(1570050037.514:6): avc: denied { map } for pid=1766 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 [ 31.167879] random: sshd: uninitialized urandom read (32 bytes read) [ 31.680535] random: sshd: uninitialized urandom read (32 bytes read) [ 48.127132] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.194' (ECDSA) to the list of known hosts. [ 53.707885] 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 [ 53.800736] audit: type=1400 audit(1570050060.224:7): avc: denied { map } for pid=1796 comm="syz-executor814" path="/root/syz-executor814195561" 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 [ 53.830713] ================================================================== [ 53.838098] BUG: KASAN: stack-out-of-bounds in 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 executing program executing program [ 53.845450] Read of size 8 at addr ffff8881d0b77860 by task syz-executor814/1806 [ 53.852974] [ 53.854595] CPU: 0 PID: 1806 Comm: syz-executor814 Not tainted 4.14.146+ #0 [ 53.861679] Call Trace: [ 53.864265] dump_stack+0xca/0x134 [ 53.867798] ? unwind_next_frame+0x169f/0x1810 [ 53.872373] ? unwind_next_frame+0x169f/0x1810 [ 53.876949] print_address_description+0x60/0x226 [ 53.881786] ? unwind_next_frame+0x169f/0x1810 [ 53.886360] ? unwind_next_frame+0x169f/0x1810 [ 53.890934] __kasan_report.cold+0x1a/0x41 [ 53.895163] ? 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 executing program [ 53.899739] unwind_next_frame+0x169f/0x1810 [ 53.904138] ? retint_kernel+0x2d/0x2d [ 53.908018] ? perf_callchain_user+0x4a7/0xf80 [ 53.912594] ? deref_stack_reg+0xe0/0xe0 [ 53.916651] ? perf_callchain_user+0x2d1/0xf80 [ 53.921224] ? retint_kernel+0x2d/0x2d [ 53.925105] perf_callchain_kernel+0x3a0/0x540 [ 53.929682] ? perf_callchain_kernel+0x540/0x540 [ 53.934432] ? arch_perf_update_userpage+0x330/0x330 [ 53.939535] ? futex_wait_setup+0x132/0x330 [ 53.943856] get_perf_callchain+0x2f5/0x770 executing program executing program executing program executing program executing program executing program executing program 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.948180] ? put_callchain_buffers+0x60/0x60 [ 53.952755] ? startup_64+0x1/0x30 [ 53.956287] ? perf_callchain+0x150/0x190 [ 53.960435] perf_callchain+0x147/0x190 [ 53.964406] perf_prepare_sample+0x6a8/0x1360 [ 53.968909] ? perf_output_sample+0x1700/0x1700 [ 53.973572] ? perf_prepare_sample+0x1360/0x1360 [ 53.978322] ? perf_event_output_forward+0x12f/0x220 [ 53.983421] ? lock_downgrade+0x5d0/0x5d0 [ 53.987561] perf_event_output_forward+0xdc/0x220 [ 53.992398] ? 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 executing program executing program [ 53.997147] ? __perf_event_overflow+0x1cc/0x340 [ 54.001902] ? check_preemption_disabled+0x35/0x1f0 [ 54.006924] __perf_event_overflow+0x12d/0x340 [ 54.011499] perf_swevent_overflow+0x7a/0xf0 [ 54.015905] perf_swevent_event+0x112/0x270 [ 54.020223] perf_tp_event+0x633/0x7f0 [ 54.024108] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 54.029822] ? trace_hardirqs_on+0x10/0x10 [ 54.034054] ? __lock_acquire+0x5d7/0x4320 [ 54.038286] ? perf_trace_run_bpf_submit+0x113/0x170 [ 54.043386] ? check_preemption_disabled+0x35/0x1f0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.048402] perf_trace_run_bpf_submit+0x113/0x170 [ 54.053324] perf_trace_lock_acquire+0x341/0x4e0 [ 54.058080] ? HARDIRQ_verbose+0x10/0x10 [ 54.062134] ? retint_kernel+0x2d/0x2d [ 54.066014] ? get_futex_key+0x4c1/0xf90 [ 54.070068] lock_acquire+0x279/0x360 [ 54.073860] ? futex_wait_setup+0x132/0x330 [ 54.078181] _raw_spin_lock+0x2a/0x40 [ 54.081974] ? futex_wait_setup+0x132/0x330 [ 54.086285] futex_wait_setup+0x132/0x330 [ 54.090430] ? futex_wake+0x440/0x440 [ 54.094225] futex_wait+0x1ad/0x570 [ 54.097842] ? futex_wait_setup+0x330/0x330 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.102155] ? wake_up_q+0xea/0x150 [ 54.105774] ? drop_futex_key_refs.isra.0+0x17/0xb0 [ 54.110782] ? futex_wake+0x15b/0x440 [ 54.114579] ? HARDIRQ_verbose+0x10/0x10 [ 54.118633] ? SyS_perf_event_open+0x1a4d/0x2560 [ 54.123382] do_futex+0x13f/0x1980 [ 54.126917] ? lock_downgrade+0x5d0/0x5d0 [ 54.131054] ? lock_acquire+0x12b/0x360 [ 54.135021] ? check_preemption_disabled+0x35/0x1f0 [ 54.140028] ? exit_robust_list+0x240/0x240 [ 54.144348] ? __mutex_unlock_slowpath+0xff/0x690 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.149186] ? get_unused_fd_flags+0xc0/0xc0 [ 54.153591] ? SyS_perf_event_open+0x19c3/0x2560 [ 54.158342] ? wait_for_completion_io+0x10/0x10 [ 54.163010] ? mark_held_locks+0xa6/0xf0 [ 54.167063] ? do_raw_spin_lock+0xb4/0x1d0 [ 54.171294] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 54.176393] ? SyS_perf_event_open+0x633/0x2560 [ 54.181065] SyS_futex+0x1c5/0x2c3 [ 54.184602] ? do_futex+0x1980/0x1980 [ 54.188399] ? do_syscall_64+0x43/0x520 [ 54.192364] ? do_futex+0x1980/0x1980 [ 54.196155] do_syscall_64+0x19b/0x520 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.200037] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 54.205215] RIP: 0033:0x4467e9 [ 54.208395] RSP: 002b:00007fcd7e411db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 54.216091] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 00000000004467e9 [ 54.223351] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 [ 54.230610] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 54.237870] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 54.245139] R13: 00007fff026b432f R14: 00007fcd7e4129c0 R15: 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 [ 54.252404] [ 54.254022] The buggy address belongs to the page: [ 54.258949] page:ffffea000742ddc0 count:0 mapcount:0 mapping: (null) index:0x0 [ 54.267078] flags: 0x4000000000000000() [ 54.271044] raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff [ 54.278916] raw: 0000000000000000 ffffea000742dde0 0000000000000000 0000000000000000 [ 54.286786] page dumped because: kasan: bad access detected [ 54.292481] [ 54.294096] Memory state around the buggy address: executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.299014] ffff8881d0b77700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.306361] ffff8881d0b77780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.313709] >ffff8881d0b77800: 00 00 00 f1 f1 f1 f1 f1 f1 04 f2 00 f3 f3 f3 00 [ 54.321055] ^ [ 54.327537] ffff8881d0b77880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.334894] ffff8881d0b77900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.342240] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.349587] Disabling lock debugging due to kernel taint [ 54.355028] Kernel panic - not syncing: panic_on_warn set ... [ 54.355028] [ 54.362382] CPU: 0 PID: 1806 Comm: syz-executor814 Tainted: G B 4.14.146+ #0 [ 54.370683] Call Trace: [ 54.373265] dump_stack+0xca/0x134 [ 54.376797] panic+0x1ea/0x3d3 [ 54.379986] ? add_taint.cold+0x16/0x16 [ 54.383954] ? lock_downgrade+0x5d0/0x5d0 [ 54.388100] ? unwind_next_frame+0x169f/0x1810 [ 54.392675] end_report+0x43/0x49 [ 54.396122] ? 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.400695] __kasan_report.cold+0xd/0x41 [ 54.404835] ? unwind_next_frame+0x169f/0x1810 [ 54.409414] unwind_next_frame+0x169f/0x1810 [ 54.413818] ? retint_kernel+0x2d/0x2d [ 54.417699] ? perf_callchain_user+0x4a7/0xf80 [ 54.422275] ? deref_stack_reg+0xe0/0xe0 [ 54.426332] ? perf_callchain_user+0x2d1/0xf80 [ 54.430911] ? retint_kernel+0x2d/0x2d [ 54.434795] perf_callchain_kernel+0x3a0/0x540 [ 54.439373] ? perf_callchain_kernel+0x540/0x540 [ 54.444125] ? arch_perf_update_userpage+0x330/0x330 [ 54.449225] ? futex_wait_setup+0x132/0x330 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.453544] get_perf_callchain+0x2f5/0x770 [ 54.457870] ? put_callchain_buffers+0x60/0x60 [ 54.462444] ? startup_64+0x1/0x30 [ 54.465980] ? perf_callchain+0x150/0x190 [ 54.470126] perf_callchain+0x147/0x190 [ 54.474093] perf_prepare_sample+0x6a8/0x1360 [ 54.478583] ? perf_output_sample+0x1700/0x1700 [ 54.483248] ? perf_prepare_sample+0x1360/0x1360 [ 54.488011] ? perf_event_output_forward+0x12f/0x220 [ 54.493112] ? lock_downgrade+0x5d0/0x5d0 [ 54.497261] perf_event_output_forward+0xdc/0x220 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.502099] ? perf_prepare_sample+0x1360/0x1360 [ 54.506884] ? __perf_event_overflow+0x1cc/0x340 [ 54.511634] ? check_preemption_disabled+0x35/0x1f0 [ 54.516648] __perf_event_overflow+0x12d/0x340 [ 54.521227] perf_swevent_overflow+0x7a/0xf0 [ 54.525635] perf_swevent_event+0x112/0x270 [ 54.529951] perf_tp_event+0x633/0x7f0 [ 54.533836] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 54.539550] ? trace_hardirqs_on+0x10/0x10 [ 54.543781] ? __lock_acquire+0x5d7/0x4320 [ 54.548015] ? perf_trace_run_bpf_submit+0x113/0x170 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.553111] ? check_preemption_disabled+0x35/0x1f0 [ 54.558125] perf_trace_run_bpf_submit+0x113/0x170 [ 54.563054] perf_trace_lock_acquire+0x341/0x4e0 [ 54.567808] ? HARDIRQ_verbose+0x10/0x10 [ 54.571867] ? retint_kernel+0x2d/0x2d [ 54.575750] ? get_futex_key+0x4c1/0xf90 [ 54.579806] lock_acquire+0x279/0x360 [ 54.583603] ? futex_wait_setup+0x132/0x330 [ 54.587923] _raw_spin_lock+0x2a/0x40 [ 54.591716] ? futex_wait_setup+0x132/0x330 [ 54.596033] futex_wait_setup+0x132/0x330 [ 54.600180] ? futex_wake+0x440/0x440 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.603978] futex_wait+0x1ad/0x570 [ 54.607600] ? futex_wait_setup+0x330/0x330 [ 54.611911] ? wake_up_q+0xea/0x150 [ 54.615531] ? drop_futex_key_refs.isra.0+0x17/0xb0 [ 54.620545] ? futex_wake+0x15b/0x440 [ 54.624345] ? HARDIRQ_verbose+0x10/0x10 [ 54.628401] ? SyS_perf_event_open+0x1a4d/0x2560 [ 54.633155] do_futex+0x13f/0x1980 [ 54.636688] ? lock_downgrade+0x5d0/0x5d0 [ 54.640828] ? lock_acquire+0x12b/0x360 [ 54.644796] ? check_preemption_disabled+0x35/0x1f0 [ 54.649810] ? exit_robust_list+0x240/0x240 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.654126] ? __mutex_unlock_slowpath+0xff/0x690 [ 54.658962] ? get_unused_fd_flags+0xc0/0xc0 [ 54.663376] ? SyS_perf_event_open+0x19c3/0x2560 [ 54.668128] ? wait_for_completion_io+0x10/0x10 [ 54.672790] ? mark_held_locks+0xa6/0xf0 [ 54.676841] ? do_raw_spin_lock+0xb4/0x1d0 [ 54.681070] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 54.686168] ? SyS_perf_event_open+0x633/0x2560 [ 54.690833] SyS_futex+0x1c5/0x2c3 [ 54.694366] ? do_futex+0x1980/0x1980 [ 54.698166] ? do_syscall_64+0x43/0x520 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 54.702135] ? do_futex+0x1980/0x1980 [ 54.705934] do_syscall_64+0x19b/0x520 [ 54.709821] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 54.714998] RIP: 0033:0x4467e9 [ 54.718177] RSP: 002b:00007fcd7e411db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 54.725877] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 00000000004467e9 [ 54.733142] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 [ 54.740405] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 54.747666] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c executing program executing program executing program [ 54.754924] R13: 00007fff026b432f R14: 00007fcd7e4129c0 R15: 0000000000000000 [ 54.762874] Kernel Offset: 0x24000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 54.773774] Rebooting in 86400 seconds..