[....] Starting OpenBSD Secure Shell server: sshd[ 11.105056] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 23.188621] random: sshd: uninitialized urandom read (32 bytes read) [ 23.490781] audit: type=1400 audit(1545829432.895:6): avc: denied { map } for pid=1767 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 [ 23.621835] random: sshd: uninitialized urandom read (32 bytes read) [ 24.180933] random: sshd: uninitialized urandom read (32 bytes read) [ 24.401850] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.39' (ECDSA) to the list of known hosts. [ 30.204318] 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 executing program executing program executing program executing program executing program [ 30.310463] audit: type=1400 audit(1545829439.715:7): avc: denied { map } for pid=1779 comm="syz-executor306" path="/root/syz-executor306101847" 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 [ 30.471451] ================================================================== [ 30.478872] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x1595/0x1930 [ 30.486268] Read of size 8 at addr ffff8881c42b7668 by task syz-executor306/1868 [ 30.493913] [ 30.495569] CPU: 0 PID: 1868 Comm: syz-executor306 Not tainted 4.14.90+ #29 [ 30.502677] Call Trace: [ 30.505280] dump_stack+0xb9/0x11b [ 30.508830] print_address_description+0x60/0x22b [ 30.513679] kasan_report.cold.6+0x11b/0x2dd [ 30.518096] ? unwind_next_frame+0x1595/0x1930 [ 30.522678] unwind_next_frame+0x1595/0x1930 [ 30.527098] ? retint_kernel+0x2d/0x2d [ 30.530978] ? deref_stack_reg+0xe0/0xe0 [ 30.535033] ? retint_kernel+0x2d/0x2d [ 30.538918] perf_callchain_kernel+0x39c/0x540 [ 30.543529] ? arch_perf_update_userpage+0x330/0x330 [ 30.548641] ? retint_kernel+0x2d/0x2d [ 30.552530] ? no_context+0xac/0x780 [ 30.556258] get_perf_callchain+0x2eb/0x760 [ 30.560589] ? put_callchain_buffers+0x60/0x60 [ 30.565167] ? search_extable+0x7f/0xb0 [ 30.569156] ? trim_init_extable+0x320/0x320 [ 30.573570] perf_callchain+0x14a/0x190 [ 30.577543] perf_prepare_sample+0x704/0x13c0 [ 30.582049] ? perf_event_output_forward+0x145/0x230 [ 30.587149] ? perf_output_sample+0x1780/0x1780 [ 30.591818] ? search_extable+0x7f/0xb0 [ 30.595788] perf_event_output_forward+0xeb/0x230 [ 30.600632] ? perf_prepare_sample+0x13c0/0x13c0 [ 30.605409] ? trim_init_extable+0x320/0x320 [ 30.609817] ? perf_callchain_user+0x4b0/0xf00 [ 30.614439] ? no_context+0xac/0x780 [ 30.618161] ? perf_callchain_user+0x4b0/0xf00 [ 30.622739] ? ex_handler_default+0x14/0x90 [ 30.627068] ? check_preemption_disabled+0x34/0x1e0 [ 30.632078] __perf_event_overflow+0x116/0x320 [ 30.636687] perf_swevent_overflow+0x166/0x1f0 [ 30.641268] perf_swevent_event+0x112/0x270 [ 30.645585] perf_tp_event+0x620/0x7e0 [ 30.649486] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 30.655196] ? perf_output_begin_forward+0x6a0/0xa80 [ 30.660301] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.665163] ? error_exit+0xb/0x20 [ 30.668723] ? perf_output_begin_forward+0x6d6/0xa80 [ 30.673819] ? bad_gs+0x23/0x1643 [ 30.677270] ? perf_callchain_user+0x2d8/0xf00 [ 30.681848] ? perf_callchain_kernel+0x540/0x540 [ 30.686601] ? perf_output_copy+0x1e0/0x1e0 [ 30.690937] ? perf_trace_run_bpf_submit+0x10f/0x170 [ 30.696036] ? check_preemption_disabled+0x34/0x1e0 [ 30.701048] perf_trace_run_bpf_submit+0x10f/0x170 [ 30.705978] perf_trace_lock+0x2f6/0x4c0 [ 30.710034] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 30.714960] ? retint_kernel+0x2d/0x2d [ 30.718842] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 30.723763] lock_release+0x4dc/0x720 [ 30.727568] ? __is_insn_slot_addr+0x112/0x1f0 [ 30.732144] ? lock_downgrade+0x560/0x560 [ 30.736301] ? lock_acquire+0x10f/0x380 [ 30.740268] ? __free_insn_slot+0x490/0x490 [ 30.744605] ? check_preemption_disabled+0x34/0x1e0 [ 30.749615] __is_insn_slot_addr+0x139/0x1f0 [ 30.754019] kernel_text_address+0x10b/0x120 [ 30.758438] __kernel_text_address+0x9/0x30 [ 30.762756] unwind_get_return_address+0x51/0x90 [ 30.767515] __save_stack_trace+0x8d/0xf0 [ 30.771663] ? ebitmap_cpy+0xc4/0x260 [ 30.775462] kasan_kmalloc.part.1+0x4f/0xd0 [ 30.779782] ? kasan_kmalloc.part.1+0x4f/0xd0 [ 30.784322] ? kmem_cache_alloc+0xe4/0x2b0 [ 30.788565] ? ebitmap_cpy+0xc4/0x260 [ 30.792362] ? mls_compute_sid+0x24a/0xda0 [ 30.796609] ? security_compute_sid.part.6+0x76f/0x1080 [ 30.802012] ? security_transition_sid+0xcb/0x120 [ 30.806853] ? selinux_socket_post_create+0x4e9/0x690 [ 30.812045] ? security_socket_post_create+0x8c/0xc0 [ 30.817157] ? __sock_create+0x498/0x600 [ 30.821215] ? SyS_socket+0xdf/0x1d0 [ 30.824934] ? do_syscall_64+0x19b/0x4b0 [ 30.828994] ? entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 30.834352] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 30.840058] ? __lock_acquire+0x619/0x4320 [ 30.844302] ? trace_hardirqs_on+0x10/0x10 [ 30.848531] ? kernel_text_address+0x10b/0x120 [ 30.853122] ? __kernel_text_address+0x9/0x30 [ 30.857640] ? kasan_unpoison_shadow+0x30/0x40 [ 30.862220] ? kasan_kmalloc+0x76/0xc0 [ 30.866116] ? ebitmap_cpy+0xc4/0x260 [ 30.869928] kmem_cache_alloc+0xe4/0x2b0 [ 30.873990] ebitmap_cpy+0xc4/0x260 [ 30.877626] mls_compute_sid+0x24a/0xda0 [ 30.881686] ? mls_convert_context+0x780/0x780 [ 30.886300] ? avtab_search_node+0x385/0x490 [ 30.890733] security_compute_sid.part.6+0x76f/0x1080 [ 30.895923] ? perf_trace_lock+0x2f6/0x4c0 [ 30.900155] ? security_compute_validatetrans.part.4+0x4c0/0x4c0 [ 30.906296] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 30.911222] ? __debug_object_init+0x196/0x890 [ 30.915798] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 30.920906] security_transition_sid+0xcb/0x120 [ 30.925594] selinux_socket_post_create+0x4e9/0x690 [ 30.930625] ? selinux_sb_kern_mount+0x230/0x230 [ 30.935377] ? raw_hash_sk+0x1bb/0x240 [ 30.939260] security_socket_post_create+0x8c/0xc0 [ 30.944187] __sock_create+0x498/0x600 [ 30.948068] SyS_socket+0xdf/0x1d0 [ 30.951605] ? move_addr_to_kernel+0x50/0x50 [ 30.956357] ? do_syscall_64+0x43/0x4b0 [ 30.960307] ? move_addr_to_kernel+0x50/0x50 [ 30.964694] do_syscall_64+0x19b/0x4b0 [ 30.968581] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 30.973768] RIP: 0033:0x446409 [ 30.976956] RSP: 002b:00007fd0c70cedb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 [ 30.984668] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446409 [ 30.991954] RDX: 000000000000003a RSI: 0000000000000003 RDI: 000000000000000a [ 30.999226] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 31.006497] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 31.013772] R13: 00007ffed22816ff R14: 00007fd0c70cf9c0 R15: 0000000000000000 [ 31.021035] [ 31.022654] The buggy address belongs to the page: [ 31.027579] page:ffffea000710adc0 count:0 mapcount:0 mapping: (null) index:0x0 [ 31.035720] flags: 0x4000000000000000() [ 31.039921] raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff [ 31.047898] raw: 0000000000000000 ffffea000710ade0 0000000000000000 0000000000000000 [ 31.055763] page dumped because: kasan: bad access detected [ 31.061476] [ 31.063090] Memory state around the buggy address: [ 31.068053] ffff8881c42b7500: 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 [ 31.075435] ffff8881c42b7580: f1 04 f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 00 00 00 [ 31.082786] >ffff8881c42b7600: 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 04 [ 31.090146] ^ [ 31.096900] ffff8881c42b7680: f2 f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.104251] ffff8881c42b7700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.111594] ================================================================== [ 31.118943] Disabling lock debugging due to kernel taint [ 31.124398] Kernel panic - not syncing: panic_on_warn set ... [ 31.124398] [ 31.131750] CPU: 0 PID: 1868 Comm: syz-executor306 Tainted: G B 4.14.90+ #29 [ 31.140072] Call Trace: [ 31.142655] dump_stack+0xb9/0x11b [ 31.146223] panic+0x1bf/0x3a4 [ 31.149416] ? add_taint.cold.4+0x16/0x16 [ 31.153578] kasan_end_report+0x43/0x49 [ 31.157560] kasan_report.cold.6+0x77/0x2dd [ 31.161878] ? unwind_next_frame+0x1595/0x1930 [ 31.166450] unwind_next_frame+0x1595/0x1930 [ 31.170851] ? retint_kernel+0x2d/0x2d [ 31.174750] ? deref_stack_reg+0xe0/0xe0 [ 31.178820] ? retint_kernel+0x2d/0x2d [ 31.182712] perf_callchain_kernel+0x39c/0x540 [ 31.187290] ? arch_perf_update_userpage+0x330/0x330 [ 31.192385] ? retint_kernel+0x2d/0x2d [ 31.196268] ? no_context+0xac/0x780 [ 31.200074] get_perf_callchain+0x2eb/0x760 [ 31.204387] ? put_callchain_buffers+0x60/0x60 [ 31.208984] ? search_extable+0x7f/0xb0 [ 31.212965] ? trim_init_extable+0x320/0x320 [ 31.217370] perf_callchain+0x14a/0x190 [ 31.221339] perf_prepare_sample+0x704/0x13c0 [ 31.225868] ? perf_event_output_forward+0x145/0x230 [ 31.230967] ? perf_output_sample+0x1780/0x1780 [ 31.235633] ? search_extable+0x7f/0xb0 [ 31.239630] perf_event_output_forward+0xeb/0x230 [ 31.244596] ? perf_prepare_sample+0x13c0/0x13c0 [ 31.249354] ? trim_init_extable+0x320/0x320 [ 31.253755] ? perf_callchain_user+0x4b0/0xf00 [ 31.258333] ? no_context+0xac/0x780 [ 31.262095] ? perf_callchain_user+0x4b0/0xf00 [ 31.266679] ? ex_handler_default+0x14/0x90 [ 31.271002] ? check_preemption_disabled+0x34/0x1e0 [ 31.276015] __perf_event_overflow+0x116/0x320 [ 31.280593] perf_swevent_overflow+0x166/0x1f0 [ 31.285180] perf_swevent_event+0x112/0x270 [ 31.289496] perf_tp_event+0x620/0x7e0 [ 31.293383] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 31.299088] ? perf_output_begin_forward+0x6a0/0xa80 [ 31.304207] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 31.304216] ? error_exit+0xb/0x20 [ 31.304227] ? perf_output_begin_forward+0x6d6/0xa80 [ 31.317687] ? bad_gs+0x23/0x1643 [ 31.317697] ? perf_callchain_user+0x2d8/0xf00 [ 31.325717] ? perf_callchain_kernel+0x540/0x540 [ 31.330462] ? perf_output_copy+0x1e0/0x1e0 [ 31.334786] ? perf_trace_run_bpf_submit+0x10f/0x170 [ 31.339905] ? check_preemption_disabled+0x34/0x1e0 [ 31.344921] perf_trace_run_bpf_submit+0x10f/0x170 [ 31.349863] perf_trace_lock+0x2f6/0x4c0 [ 31.353932] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 31.358859] ? retint_kernel+0x2d/0x2d [ 31.362739] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 31.367680] lock_release+0x4dc/0x720 [ 31.371484] ? __is_insn_slot_addr+0x112/0x1f0 [ 31.376071] ? lock_downgrade+0x560/0x560 [ 31.380214] ? lock_acquire+0x10f/0x380 [ 31.384184] ? __free_insn_slot+0x490/0x490 [ 31.388503] ? check_preemption_disabled+0x34/0x1e0 [ 31.393514] __is_insn_slot_addr+0x139/0x1f0 [ 31.398031] kernel_text_address+0x10b/0x120 [ 31.402449] __kernel_text_address+0x9/0x30 [ 31.406791] unwind_get_return_address+0x51/0x90 [ 31.411539] __save_stack_trace+0x8d/0xf0 [ 31.415692] ? ebitmap_cpy+0xc4/0x260 [ 31.419499] kasan_kmalloc.part.1+0x4f/0xd0 [ 31.423821] ? kasan_kmalloc.part.1+0x4f/0xd0 [ 31.428308] ? kmem_cache_alloc+0xe4/0x2b0 [ 31.432537] ? ebitmap_cpy+0xc4/0x260 [ 31.436340] ? mls_compute_sid+0x24a/0xda0 [ 31.440600] ? security_compute_sid.part.6+0x76f/0x1080 [ 31.445981] ? security_transition_sid+0xcb/0x120 [ 31.450817] ? selinux_socket_post_create+0x4e9/0x690 [ 31.456027] ? security_socket_post_create+0x8c/0xc0 [ 31.461137] ? __sock_create+0x498/0x600 [ 31.465193] ? SyS_socket+0xdf/0x1d0 [ 31.468910] ? do_syscall_64+0x19b/0x4b0 [ 31.472988] ? entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 31.478347] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 31.484050] ? __lock_acquire+0x619/0x4320 [ 31.488284] ? trace_hardirqs_on+0x10/0x10 [ 31.492511] ? kernel_text_address+0x10b/0x120 [ 31.497102] ? __kernel_text_address+0x9/0x30 [ 31.501612] ? kasan_unpoison_shadow+0x30/0x40 [ 31.506186] ? kasan_kmalloc+0x76/0xc0 [ 31.510088] ? ebitmap_cpy+0xc4/0x260 [ 31.513903] kmem_cache_alloc+0xe4/0x2b0 [ 31.517955] ebitmap_cpy+0xc4/0x260 [ 31.521590] mls_compute_sid+0x24a/0xda0 [ 31.525647] ? mls_convert_context+0x780/0x780 [ 31.530235] ? avtab_search_node+0x385/0x490 [ 31.534639] security_compute_sid.part.6+0x76f/0x1080 [ 31.539822] ? perf_trace_lock+0x2f6/0x4c0 [ 31.544082] ? security_compute_validatetrans.part.4+0x4c0/0x4c0 [ 31.550220] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 31.555158] ? __debug_object_init+0x196/0x890 [ 31.559733] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 31.564852] security_transition_sid+0xcb/0x120 [ 31.569531] selinux_socket_post_create+0x4e9/0x690 [ 31.574569] ? selinux_sb_kern_mount+0x230/0x230 [ 31.579323] ? raw_hash_sk+0x1bb/0x240 [ 31.583207] security_socket_post_create+0x8c/0xc0 [ 31.588130] __sock_create+0x498/0x600 [ 31.592011] SyS_socket+0xdf/0x1d0 [ 31.595571] ? move_addr_to_kernel+0x50/0x50 [ 31.599973] ? do_syscall_64+0x43/0x4b0 [ 31.603952] ? move_addr_to_kernel+0x50/0x50 [ 31.608354] do_syscall_64+0x19b/0x4b0 [ 31.612233] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 31.617428] RIP: 0033:0x446409 [ 31.620623] RSP: 002b:00007fd0c70cedb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 [ 31.628339] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446409 [ 31.635599] RDX: 000000000000003a RSI: 0000000000000003 RDI: 000000000000000a [ 31.642872] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 31.650141] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 31.657403] R13: 00007ffed22816ff R14: 00007fd0c70cf9c0 R15: 0000000000000000 [ 31.665028] Kernel Offset: 0x11400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 31.675929] Rebooting in 86400 seconds..