[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 25.719587] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 28.524588] random: sshd: uninitialized urandom read (32 bytes read) [ 28.843153] random: sshd: uninitialized urandom read (32 bytes read) [ 29.438645] random: sshd: uninitialized urandom read (32 bytes read) [ 29.651292] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.90' (ECDSA) to the list of known hosts. [ 35.229271] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program [ 35.355294] audit: type=1400 audit(1537856805.684:2): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5349 comm="syz-executor879" [ 35.374627] audit: type=1400 audit(1537856805.704:3): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5350 comm="syz-executor879" executing program executing program executing program [ 35.394017] audit: type=1400 audit(1537856805.724:4): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5351 comm="syz-executor879" [ 35.413738] audit: type=1400 audit(1537856805.744:5): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5352 comm="syz-executor879" [ 35.433113] audit: type=1400 audit(1537856805.754:6): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5353 comm="syz-executor879" executing program executing program [ 35.452922] audit: type=1400 audit(1537856805.774:7): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5354 comm="syz-executor879" [ 35.472608] audit: type=1400 audit(1537856805.794:8): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5355 comm="syz-executor879" executing program executing program executing program executing program 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.492248] audit: type=1400 audit(1537856805.814:9): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5356 comm="syz-executor879" [ 35.511680] audit: type=1400 audit(1537856805.834:10): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5357 comm="syz-executor879" [ 35.530995] audit: type=1400 audit(1537856805.854:11): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5358 comm="syz-executor879" executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.835976] ================================================================== [ 35.843450] BUG: KASAN: stack-out-of-bounds in memcmp+0xe3/0x160 [ 35.849594] Read of size 1 at addr ffff8801bae6f3b0 by task syz-executor879/5459 [ 35.857107] [ 35.858758] CPU: 1 PID: 5459 Comm: syz-executor879 Not tainted 4.19.0-rc5+ #155 [ 35.866197] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.875550] Call Trace: [ 35.878142] dump_stack+0x1c4/0x2b4 [ 35.881762] ? dump_stack_print_info.cold.2+0x52/0x52 [ 35.886958] ? printk+0xa7/0xcf [ 35.890231] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 35.894981] print_address_description.cold.8+0x9/0x1ff [ 35.900340] kasan_report.cold.9+0x242/0x309 [ 35.904760] ? memcmp+0xe3/0x160 [ 35.908145] __asan_report_load1_noabort+0x14/0x20 [ 35.913074] memcmp+0xe3/0x160 [ 35.916255] strnstr+0x4b/0x70 [ 35.919439] __aa_lookupn_ns+0xc1/0x570 [ 35.923409] ? aa_find_ns+0x30/0x30 [ 35.927026] ? lock_acquire+0x1ed/0x520 [ 35.931053] ? __aa_lookupn_ns+0x570/0x570 [ 35.935283] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 35.940810] ? check_preemption_disabled+0x48/0x200 [ 35.945814] ? kasan_check_read+0x11/0x20 [ 35.949954] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 35.955218] ? print_usage_bug+0xc0/0xc0 [ 35.959271] ? rcu_bh_qs+0xc0/0xc0 [ 35.962804] ? print_usage_bug+0xc0/0xc0 [ 35.966872] aa_lookupn_ns+0x88/0x1e0 [ 35.970677] aa_fqlookupn_profile+0x1b9/0x1010 [ 35.975259] ? aa_lookup_profile+0x30/0x30 [ 35.979480] ? __lock_acquire+0x7ec/0x4ec0 [ 35.983700] ? noop_count+0x40/0x40 [ 35.987318] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 35.992845] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 35.998293] ? refcount_add_not_zero_checked+0x330/0x330 [ 36.003745] ? mark_held_locks+0x130/0x130 [ 36.007987] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.013533] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 36.019081] fqlookupn_profile+0x80/0xc0 [ 36.023152] aa_label_strn_parse+0xa3a/0x1230 [ 36.027639] ? aa_label_printk+0x850/0x850 [ 36.031876] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 36.037659] ? kasan_check_read+0x11/0x20 [ 36.041794] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 36.047061] ? rcu_bh_qs+0xc0/0xc0 [ 36.050613] ? rcu_bh_qs+0xc0/0xc0 [ 36.054167] ? unwind_dump+0x190/0x190 [ 36.058059] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.063589] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 36.069027] ? refcount_add_not_zero_checked+0x330/0x330 [ 36.074503] ? unwind_get_return_address+0x61/0xa0 [ 36.079425] ? __save_stack_trace+0x8d/0xf0 [ 36.083755] aa_label_parse+0x42/0x50 [ 36.087555] aa_change_profile+0x513/0x3510 [ 36.091877] ? save_stack+0x43/0xd0 [ 36.095489] ? kasan_kmalloc+0xc7/0xe0 [ 36.099372] ? apparmor_setprocattr+0x2ab/0x1150 [ 36.104116] ? __vfs_write+0x119/0x9f0 [ 36.107988] ? __x64_sys_write+0x81/0xb0 [ 36.112048] ? do_fast_syscall_32+0x34d/0xfb2 [ 36.116533] ? entry_SYSENTER_compat+0x70/0x7f [ 36.121120] ? aa_change_hat+0x1a20/0x1a20 [ 36.125364] ? find_held_lock+0x36/0x1c0 [ 36.129441] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.134966] ? check_preemption_disabled+0x48/0x200 [ 36.139967] ? check_preemption_disabled+0x48/0x200 [ 36.144973] ? __lock_is_held+0xb5/0x140 [ 36.149025] ? rcu_read_lock_sched_held+0x108/0x120 [ 36.154060] ? __kmalloc+0x5de/0x760 [ 36.157759] ? graph_lock+0x170/0x170 [ 36.161556] ? mark_held_locks+0x130/0x130 [ 36.165791] apparmor_setprocattr+0xa8b/0x1150 [ 36.170391] ? apparmor_task_kill+0xcb0/0xcb0 [ 36.174876] ? lock_downgrade+0x900/0x900 [ 36.179052] ? arch_local_save_flags+0x40/0x40 [ 36.183639] security_setprocattr+0x66/0xc0 [ 36.187950] proc_pid_attr_write+0x301/0x540 [ 36.192346] __vfs_write+0x119/0x9f0 [ 36.196066] ? check_preemption_disabled+0x48/0x200 [ 36.201079] ? proc_loginuid_write+0x4f0/0x4f0 [ 36.205660] ? kernel_read+0x120/0x120 [ 36.209540] ? __lock_is_held+0xb5/0x140 [ 36.213603] ? rcu_read_lock_sched_held+0x108/0x120 [ 36.218608] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.224154] ? __sb_start_write+0x1b2/0x370 [ 36.228468] vfs_write+0x1fc/0x560 [ 36.232083] ksys_write+0x101/0x260 [ 36.235722] ? __ia32_sys_read+0xb0/0xb0 [ 36.239793] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 36.245305] __ia32_sys_write+0x71/0xb0 [ 36.249279] do_fast_syscall_32+0x34d/0xfb2 [ 36.253590] ? do_int80_syscall_32+0x890/0x890 [ 36.258237] ? entry_SYSENTER_compat+0x68/0x7f [ 36.262813] ? trace_hardirqs_off_caller+0xbb/0x310 [ 36.267822] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.272649] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.277482] ? trace_hardirqs_on_caller+0x310/0x310 [ 36.282499] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 36.287517] ? prepare_exit_to_usermode+0x291/0x3b0 [ 36.292531] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.297366] entry_SYSENTER_compat+0x70/0x7f [ 36.301763] RIP: 0023:0xf7f38ca9 [ 36.305120] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 0c 24 c3 8b 1c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 36.324086] RSP: 002b:00000000ffe882ec EFLAGS: 00000246 ORIG_RAX: 0000000000000004 [ 36.331838] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200000c0 [ 36.339110] RDX: 000000000000002c RSI: 00000000ffe88434 RDI: 00000000ffe8843c [ 36.346370] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 [ 36.353632] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 36.360899] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 36.368176] [ 36.369790] The buggy address belongs to the page: [ 36.374714] page:ffffea0006eb9bc0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 [ 36.382852] flags: 0x2fffc0000000000() [ 36.386726] raw: 02fffc0000000000 0000000000000000 ffffffff06eb0101 0000000000000000 [ 36.394588] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 36.402452] page dumped because: kasan: bad access detected [ 36.408142] [ 36.409772] Memory state around the buggy address: [ 36.414692] ffff8801bae6f280: f2 f2 f2 f2 00 f2 f2 f2 00 00 00 00 00 00 00 00 [ 36.422142] ffff8801bae6f300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 36.429486] >ffff8801bae6f380: 00 00 00 00 00 f1 f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 [ 36.436833] ^ [ 36.441744] ffff8801bae6f400: f2 00 f2 f2 f2 f2 f2 f2 f2 f8 f2 f2 f2 f2 f2 f2 [ 36.449098] ffff8801bae6f480: f2 00 f2 f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 [ 36.456546] ================================================================== [ 36.463893] Disabling lock debugging due to kernel taint [ 36.469677] Kernel panic - not syncing: panic_on_warn set ... [ 36.469677] [ 36.477168] CPU: 1 PID: 5459 Comm: syz-executor879 Tainted: G B 4.19.0-rc5+ #155 [ 36.485985] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.495341] Call Trace: [ 36.497927] dump_stack+0x1c4/0x2b4 [ 36.501537] ? dump_stack_print_info.cold.2+0x52/0x52 [ 36.506720] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 36.511537] panic+0x238/0x4e7 [ 36.514724] ? add_taint.cold.5+0x16/0x16 [ 36.518869] ? preempt_schedule+0x4d/0x60 [ 36.523014] ? ___preempt_schedule+0x16/0x18 [ 36.527443] ? trace_hardirqs_on+0xb4/0x310 [ 36.531769] kasan_end_report+0x47/0x4f [ 36.535734] kasan_report.cold.9+0x76/0x309 [ 36.540058] ? memcmp+0xe3/0x160 [ 36.543413] __asan_report_load1_noabort+0x14/0x20 [ 36.548323] memcmp+0xe3/0x160 [ 36.551507] strnstr+0x4b/0x70 [ 36.554686] __aa_lookupn_ns+0xc1/0x570 [ 36.558646] ? aa_find_ns+0x30/0x30 [ 36.562261] ? lock_acquire+0x1ed/0x520 [ 36.566222] ? __aa_lookupn_ns+0x570/0x570 [ 36.570449] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.576062] ? check_preemption_disabled+0x48/0x200 [ 36.581068] ? kasan_check_read+0x11/0x20 [ 36.585227] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 36.590491] ? print_usage_bug+0xc0/0xc0 [ 36.594542] ? rcu_bh_qs+0xc0/0xc0 [ 36.598074] ? print_usage_bug+0xc0/0xc0 [ 36.602158] aa_lookupn_ns+0x88/0x1e0 [ 36.605958] aa_fqlookupn_profile+0x1b9/0x1010 [ 36.610547] ? aa_lookup_profile+0x30/0x30 [ 36.614770] ? __lock_acquire+0x7ec/0x4ec0 [ 36.618985] ? noop_count+0x40/0x40 [ 36.622596] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.628265] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 36.633711] ? refcount_add_not_zero_checked+0x330/0x330 [ 36.639146] ? mark_held_locks+0x130/0x130 [ 36.643367] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.648887] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 36.654413] fqlookupn_profile+0x80/0xc0 [ 36.658463] aa_label_strn_parse+0xa3a/0x1230 [ 36.662953] ? aa_label_printk+0x850/0x850 [ 36.667176] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 36.672954] ? kasan_check_read+0x11/0x20 [ 36.677086] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 36.682345] ? rcu_bh_qs+0xc0/0xc0 [ 36.685869] ? rcu_bh_qs+0xc0/0xc0 [ 36.689393] ? unwind_dump+0x190/0x190 [ 36.693266] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.698785] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 36.704219] ? refcount_add_not_zero_checked+0x330/0x330 [ 36.709652] ? unwind_get_return_address+0x61/0xa0 [ 36.714568] ? __save_stack_trace+0x8d/0xf0 [ 36.718876] aa_label_parse+0x42/0x50 [ 36.722659] aa_change_profile+0x513/0x3510 [ 36.726963] ? save_stack+0x43/0xd0 [ 36.730571] ? kasan_kmalloc+0xc7/0xe0 [ 36.734450] ? apparmor_setprocattr+0x2ab/0x1150 [ 36.739192] ? __vfs_write+0x119/0x9f0 [ 36.743068] ? __x64_sys_write+0x81/0xb0 [ 36.747119] ? do_fast_syscall_32+0x34d/0xfb2 [ 36.751602] ? entry_SYSENTER_compat+0x70/0x7f [ 36.756174] ? aa_change_hat+0x1a20/0x1a20 [ 36.760393] ? find_held_lock+0x36/0x1c0 [ 36.764459] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.769985] ? check_preemption_disabled+0x48/0x200 [ 36.774999] ? check_preemption_disabled+0x48/0x200 [ 36.780007] ? __lock_is_held+0xb5/0x140 [ 36.784064] ? rcu_read_lock_sched_held+0x108/0x120 [ 36.789066] ? __kmalloc+0x5de/0x760 [ 36.792763] ? graph_lock+0x170/0x170 [ 36.796546] ? mark_held_locks+0x130/0x130 [ 36.800769] apparmor_setprocattr+0xa8b/0x1150 [ 36.805338] ? apparmor_task_kill+0xcb0/0xcb0 [ 36.809828] ? lock_downgrade+0x900/0x900 [ 36.813964] ? arch_local_save_flags+0x40/0x40 [ 36.818544] security_setprocattr+0x66/0xc0 [ 36.822854] proc_pid_attr_write+0x301/0x540 [ 36.827257] __vfs_write+0x119/0x9f0 [ 36.830955] ? check_preemption_disabled+0x48/0x200 [ 36.835958] ? proc_loginuid_write+0x4f0/0x4f0 [ 36.840528] ? kernel_read+0x120/0x120 [ 36.844406] ? __lock_is_held+0xb5/0x140 [ 36.848463] ? rcu_read_lock_sched_held+0x108/0x120 [ 36.853475] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.859025] ? __sb_start_write+0x1b2/0x370 [ 36.863364] vfs_write+0x1fc/0x560 [ 36.866896] ksys_write+0x101/0x260 [ 36.870510] ? __ia32_sys_read+0xb0/0xb0 [ 36.874569] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 36.880011] __ia32_sys_write+0x71/0xb0 [ 36.883984] do_fast_syscall_32+0x34d/0xfb2 [ 36.888297] ? do_int80_syscall_32+0x890/0x890 [ 36.892867] ? entry_SYSENTER_compat+0x68/0x7f [ 36.897442] ? trace_hardirqs_off_caller+0xbb/0x310 [ 36.902455] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.907292] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.912125] ? trace_hardirqs_on_caller+0x310/0x310 [ 36.917133] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 36.922137] ? prepare_exit_to_usermode+0x291/0x3b0 [ 36.927151] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.931990] entry_SYSENTER_compat+0x70/0x7f [ 36.936522] RIP: 0023:0xf7f38ca9 [ 36.939877] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 0c 24 c3 8b 1c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 36.958822] RSP: 002b:00000000ffe882ec EFLAGS: 00000246 ORIG_RAX: 0000000000000004 [ 36.966537] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200000c0 [ 36.973817] RDX: 000000000000002c RSI: 00000000ffe88434 RDI: 00000000ffe8843c [ 36.981157] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 [ 36.988431] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 36.995693] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 37.003813] Kernel Offset: disabled [ 37.007442] Rebooting in 86400 seconds..