[ 24.092113] audit: type=1800 audit(1537945728.126:21): pid=5411 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="bootlogs" dev="sda1" ino=2419 res=0 [ 24.111689] audit: type=1800 audit(1537945728.126:22): pid=5411 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="motd" dev="sda1" ino=2447 res=0 [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [ 25.115165] sshd (5479) used greatest stack depth: 15240 bytes left [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.116' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 46.309216] kauditd_printk_skb: 8 callbacks suppressed [ 46.309261] audit: type=1400 audit(1537945750.336:31): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5568 comm="syz-executor705" [ 46.332321] audit: type=1400 audit(1537945750.346:32): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5569 comm="syz-executor705" executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 46.350369] audit: type=1400 audit(1537945750.356:33): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5570 comm="syz-executor705" [ 46.368734] audit: type=1400 audit(1537945750.366:34): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5571 comm="syz-executor705" [ 46.386549] audit: type=1400 audit(1537945750.366:35): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5572 comm="syz-executor705" executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 46.404958] audit: type=1400 audit(1537945750.376:36): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5573 comm="syz-executor705" [ 46.422775] audit: type=1400 audit(1537945750.386:37): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5574 comm="syz-executor705" [ 46.440337] audit: type=1400 audit(1537945750.386:38): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5575 comm="syz-executor705" [ 46.458130] audit: type=1400 audit(1537945750.396:39): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5576 comm="syz-executor705" [ 46.475588] audit: type=1400 audit(1537945750.396:40): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5577 comm="syz-executor705" executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 46.736082] ================================================================== [ 46.743693] BUG: KASAN: stack-out-of-bounds in memcmp+0xe3/0x160 [ 46.749838] Read of size 1 at addr ffff8801bb3bf400 by task syz-executor705/5664 [ 46.757357] [ 46.758977] CPU: 1 PID: 5664 Comm: syz-executor705 Not tainted 4.19.0-rc5-next-20180925+ #80 [ 46.767539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.776998] Call Trace: [ 46.779587] dump_stack+0x1d3/0x2c4 [ 46.783321] ? dump_stack_print_info.cold.2+0x52/0x52 [ 46.788519] ? printk+0xa7/0xcf [ 46.791788] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 46.796655] print_address_description.cold.8+0x9/0x1ff [ 46.802028] kasan_report.cold.9+0x242/0x309 [ 46.806434] ? memcmp+0xe3/0x160 [ 46.809807] __asan_report_load1_noabort+0x14/0x20 [ 46.814846] memcmp+0xe3/0x160 [ 46.818035] strnstr+0x4b/0x70 [ 46.821221] __aa_lookupn_ns+0xc1/0x570 [ 46.825323] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.830871] ? aa_find_ns+0x30/0x30 [ 46.834494] ? lock_acquire+0x1ed/0x520 [ 46.838464] ? __aa_lookupn_ns+0x570/0x570 [ 46.842708] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.848381] ? check_preemption_disabled+0x48/0x200 [ 46.853413] ? kasan_check_read+0x11/0x20 [ 46.857663] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 46.862936] ? rcu_softirq_qs+0x20/0x20 [ 46.866908] ? print_usage_bug+0xc0/0xc0 [ 46.871182] aa_lookupn_ns+0x88/0x1e0 [ 46.875047] aa_fqlookupn_profile+0x1b9/0x1010 [ 46.879637] ? lru_cache_add_file+0x20/0x20 [ 46.884042] ? aa_lookup_profile+0x30/0x30 [ 46.888277] ? __lock_acquire+0x7ec/0x4ec0 [ 46.892623] ? noop_count+0x40/0x40 [ 46.896258] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.901805] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 46.907362] ? refcount_add_not_zero_checked+0x330/0x330 [ 46.912844] ? mark_held_locks+0x130/0x130 [ 46.917183] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.922724] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 46.928266] fqlookupn_profile+0x80/0xc0 [ 46.932853] aa_label_strn_parse+0xa3a/0x1230 [ 46.937359] ? aa_label_printk+0x850/0x850 [ 46.941765] ? lockdep_on+0x50/0x50 [ 46.945398] ? graph_lock+0x170/0x170 [ 46.949205] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.954749] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 46.960217] ? refcount_add_not_zero_checked+0x330/0x330 [ 46.965674] ? graph_lock+0x170/0x170 [ 46.969480] ? find_held_lock+0x36/0x1c0 [ 46.973547] aa_label_parse+0x42/0x50 [ 46.977358] aa_change_profile+0x513/0x3510 [ 46.981687] ? lock_acquire+0x1ed/0x520 [ 46.985669] ? aa_change_hat+0x1a20/0x1a20 [ 46.989907] ? is_bpf_text_address+0xd3/0x170 [ 46.994553] ? __mutex_lock+0x85e/0x1700 [ 46.998785] ? proc_pid_attr_write+0x28a/0x540 [ 47.003382] ? mutex_trylock+0x2b0/0x2b0 [ 47.007443] ? save_stack+0xa9/0xd0 [ 47.011063] ? save_stack+0x43/0xd0 [ 47.014793] ? kasan_kmalloc+0xc7/0xe0 [ 47.018881] ? __kmalloc_track_caller+0x14a/0x750 [ 47.023733] ? memdup_user+0x2c/0xa0 [ 47.027467] ? proc_pid_attr_write+0x198/0x540 [ 47.032046] ? graph_lock+0x170/0x170 [ 47.035944] ? __x64_sys_write+0x73/0xb0 [ 47.040013] ? graph_lock+0x170/0x170 [ 47.044011] ? mark_held_locks+0x130/0x130 [ 47.048256] apparmor_setprocattr+0xab7/0x1180 [ 47.052843] ? apparmor_task_kill+0xcb0/0xcb0 [ 47.057339] ? lock_downgrade+0x900/0x900 [ 47.061485] ? ttwu_stat+0x5c0/0x5c0 [ 47.065207] security_setprocattr+0x66/0xc0 [ 47.069636] proc_pid_attr_write+0x301/0x540 [ 47.074047] __vfs_write+0x119/0x9f0 [ 47.077820] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.083363] ? proc_loginuid_write+0x4f0/0x4f0 [ 47.087946] ? kernel_read+0x120/0x120 [ 47.091837] ? __lock_is_held+0xb5/0x140 [ 47.096013] ? rcu_read_lock_sched_held+0x108/0x120 [ 47.101040] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.106715] ? __sb_start_write+0x1b2/0x370 [ 47.111041] vfs_write+0x1fc/0x560 [ 47.114579] ksys_write+0x101/0x260 [ 47.118217] ? __ia32_sys_read+0xb0/0xb0 [ 47.122284] ? trace_hardirqs_off_caller+0x300/0x300 [ 47.127506] __x64_sys_write+0x73/0xb0 [ 47.131458] do_syscall_64+0x1b9/0x820 [ 47.135349] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 47.140724] ? syscall_return_slowpath+0x5e0/0x5e0 [ 47.145663] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.150511] ? trace_hardirqs_off+0x310/0x310 [ 47.155010] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 47.160042] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.165588] ? prepare_exit_to_usermode+0x291/0x3b0 [ 47.170609] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.175454] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.180642] RIP: 0033:0x440d49 [ 47.183954] 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 [ 47.202866] RSP: 002b:00007ffe7d339b38 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 47.210586] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440d49 [ 47.217864] RDX: 0000000000000009 RSI: 0000000020000040 RDI: 0000000000000003 [ 47.225145] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 47.232418] R10: 0000000000a73880 R11: 0000000000000213 R12: 000000000000b673 [ 47.239690] R13: 0000000000401d20 R14: 0000000000000000 R15: 0000000000000000 [ 47.246984] [ 47.248604] The buggy address belongs to the page: [ 47.253525] page:ffffea0006ecefc0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 [ 47.261789] flags: 0x2fffc0000000000() [ 47.265671] raw: 02fffc0000000000 0000000000000000 ffffffff06ec0101 0000000000000000 [ 47.273552] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 47.281475] page dumped because: kasan: bad access detected [ 47.287187] [ 47.288798] Memory state around the buggy address: [ 47.293714] ffff8801bb3bf300: f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.301073] ffff8801bb3bf380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 47.308439] >ffff8801bb3bf400: f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f2 [ 47.315906] ^ [ 47.319275] ffff8801bb3bf480: f2 f2 f2 f8 f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f2 [ 47.326678] ffff8801bb3bf500: f2 f2 f2 00 00 00 00 00 00 00 00 f3 f3 f3 f3 00 [ 47.334040] ================================================================== [ 47.341396] Disabling lock debugging due to kernel taint [ 47.347279] Kernel panic - not syncing: panic_on_warn set ... [ 47.347279] [ 47.354649] CPU: 1 PID: 5664 Comm: syz-executor705 Tainted: G B 4.19.0-rc5-next-20180925+ #80 [ 47.364652] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.374116] Call Trace: [ 47.376701] dump_stack+0x1d3/0x2c4 [ 47.380322] ? dump_stack_print_info.cold.2+0x52/0x52 [ 47.385507] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 47.390261] panic+0x238/0x4e7 [ 47.393443] ? add_taint.cold.5+0x16/0x16 [ 47.397579] ? preempt_schedule+0x4d/0x60 [ 47.401722] ? ___preempt_schedule+0x16/0x18 [ 47.406123] ? trace_hardirqs_on+0xb4/0x310 [ 47.410442] kasan_end_report+0x47/0x4f [ 47.414407] kasan_report.cold.9+0x76/0x309 [ 47.418717] ? memcmp+0xe3/0x160 [ 47.422074] __asan_report_load1_noabort+0x14/0x20 [ 47.426992] memcmp+0xe3/0x160 [ 47.430178] strnstr+0x4b/0x70 [ 47.433472] __aa_lookupn_ns+0xc1/0x570 [ 47.437439] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.442981] ? aa_find_ns+0x30/0x30 [ 47.446601] ? lock_acquire+0x1ed/0x520 [ 47.450562] ? __aa_lookupn_ns+0x570/0x570 [ 47.454789] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.460505] ? check_preemption_disabled+0x48/0x200 [ 47.465524] ? kasan_check_read+0x11/0x20 [ 47.469677] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 47.474951] ? rcu_softirq_qs+0x20/0x20 [ 47.478929] ? print_usage_bug+0xc0/0xc0 [ 47.482985] aa_lookupn_ns+0x88/0x1e0 [ 47.486781] aa_fqlookupn_profile+0x1b9/0x1010 [ 47.491510] ? lru_cache_add_file+0x20/0x20 [ 47.495829] ? aa_lookup_profile+0x30/0x30 [ 47.500057] ? __lock_acquire+0x7ec/0x4ec0 [ 47.504285] ? noop_count+0x40/0x40 [ 47.507904] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.513429] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 47.518960] ? refcount_add_not_zero_checked+0x330/0x330 [ 47.524420] ? mark_held_locks+0x130/0x130 [ 47.528770] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.534307] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 47.539943] fqlookupn_profile+0x80/0xc0 [ 47.544005] aa_label_strn_parse+0xa3a/0x1230 [ 47.548507] ? aa_label_printk+0x850/0x850 [ 47.552741] ? lockdep_on+0x50/0x50 [ 47.556473] ? graph_lock+0x170/0x170 [ 47.560275] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.565813] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 47.571260] ? refcount_add_not_zero_checked+0x330/0x330 [ 47.576711] ? graph_lock+0x170/0x170 [ 47.580506] ? find_held_lock+0x36/0x1c0 [ 47.584566] aa_label_parse+0x42/0x50 [ 47.588359] aa_change_profile+0x513/0x3510 [ 47.592671] ? lock_acquire+0x1ed/0x520 [ 47.596634] ? aa_change_hat+0x1a20/0x1a20 [ 47.600859] ? is_bpf_text_address+0xd3/0x170 [ 47.605354] ? __mutex_lock+0x85e/0x1700 [ 47.609410] ? proc_pid_attr_write+0x28a/0x540 [ 47.613990] ? mutex_trylock+0x2b0/0x2b0 [ 47.618041] ? save_stack+0xa9/0xd0 [ 47.621780] ? save_stack+0x43/0xd0 [ 47.625396] ? kasan_kmalloc+0xc7/0xe0 [ 47.629376] ? __kmalloc_track_caller+0x14a/0x750 [ 47.634211] ? memdup_user+0x2c/0xa0 [ 47.638138] ? proc_pid_attr_write+0x198/0x540 [ 47.642721] ? graph_lock+0x170/0x170 [ 47.646514] ? __x64_sys_write+0x73/0xb0 [ 47.650562] ? graph_lock+0x170/0x170 [ 47.654471] ? mark_held_locks+0x130/0x130 [ 47.658779] apparmor_setprocattr+0xab7/0x1180 [ 47.663372] ? apparmor_task_kill+0xcb0/0xcb0 [ 47.667869] ? lock_downgrade+0x900/0x900 [ 47.672155] ? ttwu_stat+0x5c0/0x5c0 [ 47.675889] security_setprocattr+0x66/0xc0 [ 47.680218] proc_pid_attr_write+0x301/0x540 [ 47.684618] __vfs_write+0x119/0x9f0 [ 47.688324] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.693965] ? proc_loginuid_write+0x4f0/0x4f0 [ 47.698634] ? kernel_read+0x120/0x120 [ 47.702522] ? __lock_is_held+0xb5/0x140 [ 47.706581] ? rcu_read_lock_sched_held+0x108/0x120 [ 47.711688] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.717232] ? __sb_start_write+0x1b2/0x370 [ 47.721549] vfs_write+0x1fc/0x560 [ 47.725200] ksys_write+0x101/0x260 [ 47.728833] ? __ia32_sys_read+0xb0/0xb0 [ 47.732896] ? trace_hardirqs_off_caller+0x300/0x300 [ 47.738003] __x64_sys_write+0x73/0xb0 [ 47.741888] do_syscall_64+0x1b9/0x820 [ 47.745877] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 47.751240] ? syscall_return_slowpath+0x5e0/0x5e0 [ 47.756169] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.761422] ? trace_hardirqs_off+0x310/0x310 [ 47.765928] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 47.770953] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.776502] ? prepare_exit_to_usermode+0x291/0x3b0 [ 47.781530] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.786382] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.791576] RIP: 0033:0x440d49 [ 47.794769] 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 [ 47.813734] RSP: 002b:00007ffe7d339b38 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 47.821460] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440d49 [ 47.828729] RDX: 0000000000000009 RSI: 0000000020000040 RDI: 0000000000000003 [ 47.836058] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 47.843335] R10: 0000000000a73880 R11: 0000000000000213 R12: 000000000000b673 [ 47.850597] R13: 0000000000401d20 R14: 0000000000000000 R15: 0000000000000000 [ 47.858809] Kernel Offset: disabled [ 47.862449] Rebooting in 86400 seconds..