[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 25.126224] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 31.250198] random: sshd: uninitialized urandom read (32 bytes read) [ 31.660546] random: sshd: uninitialized urandom read (32 bytes read) [ 32.286345] random: sshd: uninitialized urandom read (32 bytes read) [ 34.879924] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.127' (ECDSA) to the list of known hosts. [ 40.538454] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 40.662213] IPVS: ftp: loaded support on port[0] = 21 executing program executing program [ 40.694309] audit: type=1400 audit(1537814233.287:2): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5327 comm="syz-executor610" [ 40.722079] audit: type=1400 audit(1537814233.317:3): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5328 comm="syz-executor610" executing program executing program [ 40.748423] audit: type=1400 audit(1537814233.347:4): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5329 comm="syz-executor610" [ 40.775059] audit: type=1400 audit(1537814233.367:5): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5330 comm="syz-executor610" executing program executing program [ 40.803409] audit: type=1400 audit(1537814233.397:6): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5331 comm="syz-executor610" [ 40.831266] audit: type=1400 audit(1537814233.427:7): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5332 comm="syz-executor610" executing program executing program [ 40.858888] audit: type=1400 audit(1537814233.457:8): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5333 comm="syz-executor610" [ 40.886092] audit: type=1400 audit(1537814233.477:9): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5334 comm="syz-executor610" executing program executing program executing program executing program executing program [ 40.914090] audit: type=1400 audit(1537814233.507:10): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5335 comm="syz-executor610" [ 40.941727] audit: type=1400 audit(1537814233.537:11): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5336 comm="syz-executor610" executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 44.636153] ================================================================== [ 44.643701] BUG: KASAN: stack-out-of-bounds in memcmp+0xe3/0x160 [ 44.649833] Read of size 1 at addr ffff8801ba8df400 by task syz-executor610/5662 [ 44.657344] [ 44.658999] CPU: 0 PID: 5662 Comm: syz-executor610 Not tainted 4.19.0-rc5+ #252 [ 44.666434] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.675786] Call Trace: [ 44.678435] dump_stack+0x1c4/0x2b4 [ 44.682052] ? dump_stack_print_info.cold.2+0x52/0x52 [ 44.687230] ? printk+0xa7/0xcf [ 44.690515] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 44.695262] print_address_description.cold.8+0x9/0x1ff [ 44.700625] kasan_report.cold.9+0x242/0x309 [ 44.705022] ? memcmp+0xe3/0x160 [ 44.708378] __asan_report_load1_noabort+0x14/0x20 [ 44.713297] memcmp+0xe3/0x160 [ 44.716516] strnstr+0x4b/0x70 [ 44.719702] __aa_lookupn_ns+0xc1/0x570 [ 44.723681] ? aa_find_ns+0x30/0x30 [ 44.727317] ? lock_acquire+0x1ed/0x520 [ 44.731292] ? __aa_lookupn_ns+0x570/0x570 [ 44.735516] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.741036] ? check_preemption_disabled+0x48/0x200 [ 44.746086] ? kasan_check_read+0x11/0x20 [ 44.750236] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 44.755530] ? rcu_bh_qs+0xc0/0xc0 [ 44.759060] ? print_usage_bug+0xc0/0xc0 [ 44.763133] aa_lookupn_ns+0x88/0x1e0 [ 44.766922] aa_fqlookupn_profile+0x1b9/0x1010 [ 44.771490] ? lru_cache_add+0x417/0xa50 [ 44.775539] ? aa_lookup_profile+0x30/0x30 [ 44.779759] ? __lock_acquire+0x7ec/0x4ec0 [ 44.783982] ? noop_count+0x40/0x40 [ 44.787608] ? rcu_bh_qs+0xc0/0xc0 [ 44.791172] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.796698] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 44.802138] ? refcount_add_not_zero_checked+0x330/0x330 [ 44.807586] ? mark_held_locks+0x130/0x130 [ 44.811834] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.817371] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 44.822901] fqlookupn_profile+0x80/0xc0 [ 44.826950] aa_label_strn_parse+0xa3a/0x1230 [ 44.831447] ? aa_label_printk+0x850/0x850 [ 44.835725] ? lockdep_on+0x50/0x50 [ 44.839339] ? graph_lock+0x170/0x170 [ 44.843153] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.848696] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 44.854132] ? refcount_add_not_zero_checked+0x330/0x330 [ 44.859571] ? graph_lock+0x170/0x170 [ 44.863357] ? find_held_lock+0x36/0x1c0 [ 44.867411] aa_label_parse+0x42/0x50 [ 44.871209] aa_change_profile+0x513/0x3510 [ 44.875552] ? lock_acquire+0x1ed/0x520 [ 44.879516] ? aa_change_hat+0x1a20/0x1a20 [ 44.883742] ? is_bpf_text_address+0xd3/0x170 [ 44.888227] ? __mutex_lock+0x85e/0x1700 [ 44.892273] ? proc_pid_attr_write+0x28a/0x540 [ 44.896857] ? mutex_trylock+0x2b0/0x2b0 [ 44.900906] ? save_stack+0xa9/0xd0 [ 44.904517] ? save_stack+0x43/0xd0 [ 44.908137] ? kasan_kmalloc+0xc7/0xe0 [ 44.912060] ? __kmalloc_track_caller+0x14a/0x750 [ 44.916889] ? memdup_user+0x2c/0xa0 [ 44.920588] ? proc_pid_attr_write+0x198/0x540 [ 44.925154] ? graph_lock+0x170/0x170 [ 44.929029] ? __x64_sys_write+0x73/0xb0 [ 44.933075] ? graph_lock+0x170/0x170 [ 44.936863] ? mark_held_locks+0x130/0x130 [ 44.941095] apparmor_setprocattr+0xaa4/0x1150 [ 44.945687] ? apparmor_task_kill+0xcb0/0xcb0 [ 44.950173] ? lock_downgrade+0x900/0x900 [ 44.954317] ? arch_local_save_flags+0x40/0x40 [ 44.958901] security_setprocattr+0x66/0xc0 [ 44.963215] proc_pid_attr_write+0x301/0x540 [ 44.967627] __vfs_write+0x119/0x9f0 [ 44.971344] ? check_preemption_disabled+0x48/0x200 [ 44.976346] ? proc_loginuid_write+0x4f0/0x4f0 [ 44.980972] ? kernel_read+0x120/0x120 [ 44.984849] ? __lock_is_held+0xb5/0x140 [ 44.988903] ? rcu_read_lock_sched_held+0x108/0x120 [ 44.993906] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 44.999432] ? __sb_start_write+0x1b2/0x370 [ 45.003745] vfs_write+0x1fc/0x560 [ 45.007295] ksys_write+0x101/0x260 [ 45.010912] ? __ia32_sys_read+0xb0/0xb0 [ 45.014965] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 45.020403] __x64_sys_write+0x73/0xb0 [ 45.024300] do_syscall_64+0x1b9/0x820 [ 45.028180] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 45.033551] ? syscall_return_slowpath+0x5e0/0x5e0 [ 45.038465] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.043307] ? trace_hardirqs_on_caller+0x310/0x310 [ 45.048331] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 45.053347] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.058899] ? prepare_exit_to_usermode+0x291/0x3b0 [ 45.063907] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.068741] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 45.073916] RIP: 0033:0x441469 [ 45.077114] Code: e8 cc b2 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 4b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 45.096001] RSP: 002b:00007ffced82b788 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 45.103718] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441469 [ 45.110975] RDX: 0000000000000009 RSI: 0000000020000180 RDI: 0000000000000003 [ 45.118228] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 45.125480] R10: 0000000001e49880 R11: 0000000000000213 R12: 000000000000014f [ 45.132735] R13: 000000000000ae37 R14: 0000000000000000 R15: 0000000000000000 [ 45.139994] [ 45.141602] The buggy address belongs to the page: [ 45.146520] page:ffffea0006ea37c0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 [ 45.154649] flags: 0x2fffc0000000000() [ 45.158539] raw: 02fffc0000000000 0000000000000000 ffffffff06ea0101 0000000000000000 [ 45.166404] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 45.174266] page dumped because: kasan: bad access detected [ 45.179954] [ 45.181562] Memory state around the buggy address: [ 45.186474] ffff8801ba8df300: f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 45.193816] ffff8801ba8df380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 45.201160] >ffff8801ba8df400: f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f2 [ 45.208500] ^ [ 45.211851] ffff8801ba8df480: f2 f2 f2 f8 f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f2 [ 45.219196] ffff8801ba8df500: f2 f2 f2 00 00 00 00 00 00 00 00 f3 f3 f3 f3 00 [ 45.226536] ================================================================== [ 45.233876] Disabling lock debugging due to kernel taint [ 45.239894] Kernel panic - not syncing: panic_on_warn set ... [ 45.239894] [ 45.247279] CPU: 0 PID: 5662 Comm: syz-executor610 Tainted: G B 4.19.0-rc5+ #252 [ 45.256111] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.265448] Call Trace: [ 45.268021] dump_stack+0x1c4/0x2b4 [ 45.271632] ? dump_stack_print_info.cold.2+0x52/0x52 [ 45.276815] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 45.281556] panic+0x238/0x4e7 [ 45.284734] ? add_taint.cold.5+0x16/0x16 [ 45.288868] ? preempt_schedule+0x4d/0x60 [ 45.292998] ? ___preempt_schedule+0x16/0x18 [ 45.297393] ? trace_hardirqs_on+0xb4/0x310 [ 45.301701] kasan_end_report+0x47/0x4f [ 45.305670] kasan_report.cold.9+0x76/0x309 [ 45.309978] ? memcmp+0xe3/0x160 [ 45.313330] __asan_report_load1_noabort+0x14/0x20 [ 45.318243] memcmp+0xe3/0x160 [ 45.321419] strnstr+0x4b/0x70 [ 45.324596] __aa_lookupn_ns+0xc1/0x570 [ 45.328566] ? aa_find_ns+0x30/0x30 [ 45.332203] ? lock_acquire+0x1ed/0x520 [ 45.336178] ? __aa_lookupn_ns+0x570/0x570 [ 45.340401] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.345920] ? check_preemption_disabled+0x48/0x200 [ 45.350919] ? kasan_check_read+0x11/0x20 [ 45.355052] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 45.360327] ? rcu_bh_qs+0xc0/0xc0 [ 45.363869] ? print_usage_bug+0xc0/0xc0 [ 45.367919] aa_lookupn_ns+0x88/0x1e0 [ 45.371706] aa_fqlookupn_profile+0x1b9/0x1010 [ 45.376271] ? lru_cache_add+0x417/0xa50 [ 45.380317] ? aa_lookup_profile+0x30/0x30 [ 45.384534] ? __lock_acquire+0x7ec/0x4ec0 [ 45.388754] ? noop_count+0x40/0x40 [ 45.392376] ? rcu_bh_qs+0xc0/0xc0 [ 45.395924] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.401445] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 45.406883] ? refcount_add_not_zero_checked+0x330/0x330 [ 45.412317] ? mark_held_locks+0x130/0x130 [ 45.416548] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.422081] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 45.427607] fqlookupn_profile+0x80/0xc0 [ 45.431665] aa_label_strn_parse+0xa3a/0x1230 [ 45.436153] ? aa_label_printk+0x850/0x850 [ 45.440386] ? lockdep_on+0x50/0x50 [ 45.444009] ? graph_lock+0x170/0x170 [ 45.447810] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.453330] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 45.458768] ? refcount_add_not_zero_checked+0x330/0x330 [ 45.464200] ? graph_lock+0x170/0x170 [ 45.467983] ? find_held_lock+0x36/0x1c0 [ 45.472028] aa_label_parse+0x42/0x50 [ 45.475812] aa_change_profile+0x513/0x3510 [ 45.480120] ? lock_acquire+0x1ed/0x520 [ 45.484081] ? aa_change_hat+0x1a20/0x1a20 [ 45.488303] ? is_bpf_text_address+0xd3/0x170 [ 45.492800] ? __mutex_lock+0x85e/0x1700 [ 45.496872] ? proc_pid_attr_write+0x28a/0x540 [ 45.501452] ? mutex_trylock+0x2b0/0x2b0 [ 45.505497] ? save_stack+0xa9/0xd0 [ 45.509105] ? save_stack+0x43/0xd0 [ 45.512729] ? kasan_kmalloc+0xc7/0xe0 [ 45.516633] ? __kmalloc_track_caller+0x14a/0x750 [ 45.521495] ? memdup_user+0x2c/0xa0 [ 45.525193] ? proc_pid_attr_write+0x198/0x540 [ 45.529760] ? graph_lock+0x170/0x170 [ 45.533557] ? __x64_sys_write+0x73/0xb0 [ 45.537601] ? graph_lock+0x170/0x170 [ 45.541398] ? mark_held_locks+0x130/0x130 [ 45.545621] apparmor_setprocattr+0xaa4/0x1150 [ 45.550194] ? apparmor_task_kill+0xcb0/0xcb0 [ 45.554682] ? lock_downgrade+0x900/0x900 [ 45.558819] ? arch_local_save_flags+0x40/0x40 [ 45.563396] security_setprocattr+0x66/0xc0 [ 45.567722] proc_pid_attr_write+0x301/0x540 [ 45.572119] __vfs_write+0x119/0x9f0 [ 45.575817] ? check_preemption_disabled+0x48/0x200 [ 45.580830] ? proc_loginuid_write+0x4f0/0x4f0 [ 45.585397] ? kernel_read+0x120/0x120 [ 45.589273] ? __lock_is_held+0xb5/0x140 [ 45.593349] ? rcu_read_lock_sched_held+0x108/0x120 [ 45.598381] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.603903] ? __sb_start_write+0x1b2/0x370 [ 45.608211] vfs_write+0x1fc/0x560 [ 45.611758] ksys_write+0x101/0x260 [ 45.615372] ? __ia32_sys_read+0xb0/0xb0 [ 45.619437] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 45.624871] __x64_sys_write+0x73/0xb0 [ 45.628744] do_syscall_64+0x1b9/0x820 [ 45.632957] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 45.638306] ? syscall_return_slowpath+0x5e0/0x5e0 [ 45.643230] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.648061] ? trace_hardirqs_on_caller+0x310/0x310 [ 45.653083] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 45.658125] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.663673] ? prepare_exit_to_usermode+0x291/0x3b0 [ 45.668692] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.673551] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 45.678739] RIP: 0033:0x441469 [ 45.681924] Code: e8 cc b2 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 4b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 45.700808] RSP: 002b:00007ffced82b788 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 45.708500] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441469 [ 45.715751] RDX: 0000000000000009 RSI: 0000000020000180 RDI: 0000000000000003 [ 45.723000] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 45.730249] R10: 0000000001e49880 R11: 0000000000000213 R12: 000000000000014f [ 45.737517] R13: 000000000000ae37 R14: 0000000000000000 R15: 0000000000000000 [ 45.745803] Kernel Offset: disabled [ 45.749428] Rebooting in 86400 seconds..