[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 37.331308] audit: type=1800 audit(1538724628.153:25): pid=5675 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 37.357264] audit: type=1800 audit(1538724628.153:26): pid=5675 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 37.377838] audit: type=1800 audit(1538724628.153:27): pid=5675 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.118' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 47.876378] kauditd_printk_skb: 3 callbacks suppressed [ 47.876404] audit: type=1400 audit(1538724638.703:31): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5863 comm="syz-executor448" [ 47.912918] ================================================================== executing program [ 47.916893] audit: type=1400 audit(1538724638.703:32): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5868 comm="syz-executor448" [ 47.920334] BUG: KASAN: stack-out-of-bounds in memcmp+0xe3/0x160 [ 47.920346] Read of size 1 at addr ffff8801c800f248 by task syz-executor448/5880 [ 47.920355] [ 47.952970] CPU: 0 PID: 5880 Comm: syz-executor448 Not tainted 4.19.0-rc6+ #268 [ 47.960407] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.969744] Call Trace: [ 47.972321] dump_stack+0x1c4/0x2b4 [ 47.975939] ? dump_stack_print_info.cold.2+0x52/0x52 [ 47.981137] ? printk+0xa7/0xcf [ 47.984423] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 47.989187] print_address_description.cold.8+0x9/0x1ff [ 47.994552] kasan_report.cold.9+0x242/0x309 [ 47.998966] ? memcmp+0xe3/0x160 [ 48.002354] __asan_report_load1_noabort+0x14/0x20 [ 48.007361] memcmp+0xe3/0x160 [ 48.010636] ? __enqueue_entity+0x10d/0x1f0 [ 48.014952] strnstr+0x4b/0x70 [ 48.018241] __aa_lookupn_ns+0xc1/0x570 [ 48.022205] ? aa_find_ns+0x30/0x30 [ 48.025824] ? lock_acquire+0x1ed/0x520 [ 48.029800] ? __aa_lookupn_ns+0x570/0x570 [ 48.034019] ? __lru_cache_add+0x2ff/0x4e0 [ 48.038247] ? lock_release+0x970/0x970 [ 48.042212] ? trace_hardirqs_off+0xb8/0x310 [ 48.046608] ? finish_task_switch+0x1f5/0x900 [ 48.051091] ? lock_downgrade+0x900/0x900 [ 48.055225] ? finish_task_switch+0x1b5/0x900 [ 48.059709] aa_lookupn_ns+0x88/0x1e0 [ 48.063496] aa_fqlookupn_profile+0x1b9/0x1010 [ 48.068096] ? compat_start_thread+0x80/0x80 [ 48.072587] ? aa_lookup_profile+0x30/0x30 [ 48.076822] ? _raw_spin_unlock_irq+0x60/0x80 [ 48.081306] ? finish_task_switch+0x1f5/0x900 [ 48.085785] ? finish_task_switch+0x1b5/0x900 [ 48.090269] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.095790] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 48.101224] ? refcount_add_not_zero_checked+0x330/0x330 [ 48.106835] ? mark_held_locks+0x130/0x130 [ 48.111194] ? __switch_to_asm+0x34/0x70 [ 48.115237] ? __switch_to_asm+0x40/0x70 [ 48.119282] ? __switch_to_asm+0x34/0x70 [ 48.123335] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.129166] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 48.134742] fqlookupn_profile+0x80/0xc0 [ 48.138971] aa_label_strn_parse+0xa3a/0x1230 [ 48.143455] ? aa_label_printk+0x850/0x850 [ 48.147677] ? retint_kernel+0x2d/0x2d [ 48.151558] ? trace_hardirqs_on_caller+0xc0/0x310 [ 48.156490] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 48.161232] ? retint_kernel+0x1b/0x2d [ 48.165112] ? trace_hardirqs_on+0x310/0x310 [ 48.169508] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.175033] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 48.180473] ? refcount_add_not_zero_checked+0x330/0x330 [ 48.185932] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 48.190945] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 48.195742] aa_label_parse+0x42/0x50 [ 48.199538] aa_change_profile+0x513/0x3260 [ 48.203856] ? lock_acquire+0x1ed/0x520 [ 48.207881] ? aa_change_hat+0x1890/0x1890 [ 48.212126] ? is_bpf_text_address+0xd3/0x170 [ 48.216628] ? __mutex_lock+0x85e/0x1700 [ 48.220690] ? proc_pid_attr_write+0x28a/0x540 [ 48.225279] ? mutex_trylock+0x2b0/0x2b0 [ 48.229341] ? save_stack+0xa9/0xd0 [ 48.232950] ? save_stack+0x43/0xd0 [ 48.236559] ? kasan_kmalloc+0xc7/0xe0 [ 48.240433] ? __kmalloc_track_caller+0x14a/0x750 [ 48.245255] ? memdup_user+0x2c/0xa0 [ 48.248959] ? proc_pid_attr_write+0x198/0x540 [ 48.253527] ? __vfs_write+0x119/0x9f0 [ 48.257404] ? vfs_write+0x1fc/0x560 [ 48.261102] ? ksys_write+0x101/0x260 [ 48.264918] ? __x64_sys_write+0x73/0xb0 [ 48.268975] ? do_syscall_64+0x1b9/0x820 [ 48.273036] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.278520] ? mark_held_locks+0x130/0x130 [ 48.282753] apparmor_setprocattr+0xa8b/0x1150 [ 48.287474] ? apparmor_task_kill+0xcb0/0xcb0 [ 48.291955] ? lock_downgrade+0x900/0x900 [ 48.296086] ? arch_local_save_flags+0x40/0x40 [ 48.300666] security_setprocattr+0x66/0xc0 [ 48.305071] proc_pid_attr_write+0x301/0x540 [ 48.309475] __vfs_write+0x119/0x9f0 [ 48.313187] ? proc_loginuid_write+0x4f0/0x4f0 [ 48.317774] ? kernel_read+0x120/0x120 [ 48.321650] ? lock_release+0x970/0x970 [ 48.325609] ? arch_local_save_flags+0x40/0x40 [ 48.330176] ? check_preemption_disabled+0x48/0x200 [ 48.335176] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.340694] ? check_preemption_disabled+0x48/0x200 [ 48.345748] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.351285] ? __sb_start_write+0x1b2/0x370 [ 48.355592] vfs_write+0x1fc/0x560 [ 48.359119] ksys_write+0x101/0x260 [ 48.362728] ? __ia32_sys_read+0xb0/0xb0 [ 48.366782] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 48.372217] __x64_sys_write+0x73/0xb0 [ 48.376097] do_syscall_64+0x1b9/0x820 [ 48.379971] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 48.385320] ? syscall_return_slowpath+0x5e0/0x5e0 [ 48.390233] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 48.395060] ? trace_hardirqs_on_caller+0x310/0x310 [ 48.400068] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 48.405072] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.410596] ? prepare_exit_to_usermode+0x291/0x3b0 [ 48.415598] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 48.420428] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.425702] RIP: 0033:0x440e59 [ 48.428879] Code: e8 ac e8 ff ff 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 0b 0a fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 48.447827] RSP: 002b:00007ffe0c3bad48 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 48.455527] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440e59 [ 48.462782] RDX: 000000000000ffd5 RSI: 00000000200000c0 RDI: 0000000000000003 [ 48.470041] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 48.477294] R10: 0000000000895880 R11: 0000000000000213 R12: 000000000000bb0b [ 48.484544] R13: 0000000000401d80 R14: 0000000000000000 R15: 0000000000000000 [ 48.491801] [ 48.493407] The buggy address belongs to the page: [ 48.498318] page:ffffea00072003c0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 [ 48.506439] flags: 0x2fffc0000000000() [ 48.510313] raw: 02fffc0000000000 0000000000000000 ffffffff07200101 0000000000000000 [ 48.518181] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 48.526042] page dumped because: kasan: bad access detected [ 48.531727] [ 48.533329] Memory state around the buggy address: [ 48.538239] ffff8801c800f100: f2 f2 f2 00 f2 f2 f2 00 00 00 00 00 00 00 00 00 [ 48.545645] ffff8801c800f180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 48.553006] >ffff8801c800f200: 00 00 f1 f1 f1 f1 00 f2 f2 f2 f2 f2 f2 f2 00 f2 [ 48.560355] ^ [ 48.566052] ffff8801c800f280: f2 f2 f2 f2 f2 f2 00 f2 f2 f2 f2 f2 f2 f2 00 f2 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 48.573461] ffff8801c800f300: f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 48.580938] ================================================================== [ 48.594974] Kernel panic - not syncing: panic_on_warn set ... [ 48.594974] [ 48.602460] CPU: 0 PID: 5880 Comm: syz-executor448 Tainted: G B 4.19.0-rc6+ #268 [ 48.611282] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.620626] Call Trace: [ 48.623218] dump_stack+0x1c4/0x2b4 [ 48.626847] ? dump_stack_print_info.cold.2+0x52/0x52 [ 48.632035] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 48.636778] panic+0x238/0x4e7 [ 48.639952] ? add_taint.cold.5+0x16/0x16 [ 48.644091] ? preempt_schedule+0x4d/0x60 [ 48.648228] ? ___preempt_schedule+0x16/0x18 [ 48.652621] ? trace_hardirqs_on+0xb4/0x310 [ 48.656930] kasan_end_report+0x47/0x4f [ 48.660888] kasan_report.cold.9+0x76/0x309 [ 48.665197] ? memcmp+0xe3/0x160 [ 48.668550] __asan_report_load1_noabort+0x14/0x20 [ 48.673463] memcmp+0xe3/0x160 [ 48.676643] ? __enqueue_entity+0x10d/0x1f0 [ 48.680948] strnstr+0x4b/0x70 [ 48.683018] audit: type=1400 audit(1538724639.413:33): apparmor="DENIED" operation="change_onexec" info="label not found" error=-2 profile="unconfined" name="&&" pid=5936 comm="syz-executor448" [ 48.684206] __aa_lookupn_ns+0xc1/0x570 [ 48.684219] ? aa_find_ns+0x30/0x30 [ 48.709211] ? lock_acquire+0x1ed/0x520 [ 48.713181] ? __aa_lookupn_ns+0x570/0x570 [ 48.717411] ? __lru_cache_add+0x2ff/0x4e0 [ 48.721630] ? lock_release+0x970/0x970 [ 48.725592] ? trace_hardirqs_off+0xb8/0x310 [ 48.729991] ? finish_task_switch+0x1f5/0x900 [ 48.734582] ? lock_downgrade+0x900/0x900 [ 48.738733] ? finish_task_switch+0x1b5/0x900 [ 48.743219] aa_lookupn_ns+0x88/0x1e0 [ 48.747166] aa_fqlookupn_profile+0x1b9/0x1010 [ 48.751741] ? compat_start_thread+0x80/0x80 [ 48.756135] ? aa_lookup_profile+0x30/0x30 [ 48.760455] ? _raw_spin_unlock_irq+0x60/0x80 [ 48.765199] ? finish_task_switch+0x1f5/0x900 [ 48.769676] ? finish_task_switch+0x1b5/0x900 [ 48.774162] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.779684] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 48.785116] ? refcount_add_not_zero_checked+0x330/0x330 [ 48.790550] ? mark_held_locks+0x130/0x130 [ 48.794771] ? __switch_to_asm+0x34/0x70 [ 48.798947] ? __switch_to_asm+0x40/0x70 [ 48.803036] ? __switch_to_asm+0x34/0x70 [ 48.807090] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.812611] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 48.818140] fqlookupn_profile+0x80/0xc0 [ 48.822184] aa_label_strn_parse+0xa3a/0x1230 [ 48.826667] ? aa_label_printk+0x850/0x850 [ 48.830889] ? retint_kernel+0x2d/0x2d [ 48.834766] ? trace_hardirqs_on_caller+0xc0/0x310 [ 48.839683] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 48.844422] ? retint_kernel+0x1b/0x2d [ 48.848298] ? trace_hardirqs_on+0x310/0x310 [ 48.852739] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.858269] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 48.863706] ? refcount_add_not_zero_checked+0x330/0x330 [ 48.869201] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 48.874209] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 48.878954] aa_label_parse+0x42/0x50 [ 48.882740] aa_change_profile+0x513/0x3260 [ 48.887092] ? lock_acquire+0x1ed/0x520 [ 48.891058] ? aa_change_hat+0x1890/0x1890 [ 48.895279] ? is_bpf_text_address+0xd3/0x170 [ 48.899761] ? __mutex_lock+0x85e/0x1700 [ 48.903861] ? proc_pid_attr_write+0x28a/0x540 [ 48.908494] ? mutex_trylock+0x2b0/0x2b0 [ 48.912547] ? save_stack+0xa9/0xd0 [ 48.916220] ? save_stack+0x43/0xd0 [ 48.919838] ? kasan_kmalloc+0xc7/0xe0 [ 48.923715] ? __kmalloc_track_caller+0x14a/0x750 [ 48.928545] ? memdup_user+0x2c/0xa0 [ 48.932286] ? proc_pid_attr_write+0x198/0x540 [ 48.936856] ? __vfs_write+0x119/0x9f0 [ 48.940727] ? vfs_write+0x1fc/0x560 [ 48.944424] ? ksys_write+0x101/0x260 [ 48.948373] ? __x64_sys_write+0x73/0xb0 [ 48.952428] ? do_syscall_64+0x1b9/0x820 [ 48.956576] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.961928] ? mark_held_locks+0x130/0x130 [ 48.966150] apparmor_setprocattr+0xa8b/0x1150 [ 48.970866] ? apparmor_task_kill+0xcb0/0xcb0 [ 48.975471] ? lock_downgrade+0x900/0x900 [ 48.979607] ? arch_local_save_flags+0x40/0x40 [ 48.984188] security_setprocattr+0x66/0xc0 [ 48.988501] proc_pid_attr_write+0x301/0x540 [ 48.992895] __vfs_write+0x119/0x9f0 [ 48.996831] ? proc_loginuid_write+0x4f0/0x4f0 [ 49.001409] ? kernel_read+0x120/0x120 [ 49.005288] ? lock_release+0x970/0x970 [ 49.009253] ? arch_local_save_flags+0x40/0x40 [ 49.013872] ? check_preemption_disabled+0x48/0x200 [ 49.018879] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 49.024411] ? check_preemption_disabled+0x48/0x200 [ 49.029422] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 49.034942] ? __sb_start_write+0x1b2/0x370 [ 49.039254] vfs_write+0x1fc/0x560 [ 49.042785] ksys_write+0x101/0x260 [ 49.046404] ? __ia32_sys_read+0xb0/0xb0 [ 49.050450] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 49.055895] __x64_sys_write+0x73/0xb0 [ 49.059775] do_syscall_64+0x1b9/0x820 [ 49.063718] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 49.069078] ? syscall_return_slowpath+0x5e0/0x5e0 [ 49.073991] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 49.078817] ? trace_hardirqs_on_caller+0x310/0x310 [ 49.083824] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 49.088834] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 49.094363] ? prepare_exit_to_usermode+0x291/0x3b0 [ 49.099367] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 49.104211] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.109401] RIP: 0033:0x440e59 [ 49.112581] Code: e8 ac e8 ff ff 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 0b 0a fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 49.131471] RSP: 002b:00007ffe0c3bad48 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 49.139228] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440e59 [ 49.146532] RDX: 000000000000ffd5 RSI: 00000000200000c0 RDI: 0000000000000003 [ 49.153790] RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 [ 49.161040] R10: 0000000000895880 R11: 0000000000000213 R12: 000000000000bb0b [ 49.168295] R13: 0000000000401d80 R14: 0000000000000000 R15: 0000000000000000 [ 49.176441] Kernel Offset: disabled [ 49.180070] Rebooting in 86400 seconds..