[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 23.799777] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 28.705450] random: sshd: uninitialized urandom read (32 bytes read) [ 29.062330] random: sshd: uninitialized urandom read (32 bytes read) [ 29.635992] random: sshd: uninitialized urandom read (32 bytes read) [ 53.863671] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.14' (ECDSA) to the list of known hosts. [ 59.431373] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program [ 59.561006] audit: type=1400 audit(1537752183.126:2): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5320 comm="syz-executor773" [ 59.588294] audit: type=1400 audit(1537752183.156:3): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5321 comm="syz-executor773" executing program executing program [ 59.615727] audit: type=1400 audit(1537752183.186:4): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5322 comm="syz-executor773" [ 59.643166] audit: type=1400 audit(1537752183.216:5): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5323 comm="syz-executor773" executing program executing program [ 59.670974] audit: type=1400 audit(1537752183.236:6): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5324 comm="syz-executor773" [ 59.698829] audit: type=1400 audit(1537752183.266:7): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5325 comm="syz-executor773" executing program executing program [ 59.726558] audit: type=1400 audit(1537752183.296:8): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5326 comm="syz-executor773" [ 59.754015] audit: type=1400 audit(1537752183.326:9): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5327 comm="syz-executor773" executing program executing program executing program executing program executing program [ 59.780858] audit: type=1400 audit(1537752183.346:10): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5328 comm="syz-executor773" [ 59.807833] audit: type=1400 audit(1537752183.376:11): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5329 comm="syz-executor773" executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 60.744115] ================================================================== [ 60.751772] BUG: KASAN: stack-out-of-bounds in memcmp+0xe3/0x160 [ 60.758083] Read of size 1 at addr ffff8801d8e47400 by task syz-executor773/5423 [ 60.765719] [ 60.767338] CPU: 1 PID: 5423 Comm: syz-executor773 Not tainted 4.19.0-rc5+ #251 [ 60.774798] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.784238] Call Trace: [ 60.786824] dump_stack+0x1c4/0x2b4 [ 60.790445] ? dump_stack_print_info.cold.2+0x52/0x52 [ 60.795629] ? printk+0xa7/0xcf [ 60.798898] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 60.803647] print_address_description.cold.8+0x9/0x1ff [ 60.809123] kasan_report.cold.9+0x242/0x309 [ 60.813521] ? memcmp+0xe3/0x160 [ 60.816879] __asan_report_load1_noabort+0x14/0x20 [ 60.821811] memcmp+0xe3/0x160 [ 60.825006] strnstr+0x4b/0x70 [ 60.828323] __aa_lookupn_ns+0xc1/0x570 [ 60.832402] ? aa_find_ns+0x30/0x30 [ 60.836024] ? lock_acquire+0x1ed/0x520 [ 60.840004] ? __aa_lookupn_ns+0x570/0x570 [ 60.844241] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 60.849892] ? check_preemption_disabled+0x48/0x200 [ 60.854908] ? kasan_check_read+0x11/0x20 [ 60.859066] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 60.864334] ? rcu_bh_qs+0xc0/0xc0 [ 60.867981] ? print_usage_bug+0xc0/0xc0 [ 60.872058] aa_lookupn_ns+0x88/0x1e0 [ 60.875858] aa_fqlookupn_profile+0x1b9/0x1010 [ 60.880434] ? lru_cache_add+0x417/0xa50 [ 60.884488] ? aa_lookup_profile+0x30/0x30 [ 60.888711] ? __lock_acquire+0x7ec/0x4ec0 [ 60.892932] ? noop_count+0x40/0x40 [ 60.896550] ? rcu_bh_qs+0xc0/0xc0 [ 60.900092] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 60.905619] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 60.911186] ? refcount_add_not_zero_checked+0x330/0x330 [ 60.916686] ? mark_held_locks+0x130/0x130 [ 60.921565] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 60.927094] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 60.932622] fqlookupn_profile+0x80/0xc0 [ 60.936682] aa_label_strn_parse+0xa3a/0x1230 [ 60.941171] ? aa_label_printk+0x850/0x850 [ 60.945405] ? lockdep_on+0x50/0x50 [ 60.949023] ? graph_lock+0x170/0x170 [ 60.952955] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 60.958689] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 60.964138] ? refcount_add_not_zero_checked+0x330/0x330 [ 60.969584] ? graph_lock+0x170/0x170 [ 60.973371] ? find_held_lock+0x36/0x1c0 [ 60.977420] aa_label_parse+0x42/0x50 [ 60.981206] aa_change_profile+0x513/0x3510 [ 60.985524] ? lock_acquire+0x1ed/0x520 [ 60.989496] ? aa_change_hat+0x1a20/0x1a20 [ 60.993724] ? is_bpf_text_address+0xd3/0x170 [ 60.998224] ? __mutex_lock+0x85e/0x1700 [ 61.002292] ? proc_pid_attr_write+0x28a/0x540 [ 61.006874] ? mutex_trylock+0x2b0/0x2b0 [ 61.010925] ? save_stack+0xa9/0xd0 [ 61.014539] ? save_stack+0x43/0xd0 [ 61.018249] ? kasan_kmalloc+0xc7/0xe0 [ 61.022125] ? __kmalloc_track_caller+0x14a/0x750 [ 61.026958] ? memdup_user+0x2c/0xa0 [ 61.030662] ? proc_pid_attr_write+0x198/0x540 [ 61.035236] ? graph_lock+0x170/0x170 [ 61.039024] ? __x64_sys_write+0x73/0xb0 [ 61.043078] ? graph_lock+0x170/0x170 [ 61.046866] ? mark_held_locks+0x130/0x130 [ 61.051095] apparmor_setprocattr+0xaa4/0x1150 [ 61.055670] ? apparmor_task_kill+0xcb0/0xcb0 [ 61.060151] ? lock_downgrade+0x900/0x900 [ 61.064288] ? arch_local_save_flags+0x40/0x40 [ 61.068871] security_setprocattr+0x66/0xc0 [ 61.073181] proc_pid_attr_write+0x301/0x540 [ 61.077584] __vfs_write+0x119/0x9f0 [ 61.081283] ? check_preemption_disabled+0x48/0x200 [ 61.086288] ? proc_loginuid_write+0x4f0/0x4f0 [ 61.091001] ? kernel_read+0x120/0x120 [ 61.094892] ? __lock_is_held+0xb5/0x140 [ 61.098944] ? rcu_read_lock_sched_held+0x108/0x120 [ 61.103948] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.109479] ? __sb_start_write+0x1b2/0x370 [ 61.113794] vfs_write+0x1fc/0x560 [ 61.117369] ksys_write+0x101/0x260 [ 61.120990] ? __ia32_sys_read+0xb0/0xb0 [ 61.125044] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 61.130499] __x64_sys_write+0x73/0xb0 [ 61.134381] do_syscall_64+0x1b9/0x820 [ 61.138259] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 61.143614] ? syscall_return_slowpath+0x5e0/0x5e0 [ 61.148530] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 61.153364] ? trace_hardirqs_on_caller+0x310/0x310 [ 61.158430] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 61.163445] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.168974] ? prepare_exit_to_usermode+0x291/0x3b0 [ 61.173982] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 61.178829] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.184019] RIP: 0033:0x440d49 [ 61.187251] Code: e8 cc ab 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 bb 0a fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 61.206219] RSP: 002b:00007ffef3034d88 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 61.213929] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440d49 [ 61.221192] RDX: 0000000000000009 RSI: 0000000020000040 RDI: 0000000000000003 [ 61.228453] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 61.235713] R10: 000000000268a880 R11: 0000000000000213 R12: 000000000000ed24 [ 61.242974] R13: 0000000000401d20 R14: 0000000000000000 R15: 0000000000000000 [ 61.250243] [ 61.251855] The buggy address belongs to the page: [ 61.256886] page:ffffea00076391c0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 [ 61.265198] flags: 0x2fffc0000000000() [ 61.269090] raw: 02fffc0000000000 0000000000000000 ffffffff07630101 0000000000000000 [ 61.277013] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 61.284898] page dumped because: kasan: bad access detected [ 61.290589] [ 61.292199] Memory state around the buggy address: [ 61.297120] ffff8801d8e47300: f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 61.304471] ffff8801d8e47380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 61.311879] >ffff8801d8e47400: f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f2 [ 61.319234] ^ [ 61.322592] ffff8801d8e47480: f2 f2 f2 f8 f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f2 [ 61.329944] ffff8801d8e47500: f2 f2 f2 00 00 00 00 00 00 00 00 f3 f3 f3 f3 00 [ 61.337295] ================================================================== [ 61.344645] Disabling lock debugging due to kernel taint [ 61.350338] Kernel panic - not syncing: panic_on_warn set ... [ 61.350338] [ 61.357808] CPU: 1 PID: 5423 Comm: syz-executor773 Tainted: G B 4.19.0-rc5+ #251 [ 61.366729] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.376076] Call Trace: [ 61.378652] dump_stack+0x1c4/0x2b4 [ 61.382271] ? dump_stack_print_info.cold.2+0x52/0x52 [ 61.387448] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 61.392193] panic+0x238/0x4e7 [ 61.395518] ? add_taint.cold.5+0x16/0x16 [ 61.399766] ? preempt_schedule+0x4d/0x60 [ 61.403949] ? ___preempt_schedule+0x16/0x18 [ 61.408351] ? trace_hardirqs_on+0xb4/0x310 [ 61.412658] kasan_end_report+0x47/0x4f [ 61.416621] kasan_report.cold.9+0x76/0x309 [ 61.420932] ? memcmp+0xe3/0x160 [ 61.424287] __asan_report_load1_noabort+0x14/0x20 [ 61.429200] memcmp+0xe3/0x160 [ 61.432377] strnstr+0x4b/0x70 [ 61.435552] __aa_lookupn_ns+0xc1/0x570 [ 61.439515] ? aa_find_ns+0x30/0x30 [ 61.443131] ? lock_acquire+0x1ed/0x520 [ 61.447097] ? __aa_lookupn_ns+0x570/0x570 [ 61.451318] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.456841] ? check_preemption_disabled+0x48/0x200 [ 61.462624] ? kasan_check_read+0x11/0x20 [ 61.466759] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 61.472021] ? rcu_bh_qs+0xc0/0xc0 [ 61.475600] ? print_usage_bug+0xc0/0xc0 [ 61.479771] aa_lookupn_ns+0x88/0x1e0 [ 61.483608] aa_fqlookupn_profile+0x1b9/0x1010 [ 61.488177] ? lru_cache_add+0x417/0xa50 [ 61.492222] ? aa_lookup_profile+0x30/0x30 [ 61.496437] ? __lock_acquire+0x7ec/0x4ec0 [ 61.500652] ? noop_count+0x40/0x40 [ 61.504261] ? rcu_bh_qs+0xc0/0xc0 [ 61.507785] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.513307] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 61.518741] ? refcount_add_not_zero_checked+0x330/0x330 [ 61.524232] ? mark_held_locks+0x130/0x130 [ 61.528472] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.533999] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 61.539529] fqlookupn_profile+0x80/0xc0 [ 61.543654] aa_label_strn_parse+0xa3a/0x1230 [ 61.548144] ? aa_label_printk+0x850/0x850 [ 61.552371] ? lockdep_on+0x50/0x50 [ 61.555984] ? graph_lock+0x170/0x170 [ 61.559844] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.565378] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 61.570818] ? refcount_add_not_zero_checked+0x330/0x330 [ 61.576255] ? graph_lock+0x170/0x170 [ 61.580040] ? find_held_lock+0x36/0x1c0 [ 61.584082] aa_label_parse+0x42/0x50 [ 61.587866] aa_change_profile+0x513/0x3510 [ 61.592174] ? lock_acquire+0x1ed/0x520 [ 61.596210] ? aa_change_hat+0x1a20/0x1a20 [ 61.600444] ? is_bpf_text_address+0xd3/0x170 [ 61.604933] ? __mutex_lock+0x85e/0x1700 [ 61.608982] ? proc_pid_attr_write+0x28a/0x540 [ 61.613643] ? mutex_trylock+0x2b0/0x2b0 [ 61.617697] ? save_stack+0xa9/0xd0 [ 61.621308] ? save_stack+0x43/0xd0 [ 61.624915] ? kasan_kmalloc+0xc7/0xe0 [ 61.628787] ? __kmalloc_track_caller+0x14a/0x750 [ 61.633621] ? memdup_user+0x2c/0xa0 [ 61.637318] ? proc_pid_attr_write+0x198/0x540 [ 61.641886] ? graph_lock+0x170/0x170 [ 61.645724] ? __x64_sys_write+0x73/0xb0 [ 61.649784] ? graph_lock+0x170/0x170 [ 61.653571] ? mark_held_locks+0x130/0x130 [ 61.657794] apparmor_setprocattr+0xaa4/0x1150 [ 61.662373] ? apparmor_task_kill+0xcb0/0xcb0 [ 61.666859] ? lock_downgrade+0x900/0x900 [ 61.671060] ? arch_local_save_flags+0x40/0x40 [ 61.675644] security_setprocattr+0x66/0xc0 [ 61.679953] proc_pid_attr_write+0x301/0x540 [ 61.684349] __vfs_write+0x119/0x9f0 [ 61.688054] ? check_preemption_disabled+0x48/0x200 [ 61.693067] ? proc_loginuid_write+0x4f0/0x4f0 [ 61.697645] ? kernel_read+0x120/0x120 [ 61.701516] ? __lock_is_held+0xb5/0x140 [ 61.705564] ? rcu_read_lock_sched_held+0x108/0x120 [ 61.710565] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.716083] ? __sb_start_write+0x1b2/0x370 [ 61.720392] vfs_write+0x1fc/0x560 [ 61.723918] ksys_write+0x101/0x260 [ 61.727530] ? __ia32_sys_read+0xb0/0xb0 [ 61.731623] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 61.737156] __x64_sys_write+0x73/0xb0 [ 61.741105] do_syscall_64+0x1b9/0x820 [ 61.744984] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 61.750442] ? syscall_return_slowpath+0x5e0/0x5e0 [ 61.755358] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 61.760184] ? trace_hardirqs_on_caller+0x310/0x310 [ 61.765182] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 61.770184] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.775773] ? prepare_exit_to_usermode+0x291/0x3b0 [ 61.780796] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 61.785637] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.790814] RIP: 0033:0x440d49 [ 61.793998] Code: e8 cc ab 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 bb 0a fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 61.813000] RSP: 002b:00007ffef3034d88 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 61.820707] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440d49 [ 61.827960] RDX: 0000000000000009 RSI: 0000000020000040 RDI: 0000000000000003 [ 61.835287] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 61.842547] R10: 000000000268a880 R11: 0000000000000213 R12: 000000000000ed24 [ 61.849802] R13: 0000000000401d20 R14: 0000000000000000 R15: 0000000000000000 [ 61.858050] Kernel Offset: disabled [ 61.861677] Rebooting in 86400 seconds..