[ 28.099970] audit: type=1800 audit(1538715935.447:27): pid=5557 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 28.139861] audit: type=1800 audit(1538715935.447:28): pid=5557 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 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. [ 28.605282] audit: type=1800 audit(1538715935.997:29): pid=5557 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 28.624863] audit: type=1800 audit(1538715935.997:30): pid=5557 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.10.34' (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 syzkaller login: [ 52.716332] kasan: CONFIG_KASAN_INLINE enabled [ 52.723452] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 52.740324] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 52.746574] CPU: 1 PID: 5736 Comm: syz-executor313 Not tainted 4.19.0-rc6+ #170 [ 52.754010] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.763452] RIP: 0010:memcmp+0x28/0x160 [ 52.767418] Code: 00 00 48 85 d2 0f 84 0a 01 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 f9 48 89 e5 48 c1 e9 03 41 54 53 48 89 fb 48 83 ec 18 <0f> b6 04 01 48 89 f9 83 e1 07 38 c8 7f 08 84 c0 0f 85 98 00 00 00 [ 52.786315] RSP: 0018:ffff8801bc37ef48 EFLAGS: 00010296 [ 52.791677] RAX: dffffc0000000000 RBX: 0000000041b58ab3 RCX: 000000000836b156 [ 52.798940] RDX: 0000000000000002 RSI: ffffffff883ba540 RDI: 0000000041b58ab3 [ 52.799595] kasan: CONFIG_KASAN_INLINE enabled [ 52.806199] RBP: ffff8801bc37ef70 R08: ffff8801d9780040 R09: 0000000000000000 [ 52.806207] R10: ffffed003786fe50 R11: 0000000000000000 R12: 0000000000000002 [ 52.806214] R13: ffffffff883ba540 R14: ffff8801fded7db3 R15: dffffc0000000000 [ 52.806224] FS: 0000000000000000(0000) GS:ffff8801daf00000(0063) knlGS:0000000009c28840 [ 52.806235] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 52.812650] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 52.818110] CR2: 00000000080d6a40 CR3: 00000001cfa5a000 CR4: 00000000001406e0 [ 52.818121] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 52.818127] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 52.818132] Call Trace: [ 52.818150] strnstr+0x4b/0x70 [ 52.818167] __aa_lookupn_ns+0xc1/0x570 [ 52.885703] ? aa_find_ns+0x30/0x30 [ 52.889313] ? lock_acquire+0x1ed/0x520 [ 52.893276] ? __aa_lookupn_ns+0x570/0x570 [ 52.897489] ? lock_release+0x970/0x970 [ 52.901456] ? set_next_entity+0x2eb/0xc40 [ 52.905675] ? mark_held_locks+0x130/0x130 [ 52.909889] ? debug_smp_processor_id+0x1c/0x20 [ 52.914538] ? select_task_rq_fair+0x34f0/0x34f0 [ 52.919284] aa_lookupn_ns+0x88/0x1e0 [ 52.923062] aa_fqlookupn_profile+0x1b9/0x1010 [ 52.927622] ? pick_next_task_fair+0x98e/0x17c0 [ 52.932278] ? aa_lookup_profile+0x30/0x30 [ 52.936508] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.942026] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 52.947454] ? refcount_add_not_zero_checked+0x330/0x330 [ 52.952885] ? mark_held_locks+0x130/0x130 [ 52.957100] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.962614] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 52.968138] fqlookupn_profile+0x80/0xc0 [ 52.972186] aa_label_strn_parse+0xa3a/0x1230 [ 52.976663] ? aa_label_printk+0x850/0x850 [ 52.980889] ? preempt_notifier_register+0x200/0x200 [ 52.985996] ? __switch_to_asm+0x34/0x70 [ 52.990038] ? __switch_to_asm+0x34/0x70 [ 52.994078] ? __switch_to_asm+0x40/0x70 [ 52.998115] ? __switch_to_asm+0x34/0x70 [ 53.002155] ? __switch_to_asm+0x40/0x70 [ 53.006192] ? __switch_to_asm+0x34/0x70 [ 53.010231] ? __switch_to_asm+0x40/0x70 [ 53.014267] ? __switch_to_asm+0x34/0x70 [ 53.018304] ? __switch_to_asm+0x40/0x70 [ 53.022354] ? __switch_to_asm+0x34/0x70 [ 53.026404] ? __switch_to_asm+0x40/0x70 [ 53.030455] ? __switch_to_asm+0x34/0x70 [ 53.034492] ? __switch_to_asm+0x40/0x70 [ 53.038548] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.044075] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 53.049504] ? refcount_add_not_zero_checked+0x330/0x330 [ 53.054931] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 53.059944] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 53.064681] aa_label_parse+0x42/0x50 [ 53.068460] aa_change_profile+0x513/0x3260 [ 53.072762] ? lock_acquire+0x1ed/0x520 [ 53.076715] ? aa_change_hat+0x1890/0x1890 [ 53.080930] ? is_bpf_text_address+0xd3/0x170 [ 53.085419] ? __mutex_lock+0x85e/0x1700 [ 53.089475] ? proc_pid_attr_write+0x28a/0x540 [ 53.094039] ? mutex_trylock+0x2b0/0x2b0 [ 53.098078] ? save_stack+0xa9/0xd0 [ 53.101681] ? save_stack+0x43/0xd0 [ 53.105285] ? kasan_kmalloc+0xc7/0xe0 [ 53.109150] ? __kmalloc_track_caller+0x14a/0x750 [ 53.113967] ? memdup_user+0x2c/0xa0 [ 53.117658] ? proc_pid_attr_write+0x198/0x540 [ 53.122216] ? __vfs_write+0x119/0x9f0 [ 53.126098] ? vfs_write+0x1fc/0x560 [ 53.129799] ? ksys_write+0x101/0x260 [ 53.133579] ? __ia32_sys_write+0x71/0xb0 [ 53.137706] ? do_fast_syscall_32+0x34d/0xfb2 [ 53.142188] ? entry_SYSENTER_compat+0x70/0x7f [ 53.146754] ? mark_held_locks+0x130/0x130 [ 53.150986] apparmor_setprocattr+0xa8b/0x1150 [ 53.155566] ? apparmor_task_kill+0xcb0/0xcb0 [ 53.160068] ? lock_downgrade+0x900/0x900 [ 53.164196] ? arch_local_save_flags+0x40/0x40 [ 53.168788] security_setprocattr+0x66/0xc0 [ 53.173099] proc_pid_attr_write+0x301/0x540 [ 53.177487] __vfs_write+0x119/0x9f0 [ 53.181176] ? proc_loginuid_write+0x4f0/0x4f0 [ 53.185735] ? kernel_read+0x120/0x120 [ 53.189619] ? lock_release+0x970/0x970 [ 53.193574] ? arch_local_save_flags+0x40/0x40 [ 53.198138] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.203656] ? check_preemption_disabled+0x48/0x200 [ 53.208679] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.214217] ? __sb_start_write+0x1b2/0x370 [ 53.218530] vfs_write+0x1fc/0x560 [ 53.222053] ksys_write+0x101/0x260 [ 53.225658] ? __ia32_sys_read+0xb0/0xb0 [ 53.229701] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 53.235130] __ia32_sys_write+0x71/0xb0 [ 53.239091] do_fast_syscall_32+0x34d/0xfb2 [ 53.243401] ? do_int80_syscall_32+0x890/0x890 [ 53.247965] ? entry_SYSENTER_compat+0x68/0x7f [ 53.252528] ? trace_hardirqs_off_caller+0xbb/0x310 [ 53.257524] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.262345] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.267165] ? trace_hardirqs_on_caller+0x310/0x310 [ 53.272246] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 53.277239] ? prepare_exit_to_usermode+0x291/0x3b0 [ 53.282241] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.287077] entry_SYSENTER_compat+0x70/0x7f [ 53.291474] RIP: 0023:0xf7f5eca9 [ 53.294837] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 53.313714] RSP: 002b:00000000ffcea43c EFLAGS: 00000246 ORIG_RAX: 0000000000000004 [ 53.321402] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000000 [ 53.328680] RDX: 0000000000000008 RSI: 00000000ffcea584 RDI: 00000000ffcea58c [ 53.335930] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 53.343182] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 53.350432] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 53.357682] Modules linked in: [ 53.360864] general protection fault: 0000 [#2] PREEMPT SMP KASAN [ 53.366762] ---[ end trace 26b739f734691ce6 ]--- [ 53.367098] CPU: 0 PID: 5791 Comm: syz-executor313 Tainted: G D 4.19.0-rc6+ #170 [ 53.367106] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.367123] RIP: 0010:memcmp+0x28/0x160 [ 53.371907] RIP: 0010:memcmp+0x28/0x160 [ 53.380668] Code: 00 00 48 85 d2 0f 84 0a 01 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 f9 48 89 e5 48 c1 e9 03 41 54 53 48 89 fb 48 83 ec 18 <0f> b6 04 01 48 89 f9 83 e1 07 38 c8 7f 08 84 c0 0f 85 98 00 00 00 [ 53.380674] RSP: 0018:ffff8801c09fef48 EFLAGS: 00010296 [ 53.380683] RAX: dffffc0000000000 RBX: 00000001815f0880 RCX: 00000000302be110 [ 53.380690] RDX: 0000000000000002 RSI: ffffffff883ba540 RDI: 00000001815f0880 [ 53.380696] RBP: ffff8801c09fef70 R08: ffff8801bc166440 R09: 0000000000000000 [ 53.380705] R10: ffffed003813fe50 R11: 0000000000000000 R12: 0000000000000002 executing program executing program [ 53.390093] Code: 00 00 48 85 d2 0f 84 0a 01 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 f9 48 89 e5 48 c1 e9 03 41 54 53 48 89 fb 48 83 ec 18 <0f> b6 04 01 48 89 f9 83 e1 07 38 c8 7f 08 84 c0 0f 85 98 00 00 00 [ 53.393979] R13: ffffffff883ba540 R14: ffff880341fefb80 R15: dffffc0000000000 [ 53.393989] FS: 0000000000000000(0000) GS:ffff8801dae00000(0063) knlGS:0000000009c28840 [ 53.393995] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 53.394004] CR2: 00000000080d6a40 CR3: 00000001ce5fa000 CR4: 00000000001406f0 [ 53.397999] RSP: 0018:ffff8801bc37ef48 EFLAGS: 00010296 [ 53.416825] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 53.416832] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 executing program executing program [ 53.416835] Call Trace: [ 53.416851] strnstr+0x4b/0x70 [ 53.416865] __aa_lookupn_ns+0xc1/0x570 [ 53.416879] ? aa_find_ns+0x30/0x30 [ 53.429586] ? lock_acquire+0x1ed/0x520 [ 53.429606] ? __aa_lookupn_ns+0x570/0x570 [ 53.429619] ? lock_release+0x970/0x970 [ 53.429634] ? ima_match_policy+0x848/0x1560 [ 53.436936] RAX: dffffc0000000000 RBX: 0000000041b58ab3 RCX: 000000000836b156 [ 53.444142] ? lock_downgrade+0x900/0x900 [ 53.444152] ? __update_load_avg_blocked_se+0x730/0x730 [ 53.444167] aa_lookupn_ns+0x88/0x1e0 [ 53.451460] RDX: 0000000000000002 RSI: ffffffff883ba540 RDI: 0000000041b58ab3 [ 53.470288] aa_fqlookupn_profile+0x1b9/0x1010 [ 53.470303] ? aa_lookup_profile+0x30/0x30 [ 53.470321] ? attach_entity_load_avg+0x860/0x860 [ 53.470332] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.470348] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 53.477673] RBP: ffff8801bc37ef70 R08: ffff8801d9780040 R09: 0000000000000000 [ 53.485801] ? refcount_add_not_zero_checked+0x330/0x330 [ 53.485813] ? mark_held_locks+0x130/0x130 [ 53.485833] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.485843] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.485854] fqlookupn_profile+0x80/0xc0 [ 53.485865] aa_label_strn_parse+0xa3a/0x1230 [ 53.485881] ? aa_label_printk+0x850/0x850 [ 53.492064] R10: ffffed003786fe50 R11: 0000000000000000 R12: 0000000000000002 [ 53.498987] ? refcount_sub_and_test_checked+0x203/0x310 [ 53.499002] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.499016] ? refcount_inc_not_zero_checked+0x1e5/0x2f0 [ 53.507879] R13: ffffffff883ba540 R14: ffff8801fded7db3 R15: dffffc0000000000 [ 53.511611] ? refcount_add_not_zero_checked+0x330/0x330 [ 53.511628] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 53.520863] FS: 0000000000000000(0000) GS:ffff8801daf00000(0063) knlGS:0000000009c28840 [ 53.521439] ? bpf_prog_kallsyms_find+0xde/0x4a0 [ 53.521455] aa_label_parse+0x42/0x50 [ 53.521468] aa_change_profile+0x513/0x3260 [ 53.526287] CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 [ 53.528604] ? lock_acquire+0x1ed/0x520 [ 53.528618] ? aa_change_hat+0x1890/0x1890 [ 53.532740] CR2: 00000000080d6a40 CR3: 00000001cfa5a000 CR4: 00000000001406e0 [ 53.536169] ? is_bpf_text_address+0xd3/0x170 [ 53.536186] ? __mutex_lock+0x85e/0x1700 [ 53.536197] ? proc_pid_attr_write+0x28a/0x540 [ 53.536211] ? mutex_trylock+0x2b0/0x2b0 [ 53.540941] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 53.544362] ? save_stack+0xa9/0xd0 [ 53.544372] ? save_stack+0x43/0xd0 [ 53.544384] ? kasan_kmalloc+0xc7/0xe0 [ 53.550670] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 53.556016] ? __kmalloc_track_caller+0x14a/0x750 [ 53.556026] ? memdup_user+0x2c/0xa0 [ 53.556037] ? proc_pid_attr_write+0x198/0x540 [ 53.556047] ? __vfs_write+0x119/0x9f0 [ 53.556054] ? vfs_write+0x1fc/0x560 [ 53.556063] ? ksys_write+0x101/0x260 [ 53.556077] ? __ia32_sys_write+0x71/0xb0 [ 53.560726] Kernel panic - not syncing: Fatal exception [ 53.565574] ? do_fast_syscall_32+0x34d/0xfb2 [ 53.806361] ? entry_SYSENTER_compat+0x70/0x7f [ 53.810930] ? mark_held_locks+0x130/0x130 [ 53.815149] apparmor_setprocattr+0xa8b/0x1150 [ 53.819728] ? apparmor_task_kill+0xcb0/0xcb0 [ 53.824341] ? lock_downgrade+0x900/0x900 [ 53.828486] ? arch_local_save_flags+0x40/0x40 [ 53.833165] security_setprocattr+0x66/0xc0 [ 53.837471] proc_pid_attr_write+0x301/0x540 [ 53.841874] __vfs_write+0x119/0x9f0 [ 53.845582] ? proc_loginuid_write+0x4f0/0x4f0 [ 53.850164] ? kernel_read+0x120/0x120 [ 53.854060] ? lock_release+0x970/0x970 [ 53.858030] ? arch_local_save_flags+0x40/0x40 [ 53.862603] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.868125] ? check_preemption_disabled+0x48/0x200 [ 53.873125] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.878646] ? __sb_start_write+0x1b2/0x370 [ 53.882958] vfs_write+0x1fc/0x560 [ 53.886483] ksys_write+0x101/0x260 [ 53.890092] ? __ia32_sys_read+0xb0/0xb0 [ 53.894138] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 53.899579] ? prepare_exit_to_usermode+0x342/0x3b0 [ 53.904582] __ia32_sys_write+0x71/0xb0 [ 53.908544] do_fast_syscall_32+0x34d/0xfb2 [ 53.912857] ? do_int80_syscall_32+0x890/0x890 [ 53.917440] ? entry_SYSENTER_compat+0x68/0x7f [ 53.922005] ? trace_hardirqs_off_caller+0xbb/0x310 [ 53.927001] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.931825] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.936655] ? trace_hardirqs_on_caller+0x310/0x310 [ 53.941657] ? prepare_exit_to_usermode+0x291/0x3b0 [ 53.946667] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.951492] entry_SYSENTER_compat+0x70/0x7f [ 53.955880] RIP: 0023:0xf7f5eca9 [ 53.959237] 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 [ 53.978136] RSP: 002b:00000000ffcea43c EFLAGS: 00000246 ORIG_RAX: 0000000000000004 [ 53.985824] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020000000 [ 53.993074] RDX: 0000000000000008 RSI: 00000000ffcea584 RDI: 00000000ffcea58c [ 54.000336] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 54.007605] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 54.014941] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 54.022195] Modules linked in: [ 54.026466] Kernel Offset: disabled [ 54.030085] Rebooting in 86400 seconds..