[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 23.609217] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 25.222886] random: sshd: uninitialized urandom read (32 bytes read) [ 25.549212] random: sshd: uninitialized urandom read (32 bytes read) [ 26.073680] random: sshd: uninitialized urandom read (32 bytes read) [ 26.269509] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.45' (ECDSA) to the list of known hosts. [ 31.828544] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program [ 31.964104] audit: type=1400 audit(1537855158.541:2): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5295 comm="syz-executor714" [ 31.984344] audit: type=1400 audit(1537855158.561:3): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5296 comm="syz-executor714" executing program executing program executing program [ 32.004302] audit: type=1400 audit(1537855158.581:4): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5297 comm="syz-executor714" [ 32.023808] audit: type=1400 audit(1537855158.601:5): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5298 comm="syz-executor714" [ 32.043288] audit: type=1400 audit(1537855158.621:6): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5299 comm="syz-executor714" executing program executing program [ 32.062671] audit: type=1400 audit(1537855158.641:7): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5300 comm="syz-executor714" [ 32.082304] audit: type=1400 audit(1537855158.661:8): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5301 comm="syz-executor714" executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 32.101817] audit: type=1400 audit(1537855158.671:9): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5302 comm="syz-executor714" [ 32.121267] audit: type=1400 audit(1537855158.691:10): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5303 comm="syz-executor714" [ 32.140826] audit: type=1400 audit(1537855158.711:11): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5304 comm="syz-executor714" executing program executing program [ 32.200591] ================================================================== [ 32.208105] BUG: KASAN: stack-out-of-bounds in memcmp+0xe3/0x160 [ 32.214235] Read of size 1 at addr ffff8801bb42f3b0 by task syz-executor714/5320 [ 32.221748] [ 32.223364] CPU: 1 PID: 5320 Comm: syz-executor714 Not tainted 4.19.0-rc5+ #155 [ 32.230791] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.240126] Call Trace: [ 32.242713] dump_stack+0x1c4/0x2b4 [ 32.246327] ? dump_stack_print_info.cold.2+0x52/0x52 [ 32.251501] ? printk+0xa7/0xcf [ 32.254770] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 32.259541] print_address_description.cold.8+0x9/0x1ff [ 32.264900] kasan_report.cold.9+0x242/0x309 [ 32.269299] ? memcmp+0xe3/0x160 [ 32.272652] __asan_report_load1_noabort+0x14/0x20 [ 32.277571] memcmp+0xe3/0x160 [ 32.280757] strnstr+0x4b/0x70 [ 32.283947] __aa_lookupn_ns+0xc1/0x570 [ 32.287924] ? aa_find_ns+0x30/0x30 [ 32.291556] ? lock_acquire+0x1ed/0x520 [ 32.295513] ? __aa_lookupn_ns+0x570/0x570 [ 32.299736] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.305260] ? check_preemption_disabled+0x48/0x200 [ 32.310265] ? kasan_check_read+0x11/0x20 [ 32.314402] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 32.319661] ? print_usage_bug+0xc0/0xc0 [ 32.323709] ? rcu_bh_qs+0xc0/0xc0 [ 32.327233] ? print_usage_bug+0xc0/0xc0 [ 32.331284] aa_lookupn_ns+0x88/0x1e0 [ 32.335088] aa_fqlookupn_profile+0x1b9/0x1010 [ 32.339659] ? aa_lookup_profile+0x30/0x30 [ 32.343881] ? __lock_acquire+0x7ec/0x4ec0 [ 32.348102] ? noop_count+0x40/0x40 [ 32.351736] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.357269] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 32.362704] ? refcount_add_not_zero_checked+0x330/0x330 [ 32.368146] ? mark_held_locks+0x130/0x130 [ 32.372371] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.377895] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 32.383418] fqlookupn_profile+0x80/0xc0 [ 32.387469] aa_label_strn_parse+0xa3a/0x1230 [ 32.392064] ? aa_label_printk+0x850/0x850 [ 32.396288] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 32.402074] ? kasan_check_read+0x11/0x20 [ 32.406211] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 32.411474] ? rcu_bh_qs+0xc0/0xc0 [ 32.414996] ? rcu_bh_qs+0xc0/0xc0 [ 32.418535] ? unwind_dump+0x190/0x190 [ 32.422412] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.427938] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 32.433378] ? refcount_add_not_zero_checked+0x330/0x330 [ 32.438815] ? unwind_get_return_address+0x61/0xa0 [ 32.443732] ? __save_stack_trace+0x8d/0xf0 [ 32.448041] aa_label_parse+0x42/0x50 [ 32.451846] aa_change_profile+0x513/0x3510 [ 32.456164] ? save_stack+0x43/0xd0 [ 32.459775] ? kasan_kmalloc+0xc7/0xe0 [ 32.463648] ? apparmor_setprocattr+0x2ab/0x1150 [ 32.468395] ? __vfs_write+0x119/0x9f0 [ 32.472269] ? __x64_sys_write+0x81/0xb0 [ 32.476338] ? do_fast_syscall_32+0x34d/0xfb2 [ 32.480819] ? entry_SYSENTER_compat+0x70/0x7f [ 32.485388] ? aa_change_hat+0x1a20/0x1a20 [ 32.489618] ? find_held_lock+0x36/0x1c0 [ 32.493671] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.499206] ? check_preemption_disabled+0x48/0x200 [ 32.504204] ? check_preemption_disabled+0x48/0x200 [ 32.509208] ? __lock_is_held+0xb5/0x140 [ 32.513276] ? rcu_read_lock_sched_held+0x108/0x120 [ 32.518278] ? __kmalloc+0x5de/0x760 [ 32.521987] ? graph_lock+0x170/0x170 [ 32.525776] ? mark_held_locks+0x130/0x130 [ 32.530006] apparmor_setprocattr+0xa8b/0x1150 [ 32.534591] ? apparmor_task_kill+0xcb0/0xcb0 [ 32.539072] ? lock_downgrade+0x900/0x900 [ 32.543228] ? arch_local_save_flags+0x40/0x40 [ 32.547810] security_setprocattr+0x66/0xc0 [ 32.552420] proc_pid_attr_write+0x301/0x540 [ 32.556819] __vfs_write+0x119/0x9f0 [ 32.560518] ? check_preemption_disabled+0x48/0x200 [ 32.565515] ? proc_loginuid_write+0x4f0/0x4f0 [ 32.570080] ? kernel_read+0x120/0x120 [ 32.573955] ? __lock_is_held+0xb5/0x140 [ 32.578009] ? rcu_read_lock_sched_held+0x108/0x120 [ 32.583012] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.588532] ? __sb_start_write+0x1b2/0x370 [ 32.592862] vfs_write+0x1fc/0x560 [ 32.596392] ksys_write+0x101/0x260 [ 32.600004] ? __ia32_sys_read+0xb0/0xb0 [ 32.604053] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 32.609498] __ia32_sys_write+0x71/0xb0 [ 32.613461] do_fast_syscall_32+0x34d/0xfb2 [ 32.617769] ? do_int80_syscall_32+0x890/0x890 [ 32.622337] ? entry_SYSENTER_compat+0x68/0x7f [ 32.626905] ? trace_hardirqs_off_caller+0xbb/0x310 [ 32.631921] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.636745] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.641572] ? trace_hardirqs_on_caller+0x310/0x310 [ 32.646572] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 32.651573] ? prepare_exit_to_usermode+0x291/0x3b0 [ 32.656576] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.661410] entry_SYSENTER_compat+0x70/0x7f [ 32.665800] RIP: 0023:0xf7fe0ca9 [ 32.669152] 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 [ 32.688035] RSP: 002b:00000000ff871dbc EFLAGS: 00000246 ORIG_RAX: 0000000000000004 [ 32.695746] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200000c0 [ 32.703004] RDX: 000000000000002c RSI: 00000000ff871f04 RDI: 00000000ff871f0c [ 32.710255] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 [ 32.717525] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 32.724784] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 32.732055] [ 32.733663] The buggy address belongs to the page: [ 32.738576] page:ffffea0006ed0bc0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 [ 32.746707] flags: 0x2fffc0000000000() [ 32.750589] raw: 02fffc0000000000 0000000000000000 ffffffff06ed0101 0000000000000000 [ 32.758454] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 32.766321] page dumped because: kasan: bad access detected [ 32.772011] [ 32.773617] Memory state around the buggy address: [ 32.778539] ffff8801bb42f280: f2 f2 f2 f2 00 f2 f2 f2 00 00 00 00 00 00 00 00 [ 32.785883] ffff8801bb42f300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.793222] >ffff8801bb42f380: 00 00 00 00 00 f1 f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 [ 32.800559] ^ [ 32.805466] ffff8801bb42f400: f2 00 f2 f2 f2 f2 f2 f2 f2 f8 f2 f2 f2 f2 f2 f2 [ 32.812809] ffff8801bb42f480: f2 00 f2 f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 [ 32.820153] ================================================================== [ 32.827503] Disabling lock debugging due to kernel taint [ 32.833931] Kernel panic - not syncing: panic_on_warn set ... [ 32.833931] [ 32.841305] CPU: 1 PID: 5320 Comm: syz-executor714 Tainted: G B 4.19.0-rc5+ #155 [ 32.850124] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.859468] Call Trace: [ 32.862047] dump_stack+0x1c4/0x2b4 [ 32.865662] ? dump_stack_print_info.cold.2+0x52/0x52 [ 32.870837] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.875577] panic+0x238/0x4e7 [ 32.878751] ? add_taint.cold.5+0x16/0x16 [ 32.882885] ? preempt_schedule+0x4d/0x60 [ 32.887031] ? ___preempt_schedule+0x16/0x18 [ 32.891425] ? trace_hardirqs_on+0xb4/0x310 [ 32.895733] kasan_end_report+0x47/0x4f [ 32.899690] kasan_report.cold.9+0x76/0x309 [ 32.903999] ? memcmp+0xe3/0x160 [ 32.907350] __asan_report_load1_noabort+0x14/0x20 [ 32.912261] memcmp+0xe3/0x160 [ 32.915435] strnstr+0x4b/0x70 [ 32.918619] __aa_lookupn_ns+0xc1/0x570 [ 32.922575] ? aa_find_ns+0x30/0x30 [ 32.926202] ? lock_acquire+0x1ed/0x520 [ 32.930161] ? __aa_lookupn_ns+0x570/0x570 [ 32.934382] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.939903] ? check_preemption_disabled+0x48/0x200 [ 32.944904] ? kasan_check_read+0x11/0x20 [ 32.949038] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 32.954297] ? print_usage_bug+0xc0/0xc0 [ 32.958341] ? rcu_bh_qs+0xc0/0xc0 [ 32.961873] ? print_usage_bug+0xc0/0xc0 [ 32.965925] aa_lookupn_ns+0x88/0x1e0 [ 32.969725] aa_fqlookupn_profile+0x1b9/0x1010 [ 32.974294] ? aa_lookup_profile+0x30/0x30 [ 32.978509] ? __lock_acquire+0x7ec/0x4ec0 [ 32.982725] ? noop_count+0x40/0x40 [ 32.986335] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.991853] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 32.997287] ? refcount_add_not_zero_checked+0x330/0x330 [ 33.002717] ? mark_held_locks+0x130/0x130 [ 33.006950] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.012470] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 33.017994] fqlookupn_profile+0x80/0xc0 [ 33.022039] aa_label_strn_parse+0xa3a/0x1230 [ 33.026516] ? aa_label_printk+0x850/0x850 [ 33.030735] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 33.036512] ? kasan_check_read+0x11/0x20 [ 33.040641] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 33.045899] ? rcu_bh_qs+0xc0/0xc0 [ 33.049420] ? rcu_bh_qs+0xc0/0xc0 [ 33.052960] ? unwind_dump+0x190/0x190 [ 33.056838] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.062362] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 33.067796] ? refcount_add_not_zero_checked+0x330/0x330 [ 33.073229] ? unwind_get_return_address+0x61/0xa0 [ 33.078144] ? __save_stack_trace+0x8d/0xf0 [ 33.082465] aa_label_parse+0x42/0x50 [ 33.086250] aa_change_profile+0x513/0x3510 [ 33.090554] ? save_stack+0x43/0xd0 [ 33.094160] ? kasan_kmalloc+0xc7/0xe0 [ 33.098029] ? apparmor_setprocattr+0x2ab/0x1150 [ 33.102771] ? __vfs_write+0x119/0x9f0 [ 33.106639] ? __x64_sys_write+0x81/0xb0 [ 33.110683] ? do_fast_syscall_32+0x34d/0xfb2 [ 33.115162] ? entry_SYSENTER_compat+0x70/0x7f [ 33.119728] ? aa_change_hat+0x1a20/0x1a20 [ 33.123958] ? find_held_lock+0x36/0x1c0 [ 33.128007] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.133528] ? check_preemption_disabled+0x48/0x200 [ 33.138526] ? check_preemption_disabled+0x48/0x200 [ 33.143530] ? __lock_is_held+0xb5/0x140 [ 33.147578] ? rcu_read_lock_sched_held+0x108/0x120 [ 33.152579] ? __kmalloc+0x5de/0x760 [ 33.156278] ? graph_lock+0x170/0x170 [ 33.160069] ? mark_held_locks+0x130/0x130 [ 33.164291] apparmor_setprocattr+0xa8b/0x1150 [ 33.168856] ? apparmor_task_kill+0xcb0/0xcb0 [ 33.173335] ? lock_downgrade+0x900/0x900 [ 33.177471] ? arch_local_save_flags+0x40/0x40 [ 33.182046] security_setprocattr+0x66/0xc0 [ 33.186380] proc_pid_attr_write+0x301/0x540 [ 33.190801] __vfs_write+0x119/0x9f0 [ 33.194522] ? check_preemption_disabled+0x48/0x200 [ 33.199524] ? proc_loginuid_write+0x4f0/0x4f0 [ 33.204096] ? kernel_read+0x120/0x120 [ 33.207970] ? __lock_is_held+0xb5/0x140 [ 33.212018] ? rcu_read_lock_sched_held+0x108/0x120 [ 33.217016] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.222544] ? __sb_start_write+0x1b2/0x370 [ 33.226847] vfs_write+0x1fc/0x560 [ 33.230370] ksys_write+0x101/0x260 [ 33.233981] ? __ia32_sys_read+0xb0/0xb0 [ 33.238065] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 33.243501] __ia32_sys_write+0x71/0xb0 [ 33.247458] do_fast_syscall_32+0x34d/0xfb2 [ 33.251762] ? do_int80_syscall_32+0x890/0x890 [ 33.256325] ? entry_SYSENTER_compat+0x68/0x7f [ 33.260891] ? trace_hardirqs_off_caller+0xbb/0x310 [ 33.265888] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.270711] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.275536] ? trace_hardirqs_on_caller+0x310/0x310 [ 33.280537] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 33.285545] ? prepare_exit_to_usermode+0x291/0x3b0 [ 33.290567] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.295404] entry_SYSENTER_compat+0x70/0x7f [ 33.299794] RIP: 0023:0xf7fe0ca9 [ 33.303159] 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 [ 33.322050] RSP: 002b:00000000ff871dbc EFLAGS: 00000246 ORIG_RAX: 0000000000000004 [ 33.329746] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200000c0 [ 33.337004] RDX: 000000000000002c RSI: 00000000ff871f04 RDI: 00000000ff871f0c [ 33.344270] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 [ 33.351525] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 33.358783] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 33.367171] Kernel Offset: disabled [ 33.370796] Rebooting in 86400 seconds..