[....] 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: [ 32.582671] random: sshd: uninitialized urandom read (32 bytes read) [ 32.952487] audit: type=1400 audit(1540774722.347: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 [ 33.041805] random: sshd: uninitialized urandom read (32 bytes read) [ 33.469263] random: sshd: uninitialized urandom read (32 bytes read) [ 33.628071] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.39' (ECDSA) to the list of known hosts. [ 39.292874] 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 [ 39.380772] audit: type=1400 audit(1540774728.777:7): avc: denied { map } for pid=1785 comm="syz-executor240" path="/root/syz-executor240164858" 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 [ 40.201898] ================================================================== [ 40.209278] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x1595/0x1930 [ 40.216631] Read of size 8 at addr ffff8801cf40fd28 by task syz-executor240/2130 [ 40.224140] [ 40.225753] CPU: 0 PID: 2130 Comm: syz-executor240 Not tainted 4.14.78+ #26 [ 40.232866] Call Trace: [ 40.235460] dump_stack+0xb9/0x11b [ 40.238980] print_address_description+0x60/0x22b [ 40.243850] kasan_report.cold.6+0x11b/0x2dd [ 40.248242] ? unwind_next_frame+0x1595/0x1930 [ 40.252901] unwind_next_frame+0x1595/0x1930 [ 40.257294] ? retint_kernel+0x2d/0x2d [ 40.261158] ? deref_stack_reg+0xe0/0xe0 [ 40.265195] ? cmp_ex_sort+0xb0/0xb0 [ 40.268882] ? perf_output_begin_forward+0x6a0/0xa80 [ 40.274012] ? retint_kernel+0x2d/0x2d [ 40.277881] perf_callchain_kernel+0x39c/0x540 [ 40.282447] ? arch_perf_update_userpage+0x330/0x330 [ 40.287528] ? retint_kernel+0x2d/0x2d [ 40.291397] ? perf_callchain_kernel+0x540/0x540 [ 40.296128] get_perf_callchain+0x2eb/0x760 [ 40.300425] ? put_callchain_buffers+0x60/0x60 [ 40.304983] ? get_perf_callchain+0x57b/0x760 [ 40.309460] perf_callchain+0x14a/0x190 [ 40.313415] perf_prepare_sample+0x704/0x13c0 [ 40.317901] ? perf_output_sample+0x1780/0x1780 [ 40.322552] ? perf_prepare_sample+0x6b2/0x13c0 [ 40.327201] perf_event_output_forward+0xeb/0x230 [ 40.332020] ? perf_prepare_sample+0x13c0/0x13c0 [ 40.336759] ? perf_event_output_forward+0x16c/0x230 [ 40.341838] ? check_preemption_disabled+0x34/0x160 [ 40.346838] __perf_event_overflow+0x116/0x320 [ 40.351395] perf_swevent_overflow+0x166/0x1f0 [ 40.355953] perf_swevent_event+0x19c/0x270 [ 40.360255] perf_tp_event+0x5e5/0x790 [ 40.364127] ? perf_swevent_overflow+0x145/0x1f0 [ 40.369711] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 40.375417] ? perf_swevent_put_recursion_context+0x1a/0xa0 [ 40.381106] ? perf_tp_event+0x477/0x790 [ 40.385156] ? check_preemption_disabled+0x34/0x160 [ 40.390153] ? __free_pages_ok+0x95b/0x1c70 [ 40.394453] ? graph_lock+0xd0/0xd0 [ 40.398051] ? lock_acquire+0x10f/0x380 [ 40.402008] ? finish_task_switch+0x1be/0x590 [ 40.406486] ? perf_trace_run_bpf_submit+0x10f/0x170 [ 40.411612] ? check_preemption_disabled+0x34/0x160 [ 40.416613] perf_trace_run_bpf_submit+0x10f/0x170 [ 40.421528] perf_trace_lock+0x2f6/0x4c0 [ 40.425566] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 40.430471] ? perf_trace_lock+0x2f6/0x4c0 [ 40.434767] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 40.439680] ? retint_kernel+0x2d/0x2d [ 40.443549] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 40.448452] lock_release+0x4dc/0x720 [ 40.452232] ? netlink_create+0xc7/0x510 [ 40.456402] ? lock_downgrade+0x560/0x560 [ 40.460531] ? lock_acquire+0x10f/0x380 [ 40.464485] ? netlink_create+0xb1/0x510 [ 40.468678] ? __sock_create+0x29b/0x600 [ 40.472723] _raw_read_unlock+0x17/0x40 [ 40.476690] netlink_create+0xc7/0x510 [ 40.480562] __sock_create+0x2f7/0x600 [ 40.484434] SyS_socket+0xdf/0x1d0 [ 40.487950] ? move_addr_to_kernel+0x50/0x50 [ 40.492333] ? do_syscall_64+0x43/0x4b0 [ 40.496295] ? move_addr_to_kernel+0x50/0x50 [ 40.500687] do_syscall_64+0x19b/0x4b0 [ 40.504552] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.509713] RIP: 0033:0x446419 [ 40.512880] RSP: 002b:00007f1efa3cfda8 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 [ 40.520682] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446419 [ 40.527927] RDX: 0000000000000000 RSI: 0020000000080003 RDI: 0000000000000010 [ 40.535179] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 40.542428] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 40.549765] R13: 0020000000080003 R14: 00007f1efa3d09c0 R15: 0000000000000000 [ 40.557027] [ 40.558631] The buggy address belongs to the page: [ 40.563537] page:ffffea00073d03c0 count:0 mapcount:0 mapping: (null) index:0x0 [ 40.571661] flags: 0x4000000000000000() [ 40.575614] raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff [ 40.583469] raw: 0000000000000000 ffffea00073d03e0 0000000000000000 0000000000000000 [ 40.591326] page dumped because: kasan: bad access detected [ 40.597009] [ 40.598645] Memory state around the buggy address: [ 40.603662] ffff8801cf40fc00: 00 00 00 00 00 f1 f1 f1 f1 04 f2 f2 f2 f2 f2 f2 [ 40.610994] ffff8801cf40fc80: f2 00 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 00 [ 40.618330] >ffff8801cf40fd00: 00 00 00 f1 f1 f1 f1 04 f2 f2 f2 00 00 00 00 00 [ 40.625712] ^ [ 40.630374] ffff8801cf40fd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 40.637712] ffff8801cf40fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 [ 40.645051] ================================================================== [ 40.652382] Disabling lock debugging due to kernel taint [ 40.657809] Kernel panic - not syncing: panic_on_warn set ... [ 40.657809] [ 40.665248] CPU: 0 PID: 2130 Comm: syz-executor240 Tainted: G B 4.14.78+ #26 [ 40.673685] Call Trace: [ 40.676253] dump_stack+0xb9/0x11b [ 40.679769] panic+0x1bf/0x3a4 [ 40.682939] ? add_taint.cold.4+0x16/0x16 [ 40.687071] kasan_end_report+0x43/0x49 [ 40.691024] kasan_report.cold.6+0x77/0x2dd [ 40.695326] ? unwind_next_frame+0x1595/0x1930 [ 40.699880] unwind_next_frame+0x1595/0x1930 [ 40.704266] ? retint_kernel+0x2d/0x2d [ 40.708187] ? deref_stack_reg+0xe0/0xe0 [ 40.712290] ? cmp_ex_sort+0xb0/0xb0 [ 40.715985] ? perf_output_begin_forward+0x6a0/0xa80 [ 40.721061] ? retint_kernel+0x2d/0x2d [ 40.725039] perf_callchain_kernel+0x39c/0x540 [ 40.729604] ? arch_perf_update_userpage+0x330/0x330 [ 40.734741] ? retint_kernel+0x2d/0x2d [ 40.738613] ? perf_callchain_kernel+0x540/0x540 [ 40.743344] get_perf_callchain+0x2eb/0x760 [ 40.747643] ? put_callchain_buffers+0x60/0x60 [ 40.752252] ? get_perf_callchain+0x57b/0x760 [ 40.756727] perf_callchain+0x14a/0x190 [ 40.760683] perf_prepare_sample+0x704/0x13c0 [ 40.765155] ? perf_output_sample+0x1780/0x1780 [ 40.769804] ? perf_prepare_sample+0x6b2/0x13c0 [ 40.774453] perf_event_output_forward+0xeb/0x230 [ 40.779272] ? perf_prepare_sample+0x13c0/0x13c0 [ 40.784054] ? perf_event_output_forward+0x16c/0x230 [ 40.789147] ? check_preemption_disabled+0x34/0x160 [ 40.794139] __perf_event_overflow+0x116/0x320 [ 40.798755] perf_swevent_overflow+0x166/0x1f0 [ 40.803328] perf_swevent_event+0x19c/0x270 [ 40.807622] perf_tp_event+0x5e5/0x790 [ 40.811532] ? perf_swevent_overflow+0x145/0x1f0 [ 40.816271] ? perf_swevent_put_recursion_context+0xa0/0xa0 [ 40.822023] ? perf_swevent_put_recursion_context+0x1a/0xa0 [ 40.827713] ? perf_tp_event+0x477/0x790 [ 40.831761] ? check_preemption_disabled+0x34/0x160 [ 40.836757] ? __free_pages_ok+0x95b/0x1c70 [ 40.841061] ? graph_lock+0xd0/0xd0 [ 40.844741] ? lock_acquire+0x10f/0x380 [ 40.848772] ? finish_task_switch+0x1be/0x590 [ 40.853312] ? perf_trace_run_bpf_submit+0x10f/0x170 [ 40.858415] ? check_preemption_disabled+0x34/0x160 [ 40.863411] perf_trace_run_bpf_submit+0x10f/0x170 [ 40.868750] perf_trace_lock+0x2f6/0x4c0 [ 40.872794] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 40.877703] ? perf_trace_lock+0x2f6/0x4c0 [ 40.881922] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 40.886840] ? retint_kernel+0x2d/0x2d [ 40.890707] ? perf_trace_lock_acquire+0x4d0/0x4d0 [ 40.895611] lock_release+0x4dc/0x720 [ 40.899486] ? netlink_create+0xc7/0x510 [ 40.903537] ? lock_downgrade+0x560/0x560 [ 40.907662] ? lock_acquire+0x10f/0x380 [ 40.911616] ? netlink_create+0xb1/0x510 [ 40.915652] ? __sock_create+0x29b/0x600 [ 40.919841] _raw_read_unlock+0x17/0x40 [ 40.923799] netlink_create+0xc7/0x510 [ 40.927663] __sock_create+0x2f7/0x600 [ 40.931523] SyS_socket+0xdf/0x1d0 [ 40.935108] ? move_addr_to_kernel+0x50/0x50 [ 40.939504] ? do_syscall_64+0x43/0x4b0 [ 40.943457] ? move_addr_to_kernel+0x50/0x50 [ 40.947848] do_syscall_64+0x19b/0x4b0 [ 40.951714] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.957187] RIP: 0033:0x446419 [ 40.960349] RSP: 002b:00007f1efa3cfda8 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 [ 40.968032] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446419 [ 40.975282] RDX: 0000000000000000 RSI: 0020000000080003 RDI: 0000000000000010 [ 40.982533] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 40.989786] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 40.997087] R13: 0020000000080003 R14: 00007f1efa3d09c0 R15: 0000000000000000 [ 42.090101] Shutting down cpus with NMI [ 42.094533] Kernel Offset: 0xd400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 42.105510] Rebooting in 86400 seconds..