[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 26.869228] kauditd_printk_skb: 7 callbacks suppressed [ 26.869240] audit: type=1800 audit(1541584195.465:29): pid=5512 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 [ 26.895780] audit: type=1800 audit(1541584195.465:30): pid=5512 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 syzkaller login: [ 64.305375] kasan: CONFIG_KASAN_INLINE enabled [ 64.310214] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 64.317643] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 64.324287] CPU: 0 PID: 5667 Comm: syz-executor473 Not tainted 4.20.0-rc1-next-20181107+ #107 [ 64.332932] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.342284] RIP: 0010:__x86_indirect_thunk_rbx+0x10/0x20 [ 64.347720] Code: 90 0f ae e8 eb f9 48 89 04 24 c3 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 e8 07 00 00 00 f3 90 0f ae e8 eb f9 48 89 1c 24 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 e8 07 00 00 00 f3 [ 64.366879] RSP: 0018:ffff8801d7f872b0 EFLAGS: 00010293 [ 64.372233] RAX: ffff8801ba6406c0 RBX: 894cdffffc000000 RCX: ffffffff81ed555d [ 64.379489] RDX: 0000000000000000 RSI: ffffffff81ed5c9e RDI: ffff8801d7f87338 [ 64.386742] RBP: ffff8801d7f874a0 R08: ffff8801ba6406c0 R09: ffffed003b5c5b67 [ 64.393995] R10: ffffed003b5c5b67 R11: ffff8801dae2db3b R12: ffff8801d8e03d40 [ 64.401248] R13: ffff8801d7f87338 R14: 1ffff1003aff0e5b R15: dffffc0000000000 [ 64.408500] FS: 0000000000000000(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 64.416708] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 64.422567] CR2: 00007ffd8efc1038 CR3: 000000000946a000 CR4: 00000000001406f0 [ 64.429833] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 64.437098] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 64.444382] Call Trace: [ 64.446961] ? locks_remove_flock+0x236/0x350 [ 64.451444] ? flock_lock_inode+0x11c0/0x11c0 [ 64.455927] ? mark_held_locks+0x130/0x130 [ 64.460160] ? unwind_dump+0x190/0x190 [ 64.464112] ? is_bpf_text_address+0xd3/0x170 [ 64.468683] ? kernel_text_address+0x79/0xf0 [ 64.473078] ? __kernel_text_address+0xd/0x40 [ 64.477553] ? unwind_get_return_address+0x61/0xa0 [ 64.482473] ? __save_stack_trace+0x8d/0xf0 [ 64.486780] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 64.492306] locks_remove_file+0x148/0x5c0 [ 64.496630] ? fcntl_setlk+0xfc0/0xfc0 [ 64.500520] ? fsnotify_first_mark+0x350/0x350 [ 64.505098] ? __fsnotify_parent+0xcc/0x420 [ 64.509402] ? perf_trace_sched_process_exec+0x860/0x860 [ 64.514832] ? fsnotify+0xf20/0xf20 [ 64.518441] ? __might_sleep+0x95/0x190 [ 64.522485] __fput+0x2f0/0xa70 [ 64.525759] ? get_max_files+0x20/0x20 [ 64.529632] ? trace_hardirqs_on+0xbd/0x310 [ 64.533937] ? kasan_check_read+0x11/0x20 [ 64.538067] ? task_work_run+0x1af/0x2a0 [ 64.542124] ? trace_hardirqs_off_caller+0x300/0x300 [ 64.547402] ____fput+0x15/0x20 [ 64.550795] task_work_run+0x1e8/0x2a0 [ 64.554687] ? task_work_cancel+0x240/0x240 [ 64.559122] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 64.564791] ? switch_task_namespaces+0x9d/0xd0 [ 64.569449] do_exit+0x1ad1/0x26d0 [ 64.573091] ? lock_downgrade+0x900/0x900 [ 64.577242] ? check_preemption_disabled+0x48/0x280 [ 64.582245] ? rcu_read_unlock_special+0x181/0x1c0 [ 64.587177] ? mm_update_next_owner+0x990/0x990 [ 64.591825] ? rcu_softirq_qs+0x20/0x20 [ 64.595781] ? rcu_softirq_qs+0x20/0x20 [ 64.599928] ? unwind_dump+0x190/0x190 [ 64.603923] ? is_bpf_text_address+0xd3/0x170 [ 64.608415] ? kernel_text_address+0x79/0xf0 [ 64.612812] ? __kernel_text_address+0xd/0x40 [ 64.617303] ? unwind_get_return_address+0x61/0xa0 [ 64.622223] ? __save_stack_trace+0x8d/0xf0 [ 64.626537] ? save_stack+0xa9/0xd0 [ 64.630150] ? save_stack+0x43/0xd0 [ 64.633788] ? __kasan_slab_free+0x102/0x150 [ 64.638175] ? kasan_slab_free+0xe/0x10 [ 64.642229] ? kmem_cache_free+0x83/0x290 [ 64.646381] ? locks_free_lock+0x295/0x420 [ 64.650756] ? __x64_sys_flock+0x289/0x350 [ 64.654981] ? do_syscall_64+0x1b9/0x820 [ 64.659029] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 64.664481] ? trace_hardirqs_off+0xb8/0x310 [ 64.668888] ? kasan_check_read+0x11/0x20 [ 64.673028] ? do_raw_spin_unlock+0xa7/0x330 [ 64.677442] ? trace_hardirqs_off+0xb8/0x310 [ 64.681834] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 64.687353] ? check_preemption_disabled+0x48/0x280 [ 64.692355] ? rcu_lockdep_current_cpu_online+0x1a4/0x210 [ 64.697874] ? rcu_pm_notify+0xc0/0xc0 [ 64.701849] ? locks_free_lock+0x295/0x420 [ 64.706087] ? locks_free_lock+0x295/0x420 [ 64.710321] ? rcu_read_lock_sched_held+0x14f/0x180 [ 64.715368] ? kmem_cache_free+0x24f/0x290 [ 64.719601] ? locks_free_lock+0x295/0x420 [ 64.723827] ? leases_conflict+0x190/0x190 [ 64.728054] ? locks_mandatory_area+0x6a0/0x6a0 [ 64.732716] ? apparmor_path_rmdir+0x30/0x30 [ 64.737150] do_group_exit+0x177/0x440 [ 64.741159] ? trace_hardirqs_on+0xbd/0x310 [ 64.745509] ? __ia32_sys_exit+0x50/0x50 [ 64.749639] ? trace_hardirqs_off_caller+0x300/0x300 [ 64.754745] __x64_sys_exit_group+0x3e/0x50 [ 64.759051] do_syscall_64+0x1b9/0x820 [ 64.762924] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 64.768273] ? syscall_return_slowpath+0x5e0/0x5e0 [ 64.773220] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 64.778064] ? trace_hardirqs_on_caller+0x310/0x310 [ 64.783065] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 64.788066] ? prepare_exit_to_usermode+0x291/0x3b0 [ 64.793065] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 64.797898] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 64.803136] RIP: 0033:0x43ec38 [ 64.806368] Code: Bad RIP value. [ 64.809730] RSP: 002b:00007ffd8eebba28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 64.817485] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ec38 [ 64.824743] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 64.831995] RBP: 00000000004be4e8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 64.839258] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 64.846507] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 64.853767] Modules linked in: [ 64.857550] ---[ end trace 616ad3e2e8f356ba ]--- [ 64.862322] RIP: 0010:__x86_indirect_thunk_rbx+0x10/0x20 [ 64.867825] Code: 90 0f ae e8 eb f9 48 89 04 24 c3 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 e8 07 00 00 00 f3 90 0f ae e8 eb f9 48 89 1c 24 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 e8 07 00 00 00 f3 [ 64.886906] RSP: 0018:ffff8801d7f872b0 EFLAGS: 00010293 [ 64.892262] RAX: ffff8801ba6406c0 RBX: 894cdffffc000000 RCX: ffffffff81ed555d [ 64.899588] RDX: 0000000000000000 RSI: ffffffff81ed5c9e RDI: ffff8801d7f87338 [ 64.906877] RBP: ffff8801d7f874a0 R08: ffff8801ba6406c0 R09: ffffed003b5c5b67 [ 64.914134] R10: ffffed003b5c5b67 R11: ffff8801dae2db3b R12: ffff8801d8e03d40 [ 64.921442] R13: ffff8801d7f87338 R14: 1ffff1003aff0e5b R15: dffffc0000000000 [ 64.928744] FS: 0000000001ab0880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 64.937016] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 64.942890] CR2: 000000000043ec0e CR3: 000000000946a000 CR4: 00000000001406f0 [ 64.950199] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 64.957475] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 64.964731] Kernel panic - not syncing: Fatal exception [ 64.971050] Kernel Offset: disabled [ 64.974684] Rebooting in 86400 seconds..