[....] 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: [ 16.235897] random: sshd: uninitialized urandom read (32 bytes read) [ 16.560998] audit: type=1400 audit(1570918879.832:6): avc: denied { map } for pid=1773 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 [ 16.594361] random: sshd: uninitialized urandom read (32 bytes read) [ 17.093014] random: sshd: uninitialized urandom read (32 bytes read) [ 17.256032] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.207' (ECDSA) to the list of known hosts. [ 22.807115] 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 [ 22.909659] audit: type=1400 audit(1570918886.172:7): avc: denied { map } for pid=1791 comm="syz-executor781" path="/root/syz-executor781279574" 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 [ 23.111782] ================================================================== [ 23.119239] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x169f/0x1810 [ 23.126608] Read of size 8 at addr ffff8881c51b7860 by task syz-executor781/1842 [ 23.134140] [ 23.135775] CPU: 1 PID: 1842 Comm: syz-executor781 Not tainted 4.14.149+ #0 [ 23.142870] Call Trace: [ 23.145478] dump_stack+0xca/0x134 [ 23.149040] ? unwind_next_frame+0x169f/0x1810 [ 23.153643] ? unwind_next_frame+0x169f/0x1810 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.158242] print_address_description+0x60/0x226 [ 23.163105] ? unwind_next_frame+0x169f/0x1810 [ 23.168748] ? unwind_next_frame+0x169f/0x1810 [ 23.173515] __kasan_report.cold+0x1a/0x41 [ 23.177927] ? unwind_next_frame+0x169f/0x1810 [ 23.182906] unwind_next_frame+0x169f/0x1810 [ 23.187422] ? retint_kernel+0x2d/0x2d [ 23.191356] ? unwind_get_return_address+0x51/0x90 [ 23.196306] ? deref_stack_reg+0xe0/0xe0 [ 23.200386] ? retint_kernel+0x2d/0x2d [ 23.204328] perf_callchain_kernel+0x3a0/0x540 executing program executing program executing program executing program executing program executing program executing program executing program [ 23.208935] ? arch_perf_update_userpage+0x330/0x330 [ 23.214057] ? futex_wait_setup+0x132/0x330 [ 23.218408] get_perf_callchain+0x2f5/0x770 [ 23.222780] ? put_callchain_buffers+0x60/0x60 [ 23.227384] ? kvm_clock_read+0x1f/0x30 [ 23.231383] ? kvm_sched_clock_read+0x5/0x10 [ 23.235806] ? sched_clock+0x5/0x10 [ 23.239447] ? sched_clock_cpu+0x31/0x1c0 [ 23.243617] perf_callchain+0x147/0x190 [ 23.247610] perf_prepare_sample+0x6a8/0x1360 [ 23.252127] ? perf_output_sample+0x1700/0x1700 [ 23.256825] ? 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 [ 23.261980] ? perf_event_output_forward+0x12f/0x220 [ 23.267473] ? lock_downgrade+0x630/0x630 [ 23.271733] perf_event_output_forward+0xdc/0x220 [ 23.276694] ? perf_prepare_sample+0x1360/0x1360 [ 23.281478] ? __perf_event_overflow+0x1cc/0x340 [ 23.286591] ? check_preemption_disabled+0x35/0x1f0 [ 23.291641] __perf_event_overflow+0x12d/0x340 [ 23.296358] perf_swevent_overflow+0x7a/0xf0 [ 23.300790] perf_swevent_event+0x19c/0x270 [ 23.305141] perf_tp_event+0x633/0x7f0 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.309051] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 23.315080] ? trace_hardirqs_on+0x10/0x10 [ 23.319346] ? __lock_acquire+0x5d7/0x4320 [ 23.323609] ? perf_trace_run_bpf_submit+0x113/0x170 [ 23.328861] ? check_preemption_disabled+0x35/0x1f0 [ 23.333908] perf_trace_run_bpf_submit+0x113/0x170 [ 23.342602] perf_trace_lock_acquire+0x341/0x4e0 [ 23.347383] ? HARDIRQ_verbose+0x10/0x10 [ 23.351460] ? retint_kernel+0x2d/0x2d [ 23.355436] ? get_futex_key+0x4c1/0xf90 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.359564] lock_acquire+0x279/0x360 [ 23.363493] ? futex_wait_setup+0x132/0x330 [ 23.367858] _raw_spin_lock+0x2a/0x40 [ 23.371685] ? futex_wait_setup+0x132/0x330 [ 23.376030] futex_wait_setup+0x132/0x330 [ 23.380350] ? futex_wake+0x440/0x440 [ 23.384178] futex_wait+0x1ad/0x570 [ 23.389007] ? futex_wait_setup+0x330/0x330 [ 23.393765] ? wake_up_q+0xea/0x150 [ 23.397440] ? drop_futex_key_refs.isra.0+0x17/0xb0 [ 23.402474] ? futex_wake+0x15b/0x440 [ 23.406288] ? 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 [ 23.410362] ? SyS_perf_event_open+0x1a4d/0x2560 [ 23.415136] do_futex+0x13f/0x1980 [ 23.418692] ? lock_downgrade+0x630/0x630 [ 23.422955] ? lock_acquire+0x12b/0x360 [ 23.426953] ? check_preemption_disabled+0x35/0x1f0 [ 23.432000] ? exit_robust_list+0x240/0x240 [ 23.436334] ? __mutex_unlock_slowpath+0xff/0x690 [ 23.441188] ? get_unused_fd_flags+0xc0/0xc0 [ 23.445609] ? SyS_perf_event_open+0x19c3/0x2560 [ 23.450379] ? wait_for_completion_io+0x10/0x10 [ 23.455066] ? mark_held_locks+0xa6/0xf0 [ 23.459133] ? do_raw_spin_lock+0xb4/0x1d0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.463382] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 23.468497] ? SyS_perf_event_open+0x633/0x2560 [ 23.473218] SyS_futex+0x1c5/0x2c3 [ 23.476794] ? do_futex+0x1980/0x1980 [ 23.480624] ? do_syscall_64+0x43/0x520 [ 23.484718] ? do_futex+0x1980/0x1980 [ 23.488527] do_syscall_64+0x19b/0x520 [ 23.492441] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 23.497643] RIP: 0033:0x4467e9 [ 23.500834] RSP: 002b:00007f69f095adb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.508576] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 00000000004467e9 [ 23.515994] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 [ 23.523277] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 23.530848] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 23.538124] R13: 00007ffc62d5619f R14: 00007f69f095b9c0 R15: 0000000000000000 [ 23.545408] [ 23.547034] The buggy address belongs to the page: [ 23.551968] page:ffffea0007146dc0 count:0 mapcount:0 mapping: (null) index:0x0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.560205] flags: 0x4000000000000000() [ 23.564215] raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff [ 23.572113] raw: 0000000000000000 ffffea0007146de0 0000000000000000 0000000000000000 [ 23.580000] page dumped because: kasan: bad access detected [ 23.585709] [ 23.587338] Memory state around the buggy address: [ 23.592276] ffff8881c51b7700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.599729] ffff8881c51b7780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.607121] >ffff8881c51b7800: 00 00 00 f1 f1 f1 f1 f1 f1 04 f2 00 f3 f3 f3 00 [ 23.614513] ^ [ 23.621358] ffff8881c51b7880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.628731] ffff8881c51b7900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.636185] ================================================================== [ 23.643651] Disabling lock debugging due to kernel taint [ 23.649199] Kernel panic - not syncing: panic_on_warn set ... [ 23.649199] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.656577] CPU: 1 PID: 1842 Comm: syz-executor781 Tainted: G B 4.14.149+ #0 [ 23.665075] Call Trace: [ 23.667678] dump_stack+0xca/0x134 [ 23.671239] panic+0x1ea/0x3d3 [ 23.674450] ? add_taint.cold+0x16/0x16 [ 23.678440] ? lock_downgrade+0x630/0x630 [ 23.682606] ? unwind_next_frame+0x169f/0x1810 [ 23.687196] end_report+0x43/0x49 [ 23.690661] ? unwind_next_frame+0x169f/0x1810 [ 23.695367] __kasan_report.cold+0xd/0x41 [ 23.699541] ? unwind_next_frame+0x169f/0x1810 [ 23.704143] unwind_next_frame+0x169f/0x1810 [ 23.708570] ? 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 [ 23.712480] ? unwind_get_return_address+0x51/0x90 [ 23.717533] ? deref_stack_reg+0xe0/0xe0 [ 23.721612] ? retint_kernel+0x2d/0x2d [ 23.725543] perf_callchain_kernel+0x3a0/0x540 [ 23.730150] ? arch_perf_update_userpage+0x330/0x330 [ 23.735270] ? futex_wait_setup+0x132/0x330 [ 23.739606] get_perf_callchain+0x2f5/0x770 [ 23.743944] ? put_callchain_buffers+0x60/0x60 [ 23.748549] ? kvm_clock_read+0x1f/0x30 [ 23.752536] ? kvm_sched_clock_read+0x5/0x10 [ 23.756956] ? sched_clock+0x5/0x10 [ 23.760698] ? sched_clock_cpu+0x31/0x1c0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.764959] perf_callchain+0x147/0x190 [ 23.769051] perf_prepare_sample+0x6a8/0x1360 [ 23.773646] ? perf_output_sample+0x1700/0x1700 [ 23.778334] ? perf_prepare_sample+0x1360/0x1360 [ 23.783147] ? perf_event_output_forward+0x12f/0x220 [ 23.789225] ? lock_downgrade+0x630/0x630 [ 23.793398] perf_event_output_forward+0xdc/0x220 [ 23.798264] ? perf_prepare_sample+0x1360/0x1360 [ 23.803047] ? __perf_event_overflow+0x1cc/0x340 [ 23.807826] ? 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 [ 23.812988] __perf_event_overflow+0x12d/0x340 [ 23.817742] perf_swevent_overflow+0x7a/0xf0 [ 23.822174] perf_swevent_event+0x19c/0x270 [ 23.826517] perf_tp_event+0x633/0x7f0 [ 23.830548] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 23.836291] ? trace_hardirqs_on+0x10/0x10 [ 23.840552] ? __lock_acquire+0x5d7/0x4320 [ 23.844902] ? perf_trace_run_bpf_submit+0x113/0x170 [ 23.850024] ? check_preemption_disabled+0x35/0x1f0 [ 23.855059] perf_trace_run_bpf_submit+0x113/0x170 [ 23.860010] perf_trace_lock_acquire+0x341/0x4e0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.865035] ? HARDIRQ_verbose+0x10/0x10 [ 23.869114] ? retint_kernel+0x2d/0x2d [ 23.873202] ? get_futex_key+0x4c1/0xf90 [ 23.877283] lock_acquire+0x279/0x360 [ 23.881103] ? futex_wait_setup+0x132/0x330 [ 23.885571] _raw_spin_lock+0x2a/0x40 [ 23.889385] ? futex_wait_setup+0x132/0x330 [ 23.893719] futex_wait_setup+0x132/0x330 [ 23.897899] ? futex_wake+0x440/0x440 [ 23.901724] futex_wait+0x1ad/0x570 [ 23.905374] ? futex_wait_setup+0x330/0x330 [ 23.909706] ? wake_up_q+0xea/0x150 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.913353] ? drop_futex_key_refs.isra.0+0x17/0xb0 [ 23.918513] ? futex_wake+0x15b/0x440 [ 23.922337] ? HARDIRQ_verbose+0x10/0x10 [ 23.926421] ? SyS_perf_event_open+0x1a4d/0x2560 [ 23.931207] do_futex+0x13f/0x1980 [ 23.934770] ? lock_downgrade+0x630/0x630 [ 23.938959] ? lock_acquire+0x12b/0x360 [ 23.942990] ? check_preemption_disabled+0x35/0x1f0 [ 23.948028] ? exit_robust_list+0x240/0x240 [ 23.952372] ? __mutex_unlock_slowpath+0xff/0x690 [ 23.957266] ? get_unused_fd_flags+0xc0/0xc0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 23.961691] ? SyS_perf_event_open+0x19c3/0x2560 [ 23.966463] ? wait_for_completion_io+0x10/0x10 [ 23.971253] ? mark_held_locks+0xa6/0xf0 [ 23.976206] ? do_raw_spin_lock+0xb4/0x1d0 [ 23.980520] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 23.985650] ? SyS_perf_event_open+0x633/0x2560 [ 23.990343] SyS_futex+0x1c5/0x2c3 [ 23.993902] ? do_futex+0x1980/0x1980 [ 23.997713] ? do_syscall_64+0x43/0x520 [ 24.001703] ? do_futex+0x1980/0x1980 [ 24.005554] do_syscall_64+0x19b/0x520 [ 24.009461] entry_SYSCALL_64_after_hwframe+0x42/0xb7 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 24.014659] RIP: 0033:0x4467e9 [ 24.018008] RSP: 002b:00007f69f095adb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 24.025732] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 00000000004467e9 [ 24.033011] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 [ 24.040299] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 24.047935] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 24.055304] R13: 00007ffc62d5619f R14: 00007f69f095b9c0 R15: 0000000000000000 [ 24.063254] Kernel Offset: 0x6800000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 24.074553] Rebooting in 86400 seconds..