[....] 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.358836] kauditd_printk_skb: 7 callbacks suppressed [ 26.358846] audit: type=1800 audit(1541602996.111:29): pid=5502 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.385864] audit: type=1800 audit(1541602996.121:30): pid=5502 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.0.29' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 45.292521] kasan: CONFIG_KASAN_INLINE enabled [ 45.297277] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 45.304754] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 45.310986] CPU: 1 PID: 5657 Comm: syz-executor710 Not tainted 4.20.0-rc1-next-20181107+ #107 [ 45.319629] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.329112] RIP: 0010:locks_remove_flock+0x216/0x350 [ 45.334221] Code: 00 0f 85 3a 01 00 00 48 8b 5b 98 48 85 db 74 3a e8 1f 41 92 ff 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 17 01 00 00 48 8b 5b 08 48 85 db 74 0d e8 f2 40 [ 45.353113] RSP: 0018:ffff8801b9dc72c0 EFLAGS: 00010206 [ 45.358461] RAX: dffffc0000000000 RBX: 1ffff100373b8e89 RCX: ffffffff81ed555d [ 45.365711] RDX: 03fffe2006e771d2 RSI: ffffffff81ed5c71 RDI: 1ffff100373b8e91 [ 45.372963] RBP: ffff8801b9dc74a0 R08: ffff8801b9dbc480 R09: ffffed003b5e5b67 [ 45.380216] R10: ffffed003b5e5b67 R11: ffff8801daf2db3b R12: ffff8801d88f9c80 [ 45.387557] R13: ffff8801b9dc7338 R14: 1ffff100373b8e5b R15: dffffc0000000000 [ 45.394816] FS: 0000000000000000(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 45.403035] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.408899] CR2: 000000002001d000 CR3: 000000000946a000 CR4: 00000000001406e0 [ 45.416153] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 45.423408] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 45.430657] Call Trace: [ 45.433323] ? flock_lock_inode+0x11c0/0x11c0 [ 45.437826] ? mark_held_locks+0x130/0x130 [ 45.442054] ? unwind_dump+0x190/0x190 [ 45.445926] ? is_bpf_text_address+0xd3/0x170 [ 45.450406] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 45.454968] ? retint_kernel+0x2d/0x2d [ 45.458842] ? trace_hardirqs_on_caller+0xc0/0x310 [ 45.463760] ? __save_stack_trace+0x8d/0xf0 [ 45.468066] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 45.472808] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.478363] locks_remove_file+0x148/0x5c0 [ 45.482602] ? fcntl_setlk+0xfc0/0xfc0 [ 45.486490] ? fsnotify_first_mark+0x350/0x350 [ 45.491054] ? __fsnotify_parent+0xcc/0x420 [ 45.495361] ? perf_trace_sched_process_exec+0x860/0x860 [ 45.500795] ? fsnotify+0xf20/0xf20 [ 45.504427] ? __might_sleep+0x95/0x190 [ 45.508399] __fput+0x2f0/0xa70 [ 45.511671] ? get_max_files+0x20/0x20 [ 45.515655] ? trace_hardirqs_on+0xbd/0x310 [ 45.519981] ? kasan_check_read+0x11/0x20 [ 45.524121] ? task_work_run+0x1af/0x2a0 [ 45.528245] ? trace_hardirqs_off_caller+0x300/0x300 [ 45.533468] ____fput+0x15/0x20 [ 45.536735] task_work_run+0x1e8/0x2a0 [ 45.540612] ? task_work_cancel+0x240/0x240 [ 45.544923] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 45.550451] ? switch_task_namespaces+0x9d/0xd0 [ 45.555108] do_exit+0x1ad1/0x26d0 [ 45.558633] ? lock_downgrade+0x900/0x900 [ 45.562854] ? check_preemption_disabled+0x48/0x280 [ 45.567959] ? rcu_read_unlock_special+0x181/0x1c0 [ 45.572891] ? mm_update_next_owner+0x990/0x990 [ 45.577542] ? rcu_softirq_qs+0x20/0x20 [ 45.581501] ? rcu_softirq_qs+0x20/0x20 [ 45.585458] ? unwind_dump+0x190/0x190 [ 45.589333] ? is_bpf_text_address+0xd3/0x170 [ 45.593880] ? kernel_text_address+0x79/0xf0 [ 45.598283] ? __kernel_text_address+0xd/0x40 [ 45.602762] ? unwind_get_return_address+0x61/0xa0 [ 45.607685] ? __save_stack_trace+0x8d/0xf0 [ 45.611996] ? save_stack+0xa9/0xd0 [ 45.615665] ? save_stack+0x43/0xd0 [ 45.619294] ? __kasan_slab_free+0x102/0x150 [ 45.623685] ? kasan_slab_free+0xe/0x10 [ 45.627647] ? kmem_cache_free+0x83/0x290 [ 45.631789] ? locks_free_lock+0x295/0x420 [ 45.636186] ? __x64_sys_flock+0x289/0x350 [ 45.640463] ? do_syscall_64+0x1b9/0x820 [ 45.644524] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 45.649270] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 45.653845] ? retint_kernel+0x2d/0x2d [ 45.657723] ? trace_hardirqs_on_caller+0xc0/0x310 [ 45.662648] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 45.668084] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 45.673604] ? check_preemption_disabled+0x48/0x280 [ 45.678610] ? rcu_lockdep_current_cpu_online+0x1a4/0x210 [ 45.684142] ? rcu_pm_notify+0xc0/0xc0 [ 45.688015] ? locks_free_lock+0x295/0x420 [ 45.692240] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 45.696980] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 45.701544] ? retint_kernel+0x2d/0x2d [ 45.705547] ? trace_hardirqs_on_caller+0xc0/0x310 [ 45.710471] ? locks_free_lock+0x295/0x420 [ 45.714699] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 45.719570] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 45.725004] ? locks_mandatory_area+0x6a0/0x6a0 [ 45.729659] do_group_exit+0x177/0x440 [ 45.733527] ? __ia32_sys_exit+0x50/0x50 [ 45.737573] __x64_sys_exit_group+0x3e/0x50 [ 45.741894] do_syscall_64+0x1b9/0x820 [ 45.745781] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 45.751129] ? syscall_return_slowpath+0x5e0/0x5e0 [ 45.756040] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.760866] ? trace_hardirqs_on_caller+0x310/0x310 [ 45.765879] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 45.770892] ? prepare_exit_to_usermode+0x291/0x3b0 [ 45.775892] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.780721] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 45.785896] RIP: 0033:0x43ede8 [ 45.789085] Code: Bad RIP value. [ 45.792428] RSP: 002b:00007ffe7a46fe78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 45.800121] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ede8 [ 45.807381] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 45.814630] RBP: 00000000004beea8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 45.821878] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 45.829248] R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000 [ 45.836502] Modules linked in: [ 45.840370] ---[ end trace a84b3ae501385451 ]--- [ 45.845507] RIP: 0010:locks_remove_flock+0x216/0x350 [ 45.850616] Code: 00 0f 85 3a 01 00 00 48 8b 5b 98 48 85 db 74 3a e8 1f 41 92 ff 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 17 01 00 00 48 8b 5b 08 48 85 db 74 0d e8 f2 40 [ 45.869715] RSP: 0018:ffff8801b9dc72c0 EFLAGS: 00010206 [ 45.875274] RAX: dffffc0000000000 RBX: 1ffff100373b8e89 RCX: ffffffff81ed555d [ 45.882746] RDX: 03fffe2006e771d2 RSI: ffffffff81ed5c71 RDI: 1ffff100373b8e91 [ 45.890167] RBP: ffff8801b9dc74a0 R08: ffff8801b9dbc480 R09: ffffed003b5e5b67 [ 45.897520] R10: ffffed003b5e5b67 R11: ffff8801daf2db3b R12: ffff8801d88f9c80 [ 45.904864] R13: ffff8801b9dc7338 R14: 1ffff100373b8e5b R15: dffffc0000000000 [ 45.912176] FS: 000000000229b880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 45.920413] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.926334] CR2: 000000000043edbe CR3: 000000000946a000 CR4: 00000000001406e0 [ 45.934222] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 45.941608] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 45.948980] Kernel panic - not syncing: Fatal exception [ 45.955519] Kernel Offset: disabled [ 45.959146] Rebooting in 86400 seconds..