[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 25.828929] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 27.366062] random: sshd: uninitialized urandom read (32 bytes read) [ 27.877115] random: sshd: uninitialized urandom read (32 bytes read) [ 28.514662] random: sshd: uninitialized urandom read (32 bytes read) [ 28.729476] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.39' (ECDSA) to the list of known hosts. [ 34.404013] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program [ 34.527739] audit: type=1400 audit(1537855022.277:2): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5332 comm="syz-executor051" [ 34.555472] audit: type=1400 audit(1537855022.307:3): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5333 comm="syz-executor051" executing program executing program [ 34.583092] audit: type=1400 audit(1537855022.327:4): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5334 comm="syz-executor051" [ 34.610366] audit: type=1400 audit(1537855022.357:5): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5335 comm="syz-executor051" executing program executing program [ 34.638621] audit: type=1400 audit(1537855022.387:6): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5336 comm="syz-executor051" [ 34.666455] audit: type=1400 audit(1537855022.417:7): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5337 comm="syz-executor051" executing program executing program [ 34.694114] audit: type=1400 audit(1537855022.447:8): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5338 comm="syz-executor051" [ 34.721826] audit: type=1400 audit(1537855022.467:9): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5339 comm="syz-executor051" executing program executing program executing program executing program executing program [ 34.748999] audit: type=1400 audit(1537855022.497:10): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5340 comm="syz-executor051" [ 34.776323] audit: type=1400 audit(1537855022.527:11): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5341 comm="syz-executor051" executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 36.567944] ================================================================== [ 36.575514] BUG: KASAN: stack-out-of-bounds in memcmp+0xe3/0x160 [ 36.581660] Read of size 1 at addr ffff8801d8a47400 by task syz-executor051/5505 [ 36.589197] [ 36.590846] CPU: 1 PID: 5505 Comm: syz-executor051 Not tainted 4.19.0-rc5+ #252 [ 36.598304] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.607650] Call Trace: [ 36.610250] dump_stack+0x1c4/0x2b4 [ 36.613895] ? dump_stack_print_info.cold.2+0x52/0x52 [ 36.619083] ? printk+0xa7/0xcf [ 36.622361] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 36.627121] print_address_description.cold.8+0x9/0x1ff [ 36.632483] kasan_report.cold.9+0x242/0x309 [ 36.636889] ? memcmp+0xe3/0x160 [ 36.640255] __asan_report_load1_noabort+0x14/0x20 [ 36.645183] memcmp+0xe3/0x160 [ 36.648374] strnstr+0x4b/0x70 [ 36.651570] __aa_lookupn_ns+0xc1/0x570 [ 36.655544] ? aa_find_ns+0x30/0x30 [ 36.659170] ? lock_acquire+0x1ed/0x520 [ 36.663141] ? __aa_lookupn_ns+0x570/0x570 [ 36.667387] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.672935] ? check_preemption_disabled+0x48/0x200 [ 36.677950] ? kasan_check_read+0x11/0x20 [ 36.682099] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 36.687374] ? rcu_bh_qs+0xc0/0xc0 [ 36.690987] ? print_usage_bug+0xc0/0xc0 [ 36.695054] aa_lookupn_ns+0x88/0x1e0 [ 36.698973] aa_fqlookupn_profile+0x1b9/0x1010 [ 36.703551] ? lru_cache_add+0x417/0xa50 [ 36.707615] ? aa_lookup_profile+0x30/0x30 [ 36.711986] ? __lock_acquire+0x7ec/0x4ec0 [ 36.716232] ? noop_count+0x40/0x40 [ 36.719857] ? rcu_bh_qs+0xc0/0xc0 [ 36.723407] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.728955] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 36.734405] ? refcount_add_not_zero_checked+0x330/0x330 [ 36.739858] ? mark_held_locks+0x130/0x130 [ 36.744095] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.749643] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 36.755203] fqlookupn_profile+0x80/0xc0 [ 36.759268] aa_label_strn_parse+0xa3a/0x1230 [ 36.763802] ? aa_label_printk+0x850/0x850 [ 36.768232] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 36.774028] ? kasan_check_read+0x11/0x20 [ 36.778186] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 36.783474] ? rcu_bh_qs+0xc0/0xc0 [ 36.787013] ? rcu_bh_qs+0xc0/0xc0 [ 36.790550] ? unwind_dump+0x190/0x190 [ 36.794497] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.800043] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 36.805636] ? refcount_add_not_zero_checked+0x330/0x330 [ 36.811101] ? unwind_get_return_address+0x61/0xa0 [ 36.816039] ? __save_stack_trace+0x8d/0xf0 [ 36.820367] aa_label_parse+0x42/0x50 [ 36.824172] aa_change_profile+0x513/0x3510 [ 36.828503] ? save_stack+0x43/0xd0 [ 36.832142] ? kasan_kmalloc+0xc7/0xe0 [ 36.836027] ? apparmor_setprocattr+0x2ab/0x1150 [ 36.840807] ? __vfs_write+0x119/0x9f0 [ 36.844698] ? ksys_write+0x1e1/0x260 [ 36.848497] ? do_syscall_64+0x1b9/0x820 [ 36.852572] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.857937] ? aa_change_hat+0x1a20/0x1a20 [ 36.862174] ? find_held_lock+0x36/0x1c0 [ 36.866276] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.871838] ? check_preemption_disabled+0x48/0x200 [ 36.876850] ? check_preemption_disabled+0x48/0x200 [ 36.881883] ? __lock_is_held+0xb5/0x140 [ 36.885952] ? rcu_read_lock_sched_held+0x108/0x120 [ 36.890969] ? __kmalloc+0x5de/0x760 [ 36.894682] ? graph_lock+0x170/0x170 [ 36.898482] ? mark_held_locks+0x130/0x130 [ 36.902721] apparmor_setprocattr+0xa8b/0x1150 [ 36.907317] ? apparmor_task_kill+0xcb0/0xcb0 [ 36.911835] ? lock_downgrade+0x900/0x900 [ 36.915990] ? arch_local_save_flags+0x40/0x40 [ 36.920586] security_setprocattr+0x66/0xc0 [ 36.924912] proc_pid_attr_write+0x301/0x540 [ 36.929325] __vfs_write+0x119/0x9f0 [ 36.933040] ? check_preemption_disabled+0x48/0x200 [ 36.938055] ? proc_loginuid_write+0x4f0/0x4f0 [ 36.942640] ? kernel_read+0x120/0x120 [ 36.946532] ? __lock_is_held+0xb5/0x140 [ 36.950652] ? rcu_read_lock_sched_held+0x108/0x120 [ 36.955671] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.961214] ? __sb_start_write+0x1b2/0x370 [ 36.965540] vfs_write+0x1fc/0x560 [ 36.969090] ksys_write+0x101/0x260 [ 36.972735] ? __ia32_sys_read+0xb0/0xb0 [ 36.976821] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 36.982273] __x64_sys_write+0x73/0xb0 [ 36.986172] do_syscall_64+0x1b9/0x820 [ 36.990062] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 36.995435] ? syscall_return_slowpath+0x5e0/0x5e0 [ 37.000378] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 37.005219] ? trace_hardirqs_on_caller+0x310/0x310 [ 37.010242] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 37.015269] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.020827] ? prepare_exit_to_usermode+0x291/0x3b0 [ 37.025847] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 37.030694] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.035883] RIP: 0033:0x440d49 [ 37.039074] 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 [ 37.057978] RSP: 002b:00007fffcd709bd8 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 37.065685] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440d49 [ 37.073011] RDX: 000000000000002c RSI: 00000000200000c0 RDI: 0000000000000003 [ 37.080278] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 37.087556] R10: 0000000002327880 R11: 0000000000000213 R12: 0000000000008ebc [ 37.094834] R13: 0000000000401d20 R14: 0000000000000000 R15: 0000000000000000 [ 37.102122] [ 37.103741] The buggy address belongs to the page: [ 37.108667] page:ffffea00076291c0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 [ 37.116882] flags: 0x2fffc0000000000() [ 37.120771] raw: 02fffc0000000000 0000000000000000 ffffffff07620101 0000000000000000 [ 37.128729] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 37.136601] page dumped because: kasan: bad access detected [ 37.142353] [ 37.143980] Memory state around the buggy address: [ 37.148923] ffff8801d8a47300: f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 37.156277] ffff8801d8a47380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 37.163711] >ffff8801d8a47400: f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f2 [ 37.171063] ^ [ 37.174427] ffff8801d8a47480: f2 f2 f2 f8 f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f2 [ 37.181806] ffff8801d8a47500: f2 f2 f2 00 00 00 00 00 00 00 00 f3 f3 f3 f3 00 [ 37.189162] ================================================================== [ 37.196524] Disabling lock debugging due to kernel taint [ 37.202743] Kernel panic - not syncing: panic_on_warn set ... [ 37.202743] [ 37.210167] CPU: 1 PID: 5505 Comm: syz-executor051 Tainted: G B 4.19.0-rc5+ #252 [ 37.219027] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.228386] Call Trace: [ 37.231032] dump_stack+0x1c4/0x2b4 [ 37.234655] ? dump_stack_print_info.cold.2+0x52/0x52 [ 37.239899] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 37.244655] panic+0x238/0x4e7 [ 37.247898] ? add_taint.cold.5+0x16/0x16 [ 37.252046] ? preempt_schedule+0x4d/0x60 [ 37.256249] ? ___preempt_schedule+0x16/0x18 [ 37.260653] ? trace_hardirqs_on+0xb4/0x310 [ 37.264972] kasan_end_report+0x47/0x4f [ 37.268942] kasan_report.cold.9+0x76/0x309 [ 37.273267] ? memcmp+0xe3/0x160 [ 37.276648] __asan_report_load1_noabort+0x14/0x20 [ 37.281627] memcmp+0xe3/0x160 [ 37.284834] strnstr+0x4b/0x70 [ 37.288040] __aa_lookupn_ns+0xc1/0x570 [ 37.292020] ? aa_find_ns+0x30/0x30 [ 37.295645] ? lock_acquire+0x1ed/0x520 [ 37.299620] ? __aa_lookupn_ns+0x570/0x570 [ 37.303912] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.309446] ? check_preemption_disabled+0x48/0x200 [ 37.314459] ? kasan_check_read+0x11/0x20 [ 37.318619] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 37.323893] ? rcu_bh_qs+0xc0/0xc0 [ 37.327431] ? print_usage_bug+0xc0/0xc0 [ 37.331492] aa_lookupn_ns+0x88/0x1e0 [ 37.335297] aa_fqlookupn_profile+0x1b9/0x1010 [ 37.339878] ? lru_cache_add+0x417/0xa50 [ 37.343940] ? aa_lookup_profile+0x30/0x30 [ 37.348172] ? __lock_acquire+0x7ec/0x4ec0 [ 37.352401] ? noop_count+0x40/0x40 [ 37.356084] ? rcu_bh_qs+0xc0/0xc0 [ 37.359625] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.365159] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 37.370608] ? refcount_add_not_zero_checked+0x330/0x330 [ 37.376121] ? mark_held_locks+0x130/0x130 [ 37.380367] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.385900] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 37.391436] fqlookupn_profile+0x80/0xc0 [ 37.395495] aa_label_strn_parse+0xa3a/0x1230 [ 37.399990] ? aa_label_printk+0x850/0x850 [ 37.404227] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 37.410030] ? kasan_check_read+0x11/0x20 [ 37.414234] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 37.419508] ? rcu_bh_qs+0xc0/0xc0 [ 37.423092] ? rcu_bh_qs+0xc0/0xc0 [ 37.426628] ? unwind_dump+0x190/0x190 [ 37.430513] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.436048] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 37.441958] ? refcount_add_not_zero_checked+0x330/0x330 [ 37.447454] ? unwind_get_return_address+0x61/0xa0 [ 37.452436] ? __save_stack_trace+0x8d/0xf0 [ 37.456755] aa_label_parse+0x42/0x50 [ 37.460752] aa_change_profile+0x513/0x3510 [ 37.465091] ? save_stack+0x43/0xd0 [ 37.468711] ? kasan_kmalloc+0xc7/0xe0 [ 37.472620] ? apparmor_setprocattr+0x2ab/0x1150 [ 37.477482] ? __vfs_write+0x119/0x9f0 [ 37.481367] ? ksys_write+0x1e1/0x260 [ 37.485167] ? do_syscall_64+0x1b9/0x820 [ 37.489232] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.494600] ? aa_change_hat+0x1a20/0x1a20 [ 37.498857] ? find_held_lock+0x36/0x1c0 [ 37.503045] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.508578] ? check_preemption_disabled+0x48/0x200 [ 37.513592] ? check_preemption_disabled+0x48/0x200 [ 37.518607] ? __lock_is_held+0xb5/0x140 [ 37.522671] ? rcu_read_lock_sched_held+0x108/0x120 [ 37.527699] ? __kmalloc+0x5de/0x760 [ 37.531406] ? graph_lock+0x170/0x170 [ 37.535205] ? mark_held_locks+0x130/0x130 [ 37.539438] apparmor_setprocattr+0xa8b/0x1150 [ 37.544019] ? apparmor_task_kill+0xcb0/0xcb0 [ 37.548512] ? lock_downgrade+0x900/0x900 [ 37.552659] ? arch_local_save_flags+0x40/0x40 [ 37.557249] security_setprocattr+0x66/0xc0 [ 37.561569] proc_pid_attr_write+0x301/0x540 [ 37.565979] __vfs_write+0x119/0x9f0 [ 37.569689] ? check_preemption_disabled+0x48/0x200 [ 37.574702] ? proc_loginuid_write+0x4f0/0x4f0 [ 37.579282] ? kernel_read+0x120/0x120 [ 37.583174] ? __lock_is_held+0xb5/0x140 [ 37.587235] ? rcu_read_lock_sched_held+0x108/0x120 [ 37.592400] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.597995] ? __sb_start_write+0x1b2/0x370 [ 37.602316] vfs_write+0x1fc/0x560 [ 37.605859] ksys_write+0x101/0x260 [ 37.609492] ? __ia32_sys_read+0xb0/0xb0 [ 37.613566] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 37.619015] __x64_sys_write+0x73/0xb0 [ 37.622902] do_syscall_64+0x1b9/0x820 [ 37.626810] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 37.632178] ? syscall_return_slowpath+0x5e0/0x5e0 [ 37.637105] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 37.641948] ? trace_hardirqs_on_caller+0x310/0x310 [ 37.646966] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 37.651981] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.657748] ? prepare_exit_to_usermode+0x291/0x3b0 [ 37.662767] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 37.667634] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.672832] RIP: 0033:0x440d49 [ 37.676023] 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 [ 37.694924] RSP: 002b:00007fffcd709bd8 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 37.702686] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440d49 [ 37.709952] RDX: 000000000000002c RSI: 00000000200000c0 RDI: 0000000000000003 [ 37.717218] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 37.724481] R10: 0000000002327880 R11: 0000000000000213 R12: 0000000000008ebc [ 37.731744] R13: 0000000000401d20 R14: 0000000000000000 R15: 0000000000000000 [ 37.740185] Kernel Offset: disabled [ 37.743827] Rebooting in 86400 seconds..